diff mbox

Fix PR54702 and LTO bootstrap (for me)

Message ID 51AE1424-4CE0-41C1-8F1C-CC7137F19F1E@comcast.net
State New
Headers show

Commit Message

Mike Stump Oct. 19, 2013, 7:16 p.m. UTC
On Oct 16, 2013, at 1:11 AM, Richard Biener <rguenther@suse.de> wrote:
> I suppose it's fine to move the testcase to the C++ lto testsuite
> if you verify it will use the C compiler for the C parts.

Thanks.  Testing pointed out one additional feature lto testing need to make thing whole thing go.  Committed.

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.
diff mbox

Patch

Index: g++.dg/lto/lto.exp
===================================================================
--- g++.dg/lto/lto.exp	(revision 203827)
+++ g++.dg/lto/lto.exp	(working copy)
@@ -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