public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/45731]  New: gcc 4.5.1 -march=corei7 fails
@ 2010-09-20  4:20 dcy665 at gmail dot com
  2010-09-20  4:27 ` [Bug target/45731] " pinskia at gcc dot gnu dot org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: dcy665 at gmail dot com @ 2010-09-20  4:20 UTC (permalink / raw)
  To: gcc-bugs

hello.c:1: error: bad value (corei7) for -march= switch

although, gcc451 --help=target -march=corei7 is successful.

gcc 4.4.4-10.fc13 (fedora 13 distribution) fails as well.

gcc451 -march=generic produces .s code with -march=core2

configured with:
../gcc-4.5.1/configure --prefix=/usr/local --program-suffix=451
--enable-threads \
--enable-languages=c,c++


-- 
           Summary: gcc 4.5.1 -march=corei7 fails
           Product: gcc
           Version: 4.5.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: dcy665 at gmail dot com


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


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

* [Bug target/45731] gcc 4.5.1 -march=corei7 fails
  2010-09-20  4:20 [Bug c/45731] New: gcc 4.5.1 -march=corei7 fails dcy665 at gmail dot com
@ 2010-09-20  4:27 ` pinskia at gcc dot gnu dot org
  2010-09-20  6:26 ` dcy665 at gmail dot com
  2010-09-20  9:30 ` [Bug driver/45731] Header missing for assembler option help rguenth at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2010-09-20  4:27 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from pinskia at gcc dot gnu dot org  2010-09-20 04:27 -------
>-march=corei7 is successful.

Yes and that is kinda expected as --help does not process options at all
really.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|c                           |target


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


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

* [Bug target/45731] gcc 4.5.1 -march=corei7 fails
  2010-09-20  4:20 [Bug c/45731] New: gcc 4.5.1 -march=corei7 fails dcy665 at gmail dot com
  2010-09-20  4:27 ` [Bug target/45731] " pinskia at gcc dot gnu dot org
@ 2010-09-20  6:26 ` dcy665 at gmail dot com
  2010-09-20  9:30 ` [Bug driver/45731] Header missing for assembler option help rguenth at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: dcy665 at gmail dot com @ 2010-09-20  6:26 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from dcy665 at gmail dot com  2010-09-20 06:25 -------
And yet, it does not help (with or without dashes) that corei7 is claimed to be
supported and yet is not.

Either --target-help should not report support or gcc should actually support
it.


-- 


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


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

* [Bug driver/45731] Header missing for assembler option help.
  2010-09-20  4:20 [Bug c/45731] New: gcc 4.5.1 -march=corei7 fails dcy665 at gmail dot com
  2010-09-20  4:27 ` [Bug target/45731] " pinskia at gcc dot gnu dot org
  2010-09-20  6:26 ` dcy665 at gmail dot com
@ 2010-09-20  9:30 ` rguenth at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-09-20  9:30 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from rguenth at gcc dot gnu dot org  2010-09-20 09:30 -------
(In reply to comment #2)
> And yet, it does not help (with or without dashes) that corei7 is claimed to be
> supported and yet is not.

--target-help is documented as alias for --help=target, but that doesn't
print this help - which means that the 2nd half of --target-help is from
the assembler and linker:

  -mveclibabi=                Vector library ABI to use
  -mxop                       Support XOP built-in functions and code
                              generation 

... end of GCC options, assembler options starting:

  -Q                      ignored
  -V                      print assembler version number

...

Linker options
==============

Use "-Wl,OPTION" to pass "OPTION" to the linker.

...


which means a proper header is missing for Assembler options.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
          Component|target                      |driver
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2010-09-20 09:30:32
               date|                            |
            Summary|gcc 4.5.1 -march=corei7     |Header missing for assembler
                   |fails                       |option help.


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


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

end of thread, other threads:[~2010-09-20  9:30 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-09-20  4:20 [Bug c/45731] New: gcc 4.5.1 -march=corei7 fails dcy665 at gmail dot com
2010-09-20  4:27 ` [Bug target/45731] " pinskia at gcc dot gnu dot org
2010-09-20  6:26 ` dcy665 at gmail dot com
2010-09-20  9:30 ` [Bug driver/45731] Header missing for assembler option help rguenth 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).