aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran/interface.c
diff options
context:
space:
mode:
authorMartin Sebor <msebor@redhat.com>2020-07-31 10:27:33 -0600
committerGiuliano Belinassi <giuliano.belinassi@usp.br>2020-08-17 13:20:23 -0300
commit23e5bcaf3b543567014b350948fefbc1ffc08b63 (patch)
treee73967d914ce39055c10ba0d473b9a037328dee7 /gcc/fortran/interface.c
parent62a4126874a51e9bc77676a28938e9927db97d75 (diff)
downloadgcc-23e5bcaf3b543567014b350948fefbc1ffc08b63.zip
gcc-23e5bcaf3b543567014b350948fefbc1ffc08b63.tar.gz
gcc-23e5bcaf3b543567014b350948fefbc1ffc08b63.tar.bz2
Set and test no-warning bit to avoid -Wnonnull for synthesized expressions.
Resolves: PR c++/96003 spurious -Wnonnull calling a member on the result of static_cast gcc/c-family/ChangeLog: PR c++/96003 * c-common.c (check_function_arguments_recurse): Return early when no-warning bit is set. gcc/cp/ChangeLog: PR c++/96003 * class.c (build_base_path): Set no-warning bit on the synthesized conditional expression in static_cast. gcc/testsuite/ChangeLog: PR c++/96003 * g++.dg/warn/Wnonnull7.C: New test.
Diffstat (limited to 'gcc/fortran/interface.c')
0 files changed, 0 insertions, 0 deletions