tree-ssa-sccvn.c (visit_phi): Compare invariant addresses as base and offset.
authorRichard Biener <rguenther@suse.de>
Wed, 1 Aug 2018 12:03:29 +0000 (12:03 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Wed, 1 Aug 2018 12:03:29 +0000 (12:03 +0000)
commite4837aa9fbb91803585f038de67b0d62d256b654
treedeef5cb331e8d14f935a347904cbb33a90b96455
parent42c4ccce729ae19954160339aa2f20e9663408a5
tree-ssa-sccvn.c (visit_phi): Compare invariant addresses as base and offset.

2018-08-01  Richard Biener  <rguenther@suse.de>

* tree-ssa-sccvn.c (visit_phi): Compare invariant addresses
as base and offset.

* gcc.dg/tree-ssa/ssa-fre-68.c: New testcase.

From-SVN: r263206
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/tree-ssa/ssa-fre-68.c [new file with mode: 0644]
gcc/tree-ssa-sccvn.c