While rebuilding one of my programs with the new version of gfortran, I hit this error (This worked on an older version of gfortran)-
[dranta:~/tests] dir% gfortran -O3 -std=legacy -c ad78b.f ad78b.f: In function 'derv': ad78b.f:1: internal compiler error: in eliminate_temp_copies, at tree-predcom.c:1937 Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://gcc.gnu.org/bugs.html> for instructions. [dranta:~/tests] dir% cat ad78b.f subroutine derv (b,cosxy,thick) c common /shell1/ ield common /shell4/xji(3,3),p(3,32),h(32) c dimension cosxy(6,*), 1 thick(*),b(*) c do 130 k=1,ield do 125 i=1,3 b(k2+i)=b(k2+i) + (xji(i,1)*p(1,k) + xji(i,2)*p(2,k))*t 1 + xji(i,3)*h(k) th=0.5*thick(kk) b(k2+i+3)=b(k2+i+3) - th*cosxy(i+3,kk) 125 b(k2+i+6)=b(k2+i+6) + th*cosxy(i,kk) k2=k2 + 9 130 continue c c return end [dranta:~/tests] dir% gfortran --v Using built-in specs. Target: powerpc-apple-darwin8.9.0 Configured with: ../gcc/configure --enable-checking --disable-multilib --prefix=/usr/local/gfortran --enable-languages=c,fortran Thread model: posix gcc version 4.3.0 20070604 (experimental) -- Summary: internal compiler error: in eliminate_temp_copies, at tree-predcom.c:1937 Product: gcc Version: 4.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: dir at lanl dot gov GCC host triplet: powerpc-apple-darwin8.9.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32220