re PR tree-optimization/90856 (ICE: verify_gimple failed (error: incompatible types...
authorRichard Biener <rguenther@suse.de>
Thu, 13 Jun 2019 13:03:13 +0000 (13:03 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Thu, 13 Jun 2019 13:03:13 +0000 (13:03 +0000)
commit9bc83b61ff2b3353934704befe02c2262c48d2bc
treed62d7be7dce897a073877475825ae0e99570be7d
parent478cb3ce7efa71bf18f81dab37f562f7504c7e0f
re PR tree-optimization/90856 (ICE: verify_gimple failed (error: incompatible types in 'PHI' argument 1))

2019-06-13  Richard Biener  <rguenther@suse.de>

PR tree-optimization/90856
* tree-sra.c (build_ref_for_model): Only use
build_reconstructed_reference when address-spaces are the same.

* gcc.target/i386/pr90856.c: New testcase.

From-SVN: r272244
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/pr90856.c [new file with mode: 0644]
gcc/tree-sra.c