This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug driver/47480] New: GCC driver names a resolution file after the last argument to the linker


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

           Summary: GCC driver names a resolution file after the last
                    argument to the linker
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: trivial
          Priority: P3
         Component: driver
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: d.g.gorbachev@gmail.com


$ echo 'int main(void){}' > main.c
$ gcc -flto main.c -Wl,-s -save-temps
[...]
$ echo *.res
main.res
$ gcc -flto -c main.c
$ gcc -flto main.o -Wl,-s -save-temps
[...]
$ echo *.res
-s.res main.res

It looks ugly...


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]