public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug driver/47927] New: GCC driver accepts bogus compiler options on assembly input
@ 2011-02-28 18:23 hjl.tools at gmail dot com
  2011-02-28 21:19 ` [Bug driver/47927] " joseph at codesourcery dot com
  2011-03-23  0:32 ` jsm28 at gcc dot gnu.org
  0 siblings, 2 replies; 3+ messages in thread
From: hjl.tools at gmail dot com @ 2011-02-28 18:23 UTC (permalink / raw)
  To: gcc-bugs

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

           Summary: GCC driver accepts bogus compiler options on assembly
                    input
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: driver
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: hjl.tools@gmail.com
                CC: jsm28@gcc.gnu.org


[intel64corei7@gnu-34 gcc]$ touch x.s
[intel64corei7@gnu-34 gcc]$ ./xgcc -B./ -mfoobar x.s -c
[intel64corei7@gnu-34 gcc]$


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

* [Bug driver/47927] GCC driver accepts bogus compiler options on assembly input
  2011-02-28 18:23 [Bug driver/47927] New: GCC driver accepts bogus compiler options on assembly input hjl.tools at gmail dot com
@ 2011-02-28 21:19 ` joseph at codesourcery dot com
  2011-03-23  0:32 ` jsm28 at gcc dot gnu.org
  1 sibling, 0 replies; 3+ messages in thread
From: joseph at codesourcery dot com @ 2011-02-28 21:19 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from joseph at codesourcery dot com <joseph at codesourcery dot com> 2011-02-28 20:35:15 UTC ---
This (the general issue of invalid options being accepted because some 
spec passes them down to some subprocess or otherwise accepts them) is 
what my 4.7 patch 
<http://gcc.gnu.org/ml/gcc-patches/2011-02/msg01486.html> is intended to 
fix.


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

* [Bug driver/47927] GCC driver accepts bogus compiler options on assembly input
  2011-02-28 18:23 [Bug driver/47927] New: GCC driver accepts bogus compiler options on assembly input hjl.tools at gmail dot com
  2011-02-28 21:19 ` [Bug driver/47927] " joseph at codesourcery dot com
@ 2011-03-23  0:32 ` jsm28 at gcc dot gnu.org
  1 sibling, 0 replies; 3+ messages in thread
From: jsm28 at gcc dot gnu.org @ 2011-03-23  0:32 UTC (permalink / raw)
  To: gcc-bugs

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

Joseph S. Myers <jsm28 at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |4.7.0

--- Comment #2 from Joseph S. Myers <jsm28 at gcc dot gnu.org> 2011-03-23 00:20:34 UTC ---
Should be fixed by:

2011-03-22  Joseph Myers  <joseph@codesourcery.com>

        * gcc.c (driver_unknown_option_callback): Only permit and save
        unknown -Wno- options.
        (driver_wrong_lang_callback): Save options directly instead of via
        driver_unknown_option_callback.


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

end of thread, other threads:[~2011-03-23  0:21 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-02-28 18:23 [Bug driver/47927] New: GCC driver accepts bogus compiler options on assembly input hjl.tools at gmail dot com
2011-02-28 21:19 ` [Bug driver/47927] " joseph at codesourcery dot com
2011-03-23  0:32 ` jsm28 at gcc dot gnu.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).