gcc-dg.exp (cleanup-dump): Also remove .exe.

* lib/gcc-dg.exp (cleanup-dump): Also remove .exe. and
	.exe.ltrans[0-9]*. dump files.

From-SVN: r176977
This commit is contained in:
Uros Bizjak 2011-07-31 19:28:13 +02:00
parent 03e69b1217
commit 360dffa36f
2 changed files with 10 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2011-07-31 Uros Bizjak <ubizjak@gmail.com>
* lib/gcc-dg.exp (cleanup-dump): Also remove .exe. and
.exe.ltrans[0-9]*. dump files.
2011-07-31 Janus Weil <janus@gcc.gnu.org>
PR fortran/49112
@ -77,8 +82,7 @@
2011-07-27 Aldy Hernandez <aldyh@redhat.com>
PR middle-end/49875
* c-c++-common/cxxbitfields-4.c: Check for smaller than long
moves.
* c-c++-common/cxxbitfields-4.c: Check for smaller than long moves.
* c-c++-common/cxxbitfields-5.c: Same.
2011-07-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>

View File

@ -487,6 +487,8 @@ proc cleanup-dump { suffix } {
# The name might include a list of options; extract the file name.
set src [file tail [lindex $testcase 0]]
remove-build-file "[file tail $src].$suffix"
remove-build-file "[file rootname [file tail $src]].exe.$suffix"
remove-build-file "[file rootname [file tail $src]].exe.ltrans\[0-9\]*.$suffix"
# -fcompare-debug dumps
remove-build-file "[file tail $src].gk.$suffix"
@ -494,6 +496,8 @@ proc cleanup-dump { suffix } {
if [info exists additional_sources] {
foreach srcfile $additional_sources {
remove-build-file "[file tail $srcfile].$suffix"
remove-build-file "[file rootname [file tail $srcfile]].exe.$suffix"
remove-build-file "[file rootname [file tail $srcfile]].exe.ltrans\[0-9\]*.$suffix"
# -fcompare-debug dumps
remove-build-file "[file tail $srcfile].gk.$suffix"
}