[Bug tree-optimization/59817] [4.8 Regression] ICE in extract_affine_chrec with -O2 -ftree-loop-linear
rguenth at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Apr 22 13:23:00 GMT 2014
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59817
--- Comment #9 from Richard Biener <rguenth at gcc dot gnu.org> ---
Author: rguenth
Date: Tue Apr 22 13:22:32 2014
New Revision: 209628
URL: http://gcc.gnu.org/viewcvs?rev=209628&root=gcc&view=rev
Log:
2014-04-22 Richard Biener <rguenther@suse.de>
Backport from mainline
2014-04-14 Richard Biener <rguenther@suse.de>
PR tree-optimization/59817
PR tree-optimization/60453
* graphite-scop-detection.c (graphite_can_represent_scev): Complete
recursion to catch all CHRECs in the scalar evolution and restrict
the predicate for the remains appropriately.
* gfortran.dg/graphite/pr59817.f: New testcase.
* gcc.dg/graphite/pr59817-1.c: Likewise.
* gcc.dg/graphite/pr59817-2.c: Likewise.
Added:
branches/gcc-4_9-branch/gcc/testsuite/gcc.dg/graphite/pr59817-1.c
branches/gcc-4_9-branch/gcc/testsuite/gcc.dg/graphite/pr59817-2.c
branches/gcc-4_9-branch/gcc/testsuite/gfortran.dg/graphite/pr59817.f
Modified:
branches/gcc-4_9-branch/gcc/ChangeLog
branches/gcc-4_9-branch/gcc/graphite-scop-detection.c
branches/gcc-4_9-branch/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list