[Bug c/40171] New: GCC does not pass -mtune and -march options to assembler!
vvv at ru dot ru
gcc-bugzilla@gcc.gnu.org
Sat May 16 14:18:00 GMT 2009
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
More information about the Gcc-bugs
mailing list