public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug driver/46802] New: GCC option handling change breaks dejagnu
@ 2010-12-04 18:24 hjl.tools at gmail dot com
  2010-12-04 18:45 ` [Bug driver/46802] " joseph at codesourcery dot com
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: hjl.tools at gmail dot com @ 2010-12-04 18:24 UTC (permalink / raw)
  To: gcc-bugs

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

           Summary: GCC option handling change breaks dejagnu
           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


GCC 4.6 failed binutils tests:

g++: warning: switch '-fvtable-gc' is no longer supported
g++: warning: switch '-fvtable-gc' is no longer supported

ERROR: /export/gnu/import/git/binutils/ld/testsuite/ld-selective/3.cc:
compilation failed
UNRESOLVED: selective4

prune_warnings in dejagnu has

    regsub -all "(^|\n)(cc1: warning: -g is only supported when using GAS on
this processor\[^\n\]*\ncc1: warning:\[^\n\]*\n?)+" $text "\\1" text
    regsub -all "(^|\n)(cc1plus: warning: -g is only supported when using GAS
on this processor\[^\n\]*\ncc1plus: warning:\[^\n\]*\n?)+" $text "\\1" text

Before GCC 4.6, we have

[hjl@gnu-6 tmp]$ g++ -fvtable-gc -S x.i      
cc1plus: warning: switch \u2018-fvtable-gc\u2019 is no longer supported

GCC 4.6 has

[hjl@gnu-6 tmp]$ /usr/gcc-4.6/bin/g++ -fvtable-gc -S x.i    
g++: warning: switch \u2018-fvtable-gc\u2019 is no longer supported

This change breaks prune_warnings.


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

end of thread, other threads:[~2010-12-04 19:36 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-12-04 18:24 [Bug driver/46802] New: GCC option handling change breaks dejagnu hjl.tools at gmail dot com
2010-12-04 18:45 ` [Bug driver/46802] " joseph at codesourcery dot com
2010-12-04 18:49 ` hjl.tools at gmail dot com
2010-12-04 18:56 ` joseph at codesourcery dot com
2010-12-04 19:06 ` hjl.tools at gmail dot com
2010-12-04 19:36 ` steven 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).