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

            Bug ID: 61028
           Summary: [4.9/4.10 Regression] -g3 -g leads to spurious
                    warnings
           Product: gcc
           Version: 4.9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: driver
          Assignee: unassigned at gcc dot gnu.org
          Reporter: Joost.VandeVondele at mat dot ethz.ch

With gcc 4.9 and 4.10 the following leads to unexpected warnings. It is
triggered by the sequence '-g3 -g'

> cat test.F
#if 1
 WRITE(6,*) "Hello, world!"
#endif
END

> gfortran -g3 -g -c -ffree-form test.F
Warning: <built-in>:1: Illegal preprocessor directive
Warning: <built-in>:2: Illegal preprocessor directive
Warning: <built-in>:3: Illegal preprocessor directive
Warning: <built-in>:4: Illegal preprocessor directive
[...]

Reply via email to