https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56459
Tobias Burnus <burnus at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |WONTFIX --- Comment #3 from Tobias Burnus <burnus at gcc dot gnu.org> --- Closed as WONTFIX For the IR, see http://j3-fortran.org/doc/year/14/14-006A.txt: ---------------------------------------------------------------- NUMBER: F08/0097 TITLE: Is the optional comma allowed in TYPE(CHARACTER*...)? KEYWORD: TYPE, CHARACTER DEFECT TYPE: Erratum STATUS: In F2008 Corrigendum 3 QUESTION: Consider CHARACTER*1, A TYPE(CHARACTER*1,) B The optional comma in the declaration of B looks ugly. Is this deliberate? ANSWER: No, this syntax was inadvertently allowed. An edit is provided to remove it. EDITS to 10-007r1: [51:26+] 4.3.1.1, after C406, insert new constraint "C406a (R403) In TYPE(<intrinsic-type-spec>) the <intrinsic-type-spec> shall not end with a comma." SUBMITTED BY: Malcolm Cohen HISTORY: 13-285 m201 F08/0097 submitted - passed by J3 meeting 13-313 m202 Passed by J3 letter ballot 13-297 N1994 m202 Passed by WG5 ballot 7 N1991/92/94 N2002 m203 In F2008 Corrigendum 3