[Bug fortran/69859] ICE on incomplete character declaration statement

gerhard.steinmetz.fortran@t-online.de gcc-bugzilla@gcc.gnu.org
Wed Feb 17 19:24:00 GMT 2016


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69859

--- Comment #1 from Gerhard Steinmetz <gerhard.steinmetz.fortran@t-online.de> ---
Some other variants :


$ cat z3.f90
program p
   type t
      character a ,
      character b =
      character c :
      character d +
      character e .
      character f %
      !...
   end type
end


$ cat z5.f90
program p
   type t
      character, allocatable :: x(:) y(:)
   end type
end


$ gfortran-6 z3.f90
#...
Error: Syntax error in data declaration at (1)
f951: internal compiler error: gfc_is_constant_expr(): Unknown expression type


More information about the Gcc-bugs mailing list