On Wed, 29 Feb 2012, Rainer Orth wrote: > Richard Guenther <rguent...@suse.de> writes: > > >> Moving them to libitm/testsuite is an option, but that might be more > >> difficult for the LTO case. I thought about adding > >> dg-require-effective-target tm_runtime (to check for working > >> -litm/libitm.spec) and dg-add-options tm_runtime to add the necessary > >> -B/-L/-I options (and eventually setting LD_LIBRARY_PATH for runtime > >> tests), but didn't yet get around to it. > > > > I'm not so sure. All other target lib lto testcases are in the > > respective target dir. > > Such as? I can't find any use of lto.exp or -flto in lib*/testsuite.
Hmm, I may indeed misremember (I thought of libgomp). Definitely some LTO testcases use dg-additional-sources, and for out-of LTO harness LTO testcases we have the 'lto' effective target. Richard.