+2015-02-26 Uros Bizjak <ubizjak@gmail.com>
+
+ * lib/gcc-dg.exp (cleanup-final-insns-dump): New procedure.
+ * g++.dg/opt/dump1.C (dg-final): Call cleanup-final-insns-dump.
+
2015-02-26 Yuri Rumyantsev <ysrumyan@gmail.com>
PR target/65161
2015-02-19 Maxim Kuvyrkov <maxim.kuvyrkov@linaro.org>
- * testsuite/lib/target-supports.exp (check_compile): Save/restore
+ * lib/target-supports.exp (check_compile): Save/restore
additional_sources that may belong to an actual test.
2015-02-18 Jakub Jelinek <jakub@redhat.com>
Brian Rzycki <b.rzycki@samsung.com>
PR tree-optimization/64878
- * testsuite/gcc.dg/tree-ssa/ssa-dom-thread-8.c: New.
+ * gcc.dg/tree-ssa/ssa-dom-thread-8.c: New.
2015-02-06 Jakub Jelinek <jakub@redhat.com>
2015-01-21 Bernd Edlinger <bernd.edlinger@hotmail.de>
- * gcc/testsuite/c-c++-common/tsan/step.c: New testcase.
+ * c-c++-common/tsan/step.c: New testcase.
2015-01-21 Christophe Lyon <christophe.lyon@linaro.org>
// PR c++/57102
// { dg-options "-O2 -fno-inline -fdump-final-insns" }
// { dg-do compile { target c++11 } }
-// { dg-final cleanup-saved-temps }
+// { dg-final cleanup-final-insns-dump }
namespace std
{
cleanup-dump "\[0-9\]\[0-9\]\[0-9\]i.$suffix"
}
+# Remove a final insns dump file for the current test.
+proc cleanup-final-insns-dump { } {
+ set testcase [testname-for-summary]
+ # The name might include a list of options; extract the file name.
+ set testcase [lindex $testcase 0]
+ remove-build-file "[file rootname [file tail $testcase]].s.gkd"
+
+ # Clean up files for additional source files.
+ if [info exists additional_sources_used] {
+ foreach srcfile $additional_sources_used {
+ remove-build-file "[file rootname [file tail $srcfile]].s.gkd"
+ }
+ }
+}
+
# Remove a stack usage file for the current test.
proc cleanup-stack-usage { } {
set testcase [testname-for-summary]