------- Comment #14 from jvdelisle at gcc dot gnu dot org 2006-10-20 03:54 ------- Another test case with similar error:
program friend character*20 y, x 0 data y /'abcdef'/, x /'jbnhjk'/ o print *, "basketcase" end program friend $ gfc pr27954.f90 In file pr27954.f90:2 character*20 y, x 0 1 Error: Syntax error in data declaration at (1) In file pr27954.f90:3 data y /'abcdef'/, x /'jbnhjk'/ o 1 Error: Syntax error in DATA statement at (1) In file pr27954.f90:6 end program friend 1 Internal Error at (1): gfc_typespec(): Undefined type This actually is error in gfc_typename () The error message has a typo in it. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27954