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
This commit is contained in:
Richard Biener 2015-07-30 07:09:20 +00:00 committed by Richard Biener
parent 4fdfdd4f1b
commit f501d5cd99
2 changed files with 7 additions and 1 deletions

View File

@ -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

View File

@ -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;