https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82006
--- Comment #12 from rguenther at suse dot de <rguenther at suse dot de> --- On Mon, 11 Dec 2017, rai...@emrich-ebersheim.de wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82006 > > --- Comment #11 from Rainer Emrich <rai...@emrich-ebersheim.de> --- > (In reply to Richard Biener from comment #10) > > Hmm, builtins.exp references $LTO_TORTURE_OPTIONS. Does the issue only > > reproduce with builtins.exp or also other .exp files? > As you see in comment 8 there are 14 .exp files showing an issue. A single one > showing "ERROR: can't read "testname_with_flags": no such variable", which is > builtins.exp. The other 13 ones all show "ERROR: torture-init: > torture_without_loops is not empty as expected". These 13 .exp files are: > ieee.exp > unsorted.exp > format.exp > pch.exp > sancov.exp > simulate-thread.exp > sso.exp > stackalign.exp > tls.exp > tsan.exp > i386-prefetch.exp > math-torture.exp > ppc-fortran.exp > > > > > How does check_effective_target_lto behave on mingw32 currently? > How can I check this. Any hints? No idea for details but when running lto.exp I see Executing on host: /home/abuild/rguenther/trunk2-g/gcc/xgcc -B/home/abuild/rguenther/trunk2-g/gcc/ -fno-diagnostics-show-caret -fdiagnostics-color=never -flto -c -o lto19653.o lto19653.c (timeout = 300) spawn /home/abuild/rguenther/trunk2-g/gcc/xgcc -B/home/abuild/rguenther/trunk2-g/gcc/ -fno-diagnostics-show-caret -fdiagnostics-color=never -flto -c -o lto19653.o lto19653.c^M Executing on host: /home/abuild/rguenther/trunk2-g/gcc/xgcc -B/home/abuild/rguenther/trunk2-g/gcc/ linker_plugin19653.c -fno-diagnostics-show-caret -fdiagnostics-color=never -flto -fuse-linker-plugin -lm -o linker_plugin19653.exe (timeout = 300) spawn /home/abuild/rguenther/trunk2-g/gcc/xgcc -B/home/abuild/rguenther/trunk2-g/gcc/ linker_plugin19653.c -fno-diagnostics-show-caret -fdiagnostics-color=never -flto -fuse-linker-plugin -lm -o linker_plugin19653.exe^M Executing on host: /home/abuild/rguenther/trunk2-g/gcc/xgcc -B/home/abuild/rguenther/trunk2-g/gcc/ linker_plugin19653.c -fno-diagnostics-show-caret -fdiagnostics-color=never -flto -fuse-linker-plugin -o linker_plugin19653.exe (timeout = 300) ... those appear to be from the lto and linker-plugin meta-testing.