aboutsummaryrefslogtreecommitdiff
path: root/gcc/ChangeLog
diff options
context:
space:
mode:
authorJeff Law <law@redhat.com>2005-07-13 10:31:23 -0600
committerJeff Law <law@gcc.gnu.org>2005-07-13 10:31:23 -0600
commit59f7a2023f89b0405726d42a2391bb12efb1458c (patch)
tree74485a550b11de6d6b4c0f96a5a04ad88b50adb4 /gcc/ChangeLog
parent4969c0d82c8bc9a2815883e3c968d81287c83483 (diff)
downloadgcc-59f7a2023f89b0405726d42a2391bb12efb1458c.zip
gcc-59f7a2023f89b0405726d42a2391bb12efb1458c.tar.gz
gcc-59f7a2023f89b0405726d42a2391bb12efb1458c.tar.bz2
fold-const.c (fold_binary): When comparing two simple ADDR_EXPR expressions...
* fold-const.c (fold_binary): When comparing two simple ADDR_EXPR expressions, test their _DECL operands for pointer equality rather than using operand_equal_p. * gcc.dg/tree-ssa/pr22321.c: New test. From-SVN: r101974
Diffstat (limited to 'gcc/ChangeLog')
-rw-r--r--gcc/ChangeLog6
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 03ca42b..622cec8 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,9 @@
+2005-07-13 Jeff Law <law@redhat.com>
+
+ * fold-const.c (fold_binary): When comparing two simple ADDR_EXPR
+ expressions, test their _DECL operands for pointer equality rather
+ than using operand_equal_p.
+
2005-07-13 H.J. Lu <hongjiu.lu@intel.com>
* config/alpha/linux.h (TARGET_HAS_F_SETLKW): Renamed to ...