public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug driver/39851]  New: gcc -Q --help=target does not list extensions selected by -march=
@ 2009-04-22 14:58 amonakov at gcc dot gnu dot org
  2009-04-22 23:29 ` [Bug other/39851] " pinskia at gcc dot gnu dot org
  0 siblings, 1 reply; 4+ messages in thread
From: amonakov at gcc dot gnu dot org @ 2009-04-22 14:58 UTC (permalink / raw)
  To: gcc-bugs

Even though -march=nocona enables SSE2 and SSE3 extensions, gcc -Q
--help=target does not list them as enabled.  This may be confusing to the user
(see http://gcc.gnu.org/ml/gcc-help/2009-04/msg00293.html ):

$ gcc -Q --help=target -march=nocona | grep msse[23]
  -msse2                                [disabled]
  -msse3                                [disabled]

-msse[23] would be enabled in gcc/config/i386/i386.c:override_options(), called
from toplev.c:process_options(), which is in turn called from do_compile(). 
OTOH, --help=target is processed in decode_options(), which is executed before
do_compile.  It would be nice if --help=target processing could see options
overridden by target backend.


-- 
           Summary: gcc -Q --help=target does not list extensions selected
                    by -march=
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: P3
         Component: driver
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: amonakov at gcc dot gnu dot org


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


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

end of thread, other threads:[~2013-03-04  9:31 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-39851-4@http.gcc.gnu.org/bugzilla/>
2012-06-01 14:06 ` [Bug other/39851] gcc -Q --help=target does not list extensions selected by -march= amonakov at gcc dot gnu.org
2012-06-01 14:07 ` amonakov at gcc dot gnu.org
2013-03-04  9:31 ` amonakov at gcc dot gnu.org
2009-04-22 14:58 [Bug driver/39851] New: " amonakov at gcc dot gnu dot org
2009-04-22 23:29 ` [Bug other/39851] " 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).