Test gfortran.dg/char_transpose_1.f90 fails on mainline for powerpc-unknown-linux-gnu with optimization:
/home/gccbuild/gcc_trunk_anonsvn/gcc/gcc/testsuite/gfortran.dg/char_transpose_1.f90:9: internal compiler error: in gfc_conv_array_transpose, at fortran/trans-array.c:726^M Please submit a full bug report,^M with preprocessed source if appropriate.^M See <URL:http://gcc.gnu.org/bugs.html> for instructions.^M A regression hunt identified this patch: r112955 | kazu | 2006-04-14 14:31:32 +0000 (Fri, 14 Apr 2006) | 8 lines * local-alloc.c (rest_of_handle_local_alloc): Use VEC instead of VARRAY. * reload1.c (reg_equiv_memory_loc_varray): Rename to reg_equiv_memory_loc_vec. Change the type to VEC(rtx,gc) *. (init_reload, reload): Use VEC instead of VARRAY. * reload.h: Update the prototype for reg_equiv_memory_loc_varray. http://gcc.gnu.org/viewcvs?view=rev&rev=112955 That seemed unlikely so I tried reverting that patch from today's mainline, and it did indeed allow the test to pass. The same ICE is reported in PR26119, filed 2006-02-06. -- Summary: char_transpose_1.f90 fails with ICE in gfc_conv_array_transpose Product: gcc Version: 4.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: janis at gcc dot gnu dot org GCC target triplet: powerpc-unknown-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27229