http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50718
Bug #: 50718 Summary: [4.6/4.7 Regression] ICE (fold_convert) with -fcheck=pointer Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P3 Component: fortran AssignedTo: unassig...@gcc.gnu.org ReportedBy: bur...@gcc.gnu.org FGSL version 0.9.3 from http://www.lrz.de/services/software/mathematik/gsl/fortran/ With gfortran 4.7 and with gfortran 4.6.1 20110801 (rev. 177033), I get: api/siman.finc:99:0: internal compiler error: in fold_convert_loc, at fold-const.c:2026 It works with 4.5.3 20110428 [rev. 173117]. #9 0x0000000000aeefab in build_array_type_1 (elt_type=0x2aaaaab48348, index_type=0x2aaaacf0d7e0, shared=true) at /home/tob/projects/gcc-git/gcc/gcc/tree.c:7373 #10 0x0000000000604285 in gfc_get_character_type_len_for_eltype (eltype=0x2aaaaab48348, len=<optimized out>) at /home/tob/projects/gcc-git/gcc/gcc/fortran/trans-types.c:977 #11 0x00000000006089a9 in gfc_sym_type (sym=0x2ad5780) at /home/tob/projects/gcc-git/gcc/gcc/fortran/trans-types.c:2050 #12 0x00000000005c112c in create_function_arglist (sym=0x1bcb3d0) at /home/tob/projects/gcc-git/gcc/gcc/fortran/trans-decl.c:2067