public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug driver/17361] New: gcc driver complains about C++ options when assembling
@ 2004-09-08 21:33 markus at oberhumer dot com
  2004-09-09  3:13 ` [Bug other/17361] [3.3/3.4/3.5 Regression] " pinskia at gcc dot gnu dot org
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: markus at oberhumer dot com @ 2004-09-08 21:33 UTC (permalink / raw)
  To: gcc-bugs

gcc has always ignored C/C++ options when assembling, but apparently some new
checks for explicit C++ options do not follow this principle.

> touch a.s b.S

> gcc-2.95 -Wall -fno-rtti -fomit-frame-pointer -c a.s b.S

> g++-2.95 -Wall -fno-rtti -fomit-frame-pointer -c a.s b.S

> gcc-3.2 -Wall -fno-rtti -fomit-frame-pointer -c a.s b.S

> g++-3.2 -Wall -fno-rtti -fomit-frame-pointer -c a.s b.S

> gcc-3.4 -Wall -fno-rtti -fomit-frame-pointer -c a.s b.S
cc1: warning: command line option "-fno-rtti" is valid for C++/ObjC++ but not for C

> g++-3.4 -Wall -fno-rtti -fomit-frame-pointer -c a.s b.S
cc1: warning: command line option "-fno-rtti" is valid for C++/ObjC++ but not for C

-- 
           Summary: gcc driver complains about C++ options when assembling
           Product: gcc
           Version: 3.4.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: driver
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: markus at oberhumer dot com
                CC: gcc-bugs at gcc dot gnu dot org


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


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

end of thread, other threads:[~2005-04-30 13:54 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-09-08 21:33 [Bug driver/17361] New: gcc driver complains about C++ options when assembling markus at oberhumer dot com
2004-09-09  3:13 ` [Bug other/17361] [3.3/3.4/3.5 Regression] " pinskia at gcc dot gnu dot org
2004-10-11 17:13 ` [Bug other/17361] [3.3/3.4/4.0 " pinskia at gcc dot gnu dot org
2004-10-11 22:57 ` cvs-commit at gcc dot gnu dot org
2004-10-11 23:02 ` [Bug other/17361] [3.3/3.4 " pinskia at gcc dot gnu dot org
2004-10-14 21:43 ` cvs-commit at gcc dot gnu dot org
2004-10-14 21:46 ` [Bug other/17361] [3.3 " pinskia at gcc dot gnu dot org
2005-01-21  2:02 ` markus at oberhumer dot com
2005-04-30 13:54 ` gdr 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).