http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47528
--- Comment #12 from Kai Tietz <ktietz at gcc dot gnu.org> 2011-02-08 11:14:09 UTC --- (In reply to comment #11) > I don't known where I report the following issue: > > C:\>gcc -O2 -pipe Hello.c > > C:\>a > Hello, World! > > C:\>gcc -O2 -pipe -flto Hello.c > c:/gcc-4.6-windows/bin/../lib/gcc/i686-w64-mingw32/4.6.0/../../../../i686-w64-mingw32/bin/ld.exe: > could not unlink output file > collect2: ld returned 1 exit status There is already a bug report. See http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47241