public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/13008] New: option valid for Fortran but not the selected language
@ 2003-11-11 10:44 edwardss at whl dot co dot uk
2003-11-12 1:07 ` [Bug fortran/13008] " pinskia at gcc dot gnu dot org
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: edwardss at whl dot co dot uk @ 2003-11-11 10:44 UTC (permalink / raw)
To: gcc-bugs
Specifying the following options with g77 generates the message
cc1: warning: ignoring command line option '-Wsurprising'
cc1: warning: (it is valid for Fortran but not the selected language)
Known to occur for -Wsurprising, -fno-f2c and -ffortran-bounds-check
Also occurs with builds on rs6000-ibm-aix4.3.2.0 and others.
--
Summary: option valid for Fortran but not the selected language
Product: gcc
Version: 3.3.2
Status: UNCONFIRMED
Severity: minor
Priority: P2
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: edwardss at whl dot co dot uk
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: i686-pc-linux-gnu
GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13008
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug fortran/13008] option valid for Fortran but not the selected language
2003-11-11 10:44 [Bug fortran/13008] New: option valid for Fortran but not the selected language edwardss at whl dot co dot uk
@ 2003-11-12 1:07 ` pinskia at gcc dot gnu dot org
2003-11-12 9:48 ` edwardss at whl dot co dot uk
2003-11-15 9:23 ` [Bug preprocessor/13008] " pinskia at gcc dot gnu dot org
2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-11-12 1:07 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2003-11-12 01:07 -------
What command line are you trying to invoke g77 with?
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |WAITING
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13008
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug fortran/13008] option valid for Fortran but not the selected language
2003-11-11 10:44 [Bug fortran/13008] New: option valid for Fortran but not the selected language edwardss at whl dot co dot uk
2003-11-12 1:07 ` [Bug fortran/13008] " pinskia at gcc dot gnu dot org
@ 2003-11-12 9:48 ` edwardss at whl dot co dot uk
2003-11-15 9:23 ` [Bug preprocessor/13008] " pinskia at gcc dot gnu dot org
2 siblings, 0 replies; 4+ messages in thread
From: edwardss at whl dot co dot uk @ 2003-11-12 9:48 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From edwardss at whl dot co dot uk 2003-11-12 09:48 -------
Subject: Re: option valid for Fortran but not the
selected language
On Wed, 2003-11-12 at 01:07, pinskia at gcc dot gnu dot org wrote:
>
> ------- Additional Comments From pinskia at gcc dot gnu dot org 2003-11-12 01:07 -------
> What command line are you trying to invoke g77 with?
Typical invocation to cause the warnings to appear would be:
g77 -W -Wall -Wsurprising -O2 -ffloat-store \
-ffortran-bounds-check -fno-f2c -xf77-cpp-input -c \
../../src/source1.f
>
> --
> What |Removed |Added
> ----------------------------------------------------------------------------
> Status|UNCONFIRMED |WAITING
>
>
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13008
>
> ------- You are receiving this mail because: -------
> You reported the bug, or are watching the reporter.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13008
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug preprocessor/13008] option valid for Fortran but not the selected language
2003-11-11 10:44 [Bug fortran/13008] New: option valid for Fortran but not the selected language edwardss at whl dot co dot uk
2003-11-12 1:07 ` [Bug fortran/13008] " pinskia at gcc dot gnu dot org
2003-11-12 9:48 ` edwardss at whl dot co dot uk
@ 2003-11-15 9:23 ` pinskia at gcc dot gnu dot org
2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-11-15 9:23 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2003-11-15 09:23 -------
If you do not include -W, cc1 will not warn for some reason but this is already fixed on the
mainline by the new option handling code.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |RESOLVED
Component|fortran |preprocessor
Resolution| |FIXED
Target Milestone|--- |3.4
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13008
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2003-11-15 9:23 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-11-11 10:44 [Bug fortran/13008] New: option valid for Fortran but not the selected language edwardss at whl dot co dot uk
2003-11-12 1:07 ` [Bug fortran/13008] " pinskia at gcc dot gnu dot org
2003-11-12 9:48 ` edwardss at whl dot co dot uk
2003-11-15 9:23 ` [Bug preprocessor/13008] " pinskia at gcc dot gnu dot org
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).