------- Comment #3 from jvdelisle at gcc dot gnu dot org  2008-01-25 03:37 
-------
I can reproduce this with the original test case. 

This snippet:

      IVAR1=1 ! "Unclassifiable statement" on this line
C
C
     IVAR2=0

In fixed form, the 'I' in IVAR2 is being interpreted as a continuation
character and "VAR2=0" is being appended to the statement above, making it
unclassifiable.

g77, intel ifort, and sun f95 also see it this way

The compilers frontend scanners generally remove all the comments and combine
the continuations as a first step before proceeding further, so the error
detection mechanisms can't see the problem.  My editor highlights those
continuation characters in a bright yellow so they are more obvious.

Frustrating for sure, but not a compiler bug.  Thanks for reporting, but I
think this is a "NOT A BUG"


-- 

jvdelisle at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID


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

Reply via email to