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:
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)
do istep = 1, itmax
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 )
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.
(In reply to comment #0)
> 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
-mvsx -mno-altivec should not be allowed as a compiler option.
*** This bug has been marked as a duplicate of 42416 ***