Found in
http://groups.google.com/group/comp.lang.fortran/browse_thread/thread/58d772090de9d1f4
Test case by Dick Hendrickson, gfortran tested by Ron Shepard.

The executable is OK, but gfortran prints a bogus warning:
  Warning: '&' not allowed by itself in line 2

(The run-time result is:
 Print rather a lot of ampersands &&&&&&&&&&&
)

  PRINT *, 'Print rather a lot of ampersands &&&&&
   &&&&&
   &&&&&'
   end


-- 
           Summary: Bogus warning for valid continuation lines
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: burnus at gcc dot gnu dot org


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

Reply via email to