When I compile the program listed below I get the message:

Warning: '&' not allowed by itself in line 4

The other compilers I tried do not print any messages.

PROGRAM print_ascertain
CHARACTER (LEN=20) :: str
str = "Hello world &
& &
&"
END PROGRAM print_ascertain


-- 
           Summary: Is this continuation line legal?
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: michael dot a dot richmond at nasa dot gov


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31495

Reply via email to