aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2015-07-30 07:09:20 +0000
committerRichard Biener <rguenth@gcc.gnu.org>2015-07-30 07:09:20 +0000
commitf501d5cd994edf4e82f54d68971fb6b3b0ff37a3 (patch)
tree96bac93cf6cf2c387135cc937508c03c9412f40a /gcc
parent4fdfdd4f1bc3ad199abac6876d7228ccd30dc71e (diff)
downloadgcc-f501d5cd994edf4e82f54d68971fb6b3b0ff37a3.zip
gcc-f501d5cd994edf4e82f54d68971fb6b3b0ff37a3.tar.gz
gcc-f501d5cd994edf4e82f54d68971fb6b3b0ff37a3.tar.bz2
re PR middle-end/67053 (FAIL: experimental/optional/constexpr/make_optional.cc)
2015-07-30 Richard Biener <rguenther@suse.de> PR middle-end/67053 * match.pd: Allow both operands to independently have conversion when simplifying compares of addresses. From-SVN: r226384
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/match.pd2
2 files changed, 7 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index d1a9600..6864cae 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,9 @@
+2015-07-30 Richard Biener <rguenther@suse.de>
+
+ PR middle-end/67053
+ * match.pd: Allow both operands to independently have conversion
+ when simplifying compares of addresses.
+
2015-07-29 Segher Boessenkool <segher@kernel.crashing.org>
PR target/66217
diff --git a/gcc/match.pd b/gcc/match.pd
index bc38c22..fe53c90 100644
--- a/gcc/match.pd
+++ b/gcc/match.pd
@@ -1814,7 +1814,7 @@ along with GCC; see the file COPYING3. If not see
enough to make fold_stmt not regress when not dispatching to fold_binary. */
(for cmp (simple_comparison)
(simplify
- (cmp (convert?@2 addr@0) (convert? addr@1))
+ (cmp (convert1?@2 addr@0) (convert2? addr@1))
(with
{
HOST_WIDE_INT off0, off1;