aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran/trans-array.c
diff options
context:
space:
mode:
authorAldy Hernandez <aldyh@redhat.com>2021-05-27 09:32:42 +0200
committerAldy Hernandez <aldyh@redhat.com>2021-05-27 09:32:42 +0200
commit95bef94c6c6c6cb7bf640068aea77c209bca7c65 (patch)
tree5731636608fd695c1d8ac22a26e9e0a775911b0c /gcc/fortran/trans-array.c
parent04ba00d4ed735242c5284d2c623a3a9d42d94742 (diff)
downloadgcc-95bef94c6c6c6cb7bf640068aea77c209bca7c65.zip
gcc-95bef94c6c6c6cb7bf640068aea77c209bca7c65.tar.gz
gcc-95bef94c6c6c6cb7bf640068aea77c209bca7c65.tar.bz2
Tweak Wstringop-overflow-55.c test.
On x86-32 warn_ptrdiff_anti_range_add() and warn_int_anti_range() degrade to the same function so ICF is folding the latter into a call into the former. This is causing no warnings to be emitted for warn_int_anti_range. Fixed by passing -fno-ipa-icf. gcc/testsuite/ChangeLog: * gcc.dg/Wstringop-overflow-55.c: Pass -fno-ipa-icf.
Diffstat (limited to 'gcc/fortran/trans-array.c')
0 files changed, 0 insertions, 0 deletions