https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68568
Bug ID: 68568 Summary: ICE with automatic character object and save, in combination with some options Product: gcc Version: 5.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: gerhard.steinmetz.fort...@t-online.de Target Milestone: --- Compiling with "-finit-character" gives an internal error here : $ cat z1a.f90 subroutine s(n) integer, intent(in) :: n character(n) :: x save x = 'a' end $ gfortran -finit-character=7 -c z1a.f90 z1a.f90:1:0: subroutine s(n) 1 internal compiler error: in gfc_get_symbol_decl, at fortran/trans-decl.c:1575 $ gfortran -Wall -finit-character=7 -c z1a.f90 f951: internal compiler error: Segmentation fault # effectivly: $ gfortran -Wsurprising -finit-character=7 -c z1a.f90 f951: internal compiler error: Segmentation fault