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?