With the attached source, gcc version 4.2.0 20060524 (experimental) gets:
/usr/snp/bin/gfortran -S -O2 -ffast-math imhdiff4_pp.f
imhdiff4_pp.f: In function 'imhdiff4':
imhdiff4_pp.f:1: internal compiler error: in find_lattice_value, at
tree-complex.c:133
Note the use of -ffast-math - without it, there's no error.
--
Summary: ICE: in find_lattice_value, at tree-complex.c:133
Product: gcc
Version: 4.2.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: tree-optimization
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: toon at moene dot indiv dot nluug dot nl
GCC host triplet: x86_64-unknown-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27773