------- Comment #2 from janis at gcc dot gnu dot org 2010-01-06 18:48 -------
The patch at http://gcc.gnu.org/ml/gcc-patches/2009-12/msg01209.html fixes the
testcase in the submitter's description, but there is code in CPU2000 test
200.sixtrack that triggers the same ICE with the same set of options, as shown
by this minimized testcase:
subroutine distance(x,clo)
implicit real*8 (a-h,o-z)
dimension x(2,6),x1(2,6),clo(6)
do 60 i=1,2
do 20 j=1,6
x(i,j)=clo(j)
20 continue
do 40 iq=1,6
x1(i,iq)=0.0d0
40 continue
do 50 j=1,6
x(i,j)=x1(i,j)
50 continue
60 continue
return
end
This testcase gets the ICE with and without the patch cited above.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42246