]> git.ipfire.org Git - thirdparty/gcc.git/commit
backport: re PR bootstrap/26998 (bootstrap failure building libdecnumber, ICE in...
authorRichard Guenther <rguenther@suse.de>
Wed, 16 May 2007 11:57:09 +0000 (11:57 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Wed, 16 May 2007 11:57:09 +0000 (11:57 +0000)
commitfcfea83a284c0b5840a19136f30d16ff14d73608
tree5d7c4e00b34ecba0c7b1a4db3b9d7256ee51578a
parentc76df0b00529d199bbcc836922f0d6ed2387b43d
backport: re PR bootstrap/26998 (bootstrap failure building libdecnumber, ICE in compare_values, tree-vrp.c:432)

2007-05-16  Richard Guenther  <rguenther@suse.de>

        Backport from mainline:
        2006-06-09  Richard Guenther  <rguenther@suse.de>

        PR tree-optimization/26998
        * tree-vrp.c (extract_range_from_unary_expr): For NEGATE_EXPR
        of signed types, only TYPE_MIN_VALUE is special, but for both,
        minimum and maximum value.  Likewise VR_ANTI_RANGE is special
        in this case, as is -fwrapv.

        * gcc.dg/torture/pr26998.c: New testcase.
        * gcc.dg/tree-ssa/vrp29.c: New testcase.

From-SVN: r124767
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/torture/pr26998.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/tree-ssa/vrp29.c [new file with mode: 0644]
gcc/tree-vrp.c