http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60561
Bug ID: 60561 Summary: ICE in gimplify_var_or_parm_decl, at gimplify.c:1721 for gfortran.dg/associate_1.f03 Product: gcc Version: 4.9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: burnus at gcc dot gnu.org A similar backtrace one gets for PR c++/58907. Compiling the testsuite's gfortran.dg/associate_1.f03 with "gfortran" leads to an ICE. The is no ICE if one runs "gfortran -std=f2003 -fall-intrinsics -cpp associate_1.f03" as it is done in the test suite itself. $ gfortran associate_1.f03 Warning: associate_1.f03:97: Illegal preprocessor directive Warning: associate_1.f03:112: Illegal preprocessor directive associate_1.f03: In function ‘test_char’: associate_1.f03:104:0: internal compiler error: in gimplify_var_or_parm_decl, at gimplify.c:1721 str = "foobar" ^ 0x8a998a gimplify_var_or_parm_decl ../../gcc/gimplify.c:1721 0x8b0424 gimplify_expr(tree_node**, gimple_statement_base**, gimple_statement_base**, bool (*)(tree_node*), int) ../../gcc/gimplify.c:7879 0x8b8edd gimplify_addr_expr ../../gcc/gimplify.c:4801