public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/40171]  New: GCC does not pass -mtune and -march options to assembler!
@ 2009-05-16 14:18 vvv at ru dot ru
  2009-05-24 21:17 ` [Bug target/40171] " rguenth at gcc dot gnu dot org
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: vvv at ru dot ru @ 2009-05-16 14:18 UTC (permalink / raw)
  To: gcc-bugs

GNU Assembler support optimization options, but GCC does not pass -mtune and
-march options to assembler! For full optimization it's required to use this
twice:

# gcc ... -mtune=core2 -Wa,-mtune=core2

There is no default passing optimization options from GCC to AS. But many
programmers imply that passing. Because it's very strange to optimize code on
GCC-level and do not optimize on assembler level.

Even Linux kernel use -march without -Wa,-march.

PS. CCing to vvv@ru.ru, please.


-- 
           Summary: GCC does not pass -mtune and -march options to
                    assembler!
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: vvv at ru dot ru


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


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

end of thread, other threads:[~2011-04-15 16:33 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-40171-4@http.gcc.gnu.org/bugzilla/>
2010-11-07 16:16 ` [Bug target/40171] GCC does not pass -mtune and -march options to assembler! mahatma at eu dot by
2010-11-17 19:26 ` mahatma at eu dot by
2010-11-18 12:38 ` mahatma at eu dot by
2011-04-15 16:33 ` mahatma at eu dot by
2009-05-16 14:18 [Bug c/40171] New: " vvv at ru dot ru
2009-05-24 21:17 ` [Bug target/40171] " rguenth at gcc dot gnu dot org
2009-05-25  0:46 ` sabre at nondot dot org
2009-05-25  0:55 ` pinskia at gcc dot gnu dot org
2009-05-25 19:54 ` vvv at ru dot ru

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).