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:

[...@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
[...@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.
[...@gnu-6 gcc]$

Reply via email to