GCC trunk gets a ICE when building SPEC CPU2000 test 173.applu and several others with "-O2 -mvsx -mno-altivec -ftree-vectorize", as demonstrated by this minimized testcase:
subroutine ssor implicit real*8 (a-h,o-z) parameter (iar = 60) common/cgcon/ nx, ny, nz common/cvar/ u(5,iar,iar,iar), rsd(5,iar,iar,iar) common/ctscon/ itmax do istep = 1, itmax call jacld do k = 2, nz-1 do j = 2, ny-1 do i = 2, nx-1 do m = 1, 5 u( m, i, j, k ) = u( m, i, j, k ) $ + tmp * rsd( m, i, j, k ) end do end do end do end do end do return end elm3b149% /home/janis/tools/gcc-trunk-anonsvn/bin/gfortran -O2 -mvsx -mno-altivec -ftree-vectorize -c bug.f bug.f: In function ssor: bug.f:21:0: internal compiler error: in change_address_1, at emit-rtl.c:1912 Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions. VSX support is new in GCC 4.5 so this is not a regression from earlier releases. -- Summary: ICE in change_address_1 for 173.applu with -mvsx Product: gcc Version: 4.5.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P3 Component: target AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: janis at gcc dot gnu dot org GCC target triplet: powerpc64-linux http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42417