diff options
author | Jakub Jelinek <jakub@redhat.com> | 2010-08-12 17:21:34 +0200 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2010-08-12 17:21:34 +0200 |
commit | a8c56818780786dd56e9656ddfa9806da4387e9c (patch) | |
tree | 639f56221290e502c4e4cfc6c62da003331396f5 /gcc/fortran/cpp.c | |
parent | d2be8071543ab02afcf36637d0f02da2d51e3f41 (diff) | |
download | gcc-a8c56818780786dd56e9656ddfa9806da4387e9c.zip gcc-a8c56818780786dd56e9656ddfa9806da4387e9c.tar.gz gcc-a8c56818780786dd56e9656ddfa9806da4387e9c.tar.bz2 |
re PR middle-end/45262 (Optimization results in wrong result on expression x>>31||(-x)>>31)
PR middle-end/45262
* fold-const.c (make_range) <case NEGATE_EXPR>: Punt if
-a overflows. Normalize the range.
* gcc.c-torture/execute/pr45262.c: New test.
From-SVN: r163193
Diffstat (limited to 'gcc/fortran/cpp.c')
0 files changed, 0 insertions, 0 deletions