This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug driver/47137] [4.6 Regression] gcc incorrectly combines assembly inputs
- From: "hjl.tools at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 2 Jan 2011 22:07:27 +0000
- Subject: [Bug driver/47137] [4.6 Regression] gcc incorrectly combines assembly inputs
- Auto-submitted: auto-generated
- References: <bug-47137-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47137
H.J. Lu <hjl.tools at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|FIXED |
--- Comment #5 from H.J. Lu <hjl.tools at gmail dot com> 2011-01-02 22:07:25 UTC ---
It breaks LTO:
[hjl@gnu-6 gcc]$ cat /tmp/lto.args
-xlto
-c
-B
/export/build/gnu/gcc/build-x86_64-linux/gcc/
-w
-O2
-flto-partition=none
-fno-builtin-abs
-v
-save-temps
-mtune=generic
-march=x86-64
-dumpdir
/export/build/gnu/gcc/build-x86_64-linux/gcc/testsuite/gcc/
-dumpbase
abs-1.x6
-o
/tmp/lto.o
abs-1.o
abs-1-lib.o
main.o
[hjl@gnu-6 gcc]$ ../../xgcc @/tmp/lto.args
Reading specs from /export/build/gnu/gcc/build-x86_64-linux/gcc/specs
COLLECT_GCC=../../xgcc
COLLECT_LTO_WRAPPER=/export/build/gnu/gcc/build-x86_64-linux/gcc/lto-wrapper
Target: x86_64-unknown-linux-gnu
Configured with: /export/gnu/import/git/gcc/configure --enable-languages=c
--disable-bootstrap --prefix=/usr/gcc-4.6.0 --with-local-prefix=/usr/local
--with-fpmath=sse
Thread model: posix
gcc version 4.6.0 20110102 (experimental) (GCC)
xgcc: fatal error: cannot specify -o with -c, -S or -E with multiple files
compilation terminated.
[hjl@gnu-6 gcc]$