This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Fix PR54702 and LTO bootstrap (for me)
- From: Mike Stump <mikestump at comcast dot net>
- To: Richard Biener <rguenther at suse dot de>
- Cc: gcc-patches at gcc dot gnu dot org, Jan Hubicka <jh at suse dot de>
- Date: Sat, 19 Oct 2013 12:16:37 -0700
- Subject: Re: [PATCH] Fix PR54702 and LTO bootstrap (for me)
- Authentication-results: sourceware.org; auth=none
- References: <alpine dot LNX dot 2 dot 00 dot 1209251426500 dot 4063 at zhemvz dot fhfr dot qr> <alpine dot LNX dot 2 dot 00 dot 1209251700050 dot 4063 at zhemvz dot fhfr dot qr> <D04B82F3-B554-4B9B-BCE2-D710152E2F48 at comcast dot net> <alpine dot LNX dot 2 dot 00 dot 1310150941190 dot 5598 at zhemvz dot fhfr dot qr> <A01A55E4-9822-4F6D-B755-35A561BEE30A at comcast dot net> <alpine dot LNX dot 2 dot 00 dot 1310161011250 dot 11149 at zhemvz dot fhfr dot qr>
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.
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