This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[committed] Add missing cleanup in pch-init
- From: Tom de Vries <Tom_deVries at mentor dot com>
- To: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Thu, 26 Feb 2015 15:15:52 +0100
- Subject: [committed] Add missing cleanup in pch-init
- Authentication-results: sourceware.org; auth=none
Hi,
committed as obvious.
Thanks,
- Tom
2015-02-26 Tom de Vries <tom@codesourcery.com>
* lib/dg-pch.exp (pch-init): Add missing cleanup of pchtest<n>.o.
diff --git a/gcc/testsuite/lib/dg-pch.exp b/gcc/testsuite/lib/dg-pch.exp
index e250301..9b4f40b 100644
--- a/gcc/testsuite/lib/dg-pch.exp
+++ b/gcc/testsuite/lib/dg-pch.exp
@@ -30,15 +30,17 @@ proc pch-init { args } {
set pch_unsupported_debug \
[regexp "debug format cannot be used with pre-compiled headers" \
[lindex $result 0]]
+ remote_file build delete [lindex $result 1]
set pch_unsupported 0
if { $pch_unsupported_debug } {
verbose -log "pch is unsupported with the debug info format"
set result [check_compile pchtest object "int i;" "-x c-header"]
- set pch_unsupported \
- [regexp "debug format cannot be used with pre-compiled headers" \
- [lindex $result 0]]
+ set pch_unsupported \
+ [regexp "debug format cannot be used with pre-compiled headers" \
+ [lindex $result 0]]
+ remote_file build delete [lindex $result 1]
}
}
--
1.9.1