From 360dffa36fce7f798cc3fc31db9f60372053d69d Mon Sep 17 00:00:00 2001 From: Uros Bizjak Date: Sun, 31 Jul 2011 19:28:13 +0200 Subject: [PATCH] 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 --- gcc/testsuite/ChangeLog | 8 ++++++-- gcc/testsuite/lib/gcc-dg.exp | 4 ++++ 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 4f9a1f850f4..1dc6076ed9d 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2011-07-31 Uros Bizjak + + * lib/gcc-dg.exp (cleanup-dump): Also remove .exe. and + .exe.ltrans[0-9]*. dump files. + 2011-07-31 Janus Weil PR fortran/49112 @@ -77,8 +82,7 @@ 2011-07-27 Aldy Hernandez 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 diff --git a/gcc/testsuite/lib/gcc-dg.exp b/gcc/testsuite/lib/gcc-dg.exp index 4cdfa3e0251..9ce0149fddb 100644 --- a/gcc/testsuite/lib/gcc-dg.exp +++ b/gcc/testsuite/lib/gcc-dg.exp @@ -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" } -- 2.30.2