re PR tree-optimization/56049 (Simplification to constants not done)
authorRichard Biener <rguenther@suse.de>
Tue, 16 Apr 2019 07:55:41 +0000 (07:55 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Tue, 16 Apr 2019 07:55:41 +0000 (07:55 +0000)
commit8c996ec644d4dfa8d067f822ba63b3e4a3a17ef8
tree1cbc2c80ede9e67a31e5a00d72cb176dda0fbced
parent5d71d6f24fee0385acfec934d4337061eb863c0f
re PR tree-optimization/56049 (Simplification to constants not done)

2019-04-16  Richard Biener  <rguenther@suse.de>

PR tree-optimization/56049
* tree-ssa-loop-im.c (mem_ref_hasher::equal): Elide alias-set
equality check if alias-set zero will prevail.

* gfortran.dg/pr56049.f90: New testcase.

From-SVN: r270378
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/pr56049.f90 [new file with mode: 0644]
gcc/tree-ssa-loop-im.c