http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45965
Dominique d'Humieres <dominiq at lps dot ens.fr> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at redhat dot com --- Comment #8 from Dominique d'Humieres <dominiq at lps dot ens.fr> 2010-12-20 10:52:14 UTC --- Since the patch in comment #3 is doing changes in gcc/tree-scalar-evolution.c, revision 168027 seems to be the best candidate (although I don't know enough to rule out r168034 or even r168031): Revision 168027 Jump to revision: Author: jakub Date: Sat Dec 18 18:15:10 2010 UTC (40 hours, 30 minutes ago) Changed paths: 4 Log Message: PR tree-optimization/46985 * tree-scalar-evolution.c (instantiate_scev_r): If chrec is NULL, return it immediately. * gfortran.dg/pr46985.f90: New test. Changed paths: Path Details trunk/gcc/ChangeLog modified , text changed trunk/gcc/testsuite/ChangeLog modified , text changed trunk/gcc/testsuite/gfortran.dg/pr46985.f90 added trunk/gcc/tree-scalar-evolution.c modified , text changed