re PR middle-end/80539 (gcc ICE at -O2 and above on valid code on x86_64-linux-gnu...
authorRichard Biener <rguenther@suse.de>
Thu, 27 Apr 2017 11:42:57 +0000 (11:42 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Thu, 27 Apr 2017 11:42:57 +0000 (11:42 +0000)
commit1b7c8d39fb9f98a73adfd125b5f3b768c6401cd2
tree0162d1c63f240c0d17e565190baaf3fa6ffa4ea4
parenta6d25cadecc8f573fa66131b8a89c9047d596794
re PR middle-end/80539 (gcc ICE at -O2 and above on valid code on x86_64-linux-gnu in "chrec_fold_plus_poly_poly")

2017-04-27  Richard Biener  <rguenther@suse.de>

PR middle-end/80539
* tree-chrec.c (chrec_fold_plus_poly_poly): Deal with not
being in loop-closed SSA form conservatively.
(chrec_fold_multiply_poly_poly): Likewise.

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

From-SVN: r247322
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/torture/pr80539.c [new file with mode: 0644]
gcc/tree-chrec.c