lto.exp: Add support for C/C++ mix language testing.

* g++.dg/lto/lto.exp: Add support for C/C++ mix language testing.

	* gcc.dg/lto/pr54625-1_0.c: Move from here...
	* g++.dg/lto/pr54625-1_0.c: ... to here.
	* gcc.dg/lto/pr54625-1_1.C: Likewise.
	* g++.dg/lto/pr54625-1_1.C: Likewise.
	* gcc.dg/lto/pr54625-2_0.c: Likewise.
	* g++.dg/lto/pr54625-2_0.c: Likewise.
	* gcc.dg/lto/pr54625-2_1.C: Likewise.
	* g++.dg/lto/pr54625-2_1.C: Likewise.

From-SVN: r203862
This commit is contained in:
Mike Stump 2013-10-19 19:13:15 +00:00 committed by Mike Stump
parent c6436d74cc
commit 7aa14ddbd7
6 changed files with 14 additions and 1 deletions

View File

@ -1,3 +1,16 @@
2013-10-19 Mike Stump <mikestump@comcast.net>
* g++.dg/lto/lto.exp: Add support for C/C++ mix language testing.
* gcc.dg/lto/pr54625-1_0.c: Move from here...
* g++.dg/lto/pr54625-1_0.c: ... to here.
* gcc.dg/lto/pr54625-1_1.C: Likewise.
* g++.dg/lto/pr54625-1_1.C: Likewise.
* gcc.dg/lto/pr54625-2_0.c: Likewise.
* g++.dg/lto/pr54625-2_0.c: Likewise.
* gcc.dg/lto/pr54625-2_1.C: Likewise.
* g++.dg/lto/pr54625-2_1.C: Likewise.
2013-10-19 Oleg Endo <olegendo@gcc.gnu.org>
* gcc.target/sh/pr54089-3.c: Fix test for load of constant 31.

View File

@ -48,7 +48,7 @@ if { ![check_effective_target_lto] } {
}
# Main loop.
foreach src [lsort [find $srcdir/$subdir *_0.C]] {
foreach src [lsort [find $srcdir/$subdir *_0.\[cC\]]] {
# If we're only testing specific files and this isn't one of them, skip it.
if ![runtest_file_p $runtests $src] then {
continue