public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug driver/61028] New: [4.9/4.10 Regression] -g3 -g leads to spurious warnings
@ 2014-05-01 12:04 Joost.VandeVondele at mat dot ethz.ch
  2014-05-05  9:10 ` [Bug driver/61028] " rguenth at gcc dot gnu.org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Joost.VandeVondele at mat dot ethz.ch @ 2014-05-01 12:04 UTC (permalink / raw)
  To: gcc-bugs

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
[...]


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug driver/61028] [4.9/4.10 Regression] -g3 -g leads to spurious warnings
  2014-05-01 12:04 [Bug driver/61028] New: [4.9/4.10 Regression] -g3 -g leads to spurious warnings Joost.VandeVondele at mat dot ethz.ch
@ 2014-05-05  9:10 ` rguenth at gcc dot gnu.org
  2014-05-08  8:00 ` [Bug fortran/61028] " Joost.VandeVondele at mat dot ethz.ch
  2014-05-09 13:53 ` dominiq at lps dot ens.fr
  2 siblings, 0 replies; 4+ messages in thread
From: rguenth at gcc dot gnu.org @ 2014-05-05  9:10 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.9.1


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug fortran/61028] [4.9/4.10 Regression] -g3 -g leads to spurious warnings
  2014-05-01 12:04 [Bug driver/61028] New: [4.9/4.10 Regression] -g3 -g leads to spurious warnings Joost.VandeVondele at mat dot ethz.ch
  2014-05-05  9:10 ` [Bug driver/61028] " rguenth at gcc dot gnu.org
@ 2014-05-08  8:00 ` Joost.VandeVondele at mat dot ethz.ch
  2014-05-09 13:53 ` dominiq at lps dot ens.fr
  2 siblings, 0 replies; 4+ messages in thread
From: Joost.VandeVondele at mat dot ethz.ch @ 2014-05-08  8:00 UTC (permalink / raw)
  To: gcc-bugs

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

Joost VandeVondele <Joost.VandeVondele at mat dot ethz.ch> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |Joost.VandeVondele at mat dot ethz
                   |                            |.ch
          Component|driver                      |fortran

--- Comment #1 from Joost VandeVondele <Joost.VandeVondele at mat dot ethz.ch> ---
this seems Fortran specific, so changing component. The content of the Fortran
file doesn't matter, it is sufficient to compile with '-g3 -g -cpp'


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug fortran/61028] [4.9/4.10 Regression] -g3 -g leads to spurious warnings
  2014-05-01 12:04 [Bug driver/61028] New: [4.9/4.10 Regression] -g3 -g leads to spurious warnings Joost.VandeVondele at mat dot ethz.ch
  2014-05-05  9:10 ` [Bug driver/61028] " rguenth at gcc dot gnu.org
  2014-05-08  8:00 ` [Bug fortran/61028] " Joost.VandeVondele at mat dot ethz.ch
@ 2014-05-09 13:53 ` dominiq at lps dot ens.fr
  2 siblings, 0 replies; 4+ messages in thread
From: dominiq at lps dot ens.fr @ 2014-05-09 13:53 UTC (permalink / raw)
  To: gcc-bugs

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

Dominique d'Humieres <dominiq at lps dot ens.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2014-05-09
     Ever confirmed|0                           |1

--- Comment #2 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
r205111 is OK, r205305 gives the spurious warnings.

I remember some posts about the order of -gx -gy, but cannot find it right now.


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-05-09 13:53 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-05-01 12:04 [Bug driver/61028] New: [4.9/4.10 Regression] -g3 -g leads to spurious warnings Joost.VandeVondele at mat dot ethz.ch
2014-05-05  9:10 ` [Bug driver/61028] " rguenth at gcc dot gnu.org
2014-05-08  8:00 ` [Bug fortran/61028] " Joost.VandeVondele at mat dot ethz.ch
2014-05-09 13:53 ` dominiq at lps dot ens.fr

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).