re PR middle-end/67120 (wrong code for volatile pointers at -O1 and above on x86_64...
authorRichard Biener <rguenther@suse.de>
Wed, 5 Aug 2015 12:47:59 +0000 (12:47 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Wed, 5 Aug 2015 12:47:59 +0000 (12:47 +0000)
commitaad88aede922888994eda29d6847cf557b50a7fd
treec4aabb2ce87b4f5277f4d87510ea485c7b131b56
parenta56ea54ab05e657c9a140b0e14d6a7e576aa58c2
re PR middle-end/67120 (wrong code for volatile pointers at -O1 and above on x86_64-linux-gnu)

2015-08-05  Richard Biener  <rguenther@suse.de>

PR middle-end/67120
* match.pd: Compare address bases with == if they are decls
or SSA names, not operand_equal_p.  Otherwise fail.

* gcc.dg/torture/pr67120.c: New testcase.

From-SVN: r226623
gcc/ChangeLog
gcc/match.pd
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/torture/pr67120.c [new file with mode: 0644]