aboutsummaryrefslogtreecommitdiff
path: root/gcc/ifcvt.c
diff options
context:
space:
mode:
authorMarkus Trippelsdorf <markus@trippelsdorf.de>2014-09-30 07:07:55 +0000
committerMarkus Trippelsdorf <trippels@gcc.gnu.org>2014-09-30 07:07:55 +0000
commit4176084b61c55045e4ac47c1b8794292f61b44e1 (patch)
treef7674b307aebc628adf661a398bf3c3a990f9d10 /gcc/ifcvt.c
parentff5101bf0dd39a12e9d5a40b2bfafee9248307a4 (diff)
downloadgcc-4176084b61c55045e4ac47c1b8794292f61b44e1.zip
gcc-4176084b61c55045e4ac47c1b8794292f61b44e1.tar.gz
gcc-4176084b61c55045e4ac47c1b8794292f61b44e1.tar.bz2
Fix signed integer overflow in data-streamer.c
Running the testsuite with a -fsanitize=undefined instrumented compiler shows: % gcc -O2 -flto -fno-use-linker-plugin -flto-partition=none testsuite/gcc.dg/torture/pr28045.c gcc/data-streamer.c:113:45: runtime error: negation of -9223372036854775808 cannot be represented in type 'long int'; cast to an unsigned type to negate this value to itself The fix is obvious. From-SVN: r215706
Diffstat (limited to 'gcc/ifcvt.c')
0 files changed, 0 insertions, 0 deletions