diff options
author | pfg <pfg@FreeBSD.org> | 2013-11-14 20:21:05 +0000 |
---|---|---|
committer | pfg <pfg@FreeBSD.org> | 2013-11-14 20:21:05 +0000 |
commit | 64d7b3a621ad68a76491cebb9fb96b7c349668a0 (patch) | |
tree | 219a025d1231840f394c1904c2916a1bdaf014ed /contrib/gcc | |
parent | e48ac6d9c4fd04fdc32328238a313d7e2b082307 (diff) | |
download | FreeBSD-src-64d7b3a621ad68a76491cebb9fb96b7c349668a0.zip FreeBSD-src-64d7b3a621ad68a76491cebb9fb96b7c349668a0.tar.gz |
Merge vrp-tree fix from gcc-4.3
Fix missed conversion from / to >> (GCC PR32521)
Note that vrp-tree is currently disabled by default in
FreeBSD's gcc due many bugs.
While here fix a revision number in the 4.3 Changelog.
Obtained from: gcc 4.3 (rev. 122831 - partial; GPLv2)
MFC after: 3 weeks
Diffstat (limited to 'contrib/gcc')
-rw-r--r-- | contrib/gcc/ChangeLog.gcc43 | 7 | ||||
-rw-r--r-- | contrib/gcc/tree-vrp.c | 2 |
2 files changed, 7 insertions, 2 deletions
diff --git a/contrib/gcc/ChangeLog.gcc43 b/contrib/gcc/ChangeLog.gcc43 index 491c89d..8017838 100644 --- a/contrib/gcc/ChangeLog.gcc43 +++ b/contrib/gcc/ChangeLog.gcc43 @@ -1,4 +1,4 @@ -2007-06-05 Joerg Wunsch <j.gnu@uriah.heep.sax.de> (r23479) +2007-06-05 Joerg Wunsch <j.gnu@uriah.heep.sax.de> (r125346) PR preprocessor/23479 * doc/extend.texi: Document the 0b-prefixed binary integer @@ -49,6 +49,11 @@ * config/i386/i386.c (override_options): Likewise. * doc/invoke.texi: Likewise. +2007-03-11 Ian Lance Taylor <iant@google.com> (r122831 - partial) + + * tree-vrp.c (vrp_int_const_binop): Handle PLUS_EXPR and + the *_DIV_EXPR codes correctly with overflow infinities. + 2007-02-09 Dwarakanath Rajagopal <dwarak.rajagopal@amd.com> (r121763) * config/i386/driver-i386.c: Turn on -mtune=native for AMDFAM10. diff --git a/contrib/gcc/tree-vrp.c b/contrib/gcc/tree-vrp.c index 4626485..0c9824d 100644 --- a/contrib/gcc/tree-vrp.c +++ b/contrib/gcc/tree-vrp.c @@ -4914,7 +4914,7 @@ simplify_div_or_mod_using_ranges (tree stmt, tree rhs, enum tree_code rhs_code) { bool sop = false; - val = compare_range_with_value (GT_EXPR, vr, integer_zero_node, &sop); + val = compare_range_with_value (GE_EXPR, vr, integer_zero_node, &sop); if (val && sop |