This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/34904] New: -march=native doesn't work with multiple input files
- From: "hjl dot tools at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 21 Jan 2008 15:49:03 -0000
- Subject: [Bug target/34904] New: -march=native doesn't work with multiple input files
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
bash-3.2$ /usr/gcc-4.3/bin/gcc -m32 -c y.i z.i -march=core2 -mfpmath=sse
bash-3.2$ /usr/gcc-4.3/bin/gcc -m32 -c y.i z.i -march=native -mfpmath=sse
z.i:1: warning: SSE instruction set disabled, using 387 arithmetics
The problem is gcc driver never passed the proper -march=xxx to
COLLECT_GCC_OPTIONS.
--
Summary: -march=native doesn't work with multiple input files
Product: gcc
Version: 4.3.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: target
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: hjl dot tools at gmail dot com
GCC target triplet: i686-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34904