fortran/3681: Problem preprocecisng a fortran source code with cpp

jmlloren@uv.es jmlloren@uv.es
Fri Jul 13 11:06:00 GMT 2001


>Number:         3681
>Category:       fortran
>Synopsis:       Problem preprocecisng a fortran source code with cpp
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jul 13 11:06:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     jmlloren@uv.es
>Release:        GNUCPP version 2.96 20000731 (Linux-Mandrake 8.0 2.96-0.48mdk)
>Organization:
>Environment:

>Description:
Preprocesing this simple code with cpp 

      program total
 
 
      write(6,'(''Warning specified for '',''optimisation ****'')')
      write(6,'(''  **** A single point energy calculation to '',
     &  ''be performed ****'')')
 
      end

I find the following problem:

1.f:5:66: missing terminating ' character
1.f:6:33: missing terminating ' character

Lines 4 and 5-6 are equal, but the cpp do not recognice the
broken line. When I copile with g77, I don't find any problem.

>How-To-Repeat:

>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the Gcc-bugs mailing list