https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65582
Bug ID: 65582 Summary: testsuite lto issue: xgcc.exe: warning: '-x lto' after last input file has no effect, fatal error: no input files Product: gcc Version: 5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: rai...@emrich-ebersheim.de Running the testsuites I get lot of FAILs, UNRESOLVED with another lto issue like this: Executing on host: /opt/devel/SCRATCH/tmp.4bOnj9XWJa/gcc-5.0.0/gcc-5.0.0/gcc/xgcc -B/opt/devel/SCRATCH/tmp.4bOnj9XWJa/gcc-5.0.0/gcc-5.0.0/gcc/ /opt/devel/gnu/src/gcc-mingw-w64/gcc-5.0.0/gcc/testsuite/gcc.c-torture/execute/20000402-1.c -fno-diagnostics-show-caret -fdiagnostics-color=never -O2 -flto -flto-partition=none -w -lm -o ./20000402-1.exe (timeout = 300) spawn /opt/devel/SCRATCH/tmp.4bOnj9XWJa/gcc-5.0.0/gcc-5.0.0/gcc/xgcc -B/opt/devel/SCRATCH/tmp.4bOnj9XWJa/gcc-5.0.0/gcc-5.0.0/gcc/ /opt/devel/gnu/src/gcc-mingw-w64/gcc-5.0.0/gcc/testsuite/gcc.c-torture/execute/20000402-1.c -fno-diagnostics-show-caret -fdiagnostics-color=never -O2 -flto -flto-partition=none -w -lm -o ./20000402-1.exe xgcc.exe: warning: '-x lto' after last input file has no effect xgcc.exe: fatal error: no input files compilation terminated. lto-wrapper.exe: fatal error: D:\opt\devel\SCRATCH\tmp.4bOnj9XWJa\gcc-5.0.0\gcc-5.0.0\gcc\xgcc.exe returned 1 exit status compilation terminated. D:\opt\devel\gnu\gcc\MINGW_NT\x86_64-w64-mingw32\mingw-w64-runtime-trunk-svn\gcc-5.0.0\bin\ld.exe: error: lto-wrapper failed collect2.exe: error: ld returned 1 exit status compiler exited with status 1 output is: xgcc.exe: warning: '-x lto' after last input file has no effect xgcc.exe: fatal error: no input files compilation terminated. lto-wrapper.exe: fatal error: D:\opt\devel\SCRATCH\tmp.4bOnj9XWJa\gcc-5.0.0\gcc-5.0.0\gcc\xgcc.exe returned 1 exit status compilation terminated. D:\opt\devel\gnu\gcc\MINGW_NT\x86_64-w64-mingw32\mingw-w64-runtime-trunk-svn\gcc-5.0.0\bin\ld.exe: error: lto-wrapper failed collect2.exe: error: ld returned 1 exit status FAIL: gcc.c-torture/execute/20000402-1.c -O2 -flto -flto-partition=none (test for excess errors) Excess errors: xgcc.exe: warning: '-x lto' after last input file has no effect xgcc.exe: fatal error: no input files compilation terminated. lto-wrapper.exe: fatal error: D:\opt\devel\SCRATCH\tmp.4bOnj9XWJa\gcc-5.0.0\gcc-5.0.0\gcc\xgcc.exe returned 1 exit status compilation terminated. D:\opt\devel\gnu\gcc\MINGW_NT\x86_64-w64-mingw32\mingw-w64-runtime-trunk-svn\gcc-5.0.0\bin\ld.exe: error: lto-wrapper failed collect2.exe: error: ld returned 1 exit status UNRESOLVED: gcc.c-torture/execute/20000402-1.c -O2 -flto -flto-partition=none compilation failed to produce executable