Skip to content

Commit 79d4620

Browse files
author
aldot
committed
testsuite: auto-wipe dump files
gcc/testsuite/ChangeLog 2015-05-29 Bernhard Reutner-Fischer <[email protected]> * lib/gcc-dg.exp (cleanup-ipa-dump, cleanup-rtl-dump, cleanup-tree-dump, cleanup-dump, cleanup-saved-temps): Remove. Adjust all callers. (schedule-cleanups, dg-keep-saved-temps): New proc. (gcc-dg-test-1): Schedule cleanups. * lib/profopt.exp (profopt-execute): Likewise. * g++.dg/cdce3.C: Adjust expected line numbers. * gcc.dg/cdce1.c: Likewise. * gcc.dg/cdce2.c: Likewise. * gcc.dg/strlenopt-22.c: Fix comment delimiter. * gcc.dg/strlenopt-24.c: Likewise. * gcc.dg/tree-ssa/vrp26.c: Likewise. * gcc.dg/tree-ssa/vrp28.c: Likewise. * obj-c++.dg/encode-2.mm: Likewise. libgomp/ChangeLog 2015-05-29 Bernhard Reutner-Fischer <[email protected]> * testsuite/libgomp.graphite/bounds.c: Adjust for cleanup-tree-dump removal. * testsuite/libgomp.graphite/force-parallel-1.c: Likewise. * testsuite/libgomp.graphite/force-parallel-2.c: Likewise. * testsuite/libgomp.graphite/force-parallel-3.c: Likewise. * testsuite/libgomp.graphite/force-parallel-4.c: Likewise. * testsuite/libgomp.graphite/force-parallel-5.c: Likewise. * testsuite/libgomp.graphite/force-parallel-6.c: Likewise. * testsuite/libgomp.graphite/force-parallel-7.c: Likewise. * testsuite/libgomp.graphite/force-parallel-8.c: Likewise. * testsuite/libgomp.graphite/force-parallel-9.c: Likewise. * testsuite/libgomp.graphite/pr41118.c: Likewise. gcc/ChangeLog 2015-05-29 Bernhard Reutner-Fischer <[email protected]> * config/arm/neon-testgen.ml (emit_epilogue): Remove manual call to cleanup-saved-temps. * doc/sourcebuild.texi (Clean up generated test files): Expand introduction. (dg-keep-saved-temps): Document new proc. (cleanup-ipa-dump, cleanup-rtl-dump, cleanup-tree-dump, cleanup-saved-temps): Remove. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@223858 138bc75d-0d04-0410-961f-82ee72b054a4
1 parent 94ec95b commit 79d4620

File tree

5,891 files changed

+200
-6150
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

5,891 files changed

+200
-6150
lines changed

gcc/ChangeLog

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,14 @@
1+
2015-05-29 Bernhard Reutner-Fischer <[email protected]>
2+
3+
* config/arm/neon-testgen.ml (emit_epilogue): Remove manual call
4+
to cleanup-saved-temps.
5+
* doc/sourcebuild.texi (Clean up generated test files): Expand
6+
introduction.
7+
(dg-keep-saved-temps): Document new proc.
8+
(cleanup-ipa-dump, cleanup-rtl-dump, cleanup-tree-dump,
9+
cleanup-saved-temps): Remove.
10+
11+
112
2015-05-28 Andreas Tobler <[email protected]>
213

314
* configure.ac: Move the atoll check from AC_CHECK_FUNCS to

gcc/config/arm/neon-testgen.ml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,6 @@ let emit_epilogue chan features regexps =
138138
else
139139
()
140140
);
141-
Printf.fprintf chan "/* { dg-final { cleanup-saved-temps } } */\n"
142141

143142
(* Check a list of C types to determine which ones are pointers and which
144143
ones are const. *)

gcc/doc/sourcebuild.texi

Lines changed: 18 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2213,13 +2213,17 @@ Check branch and/or call counts, in addition to line counts, in
22132213

22142214
@subsubsection Clean up generated test files
22152215

2216+
Usually the test-framework removes files that were generated during
2217+
testing. If a testcase, for example, uses any dumping mechanism to
2218+
inspect a passes dump file, the testsuite recognized the dump option
2219+
passed to the tool and schedules a final cleanup to remove these files.
2220+
2221+
There are, however, following additional cleanup directives that can be
2222+
used to annotate a testcase "manually".
22162223
@table @code
22172224
@item cleanup-coverage-files
22182225
Removes coverage data files generated for this test.
22192226

2220-
@item cleanup-ipa-dump @var{suffix}
2221-
Removes IPA dump files generated for this test.
2222-
22232227
@item cleanup-modules "@var{list-of-extra-modules}"
22242228
Removes Fortran module files generated for this test, excluding the
22252229
module names listed in keep-modules.
@@ -2254,21 +2258,23 @@ end module keep2
22542258
! @{ dg-final @{ keep-modules "" @} @} ! keep all
22552259
@end smallexample
22562260

2261+
@item dg-keep-saved-temps "@var{list-of-suffixes-not-to-delete}"
2262+
Whitespace separated list of suffixes that should not be deleted
2263+
automatically in a testcase that uses @option{-save-temps}.
2264+
@smallexample
2265+
// @{ dg-options "-save-temps -fpch-preprocess -I." @}
2266+
int main() @{ return 0; @}
2267+
// @{ dg-keep-saved-temps ".s" @} ! just keep assembler file
2268+
// @{ dg-keep-saved-temps ".s" ".i" @} ! ... and .i
2269+
// @{ dg-keep-saved-temps ".ii" ".o" @} ! or just .ii and .o
2270+
@end smallexample
2271+
22572272
@item cleanup-profile-file
22582273
Removes profiling files generated for this test.
22592274

22602275
@item cleanup-repo-files
22612276
Removes files generated for this test for @option{-frepo}.
22622277

2263-
@item cleanup-rtl-dump @var{suffix}
2264-
Removes RTL dump files generated for this test.
2265-
2266-
@item cleanup-saved-temps
2267-
Removes files for the current test which were kept for @option{-save-temps}.
2268-
2269-
@item cleanup-tree-dump @var{suffix}
2270-
Removes tree dump files matching @var{suffix} which were generated for
2271-
this test.
22722278
@end table
22732279

22742280
@node Ada Tests

gcc/testsuite/ChangeLog

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
1+
2015-05-29 Bernhard Reutner-Fischer <[email protected]>
2+
3+
* lib/gcc-dg.exp (cleanup-ipa-dump, cleanup-rtl-dump,
4+
cleanup-tree-dump, cleanup-dump, cleanup-saved-temps): Remove.
5+
Adjust all callers.
6+
(schedule-cleanups, dg-keep-saved-temps): New proc.
7+
(gcc-dg-test-1): Schedule cleanups.
8+
* lib/profopt.exp (profopt-execute): Likewise.
9+
* g++.dg/cdce3.C: Adjust expected line numbers.
10+
* gcc.dg/cdce1.c: Likewise.
11+
* gcc.dg/cdce2.c: Likewise.
12+
* gcc.dg/strlenopt-22.c: Fix comment delimiter.
13+
* gcc.dg/strlenopt-24.c: Likewise.
14+
* gcc.dg/tree-ssa/vrp26.c: Likewise.
15+
* gcc.dg/tree-ssa/vrp28.c: Likewise.
16+
* obj-c++.dg/encode-2.mm: Likewise.
17+
118
2015-05-28 DJ Delorie <[email protected]>
219

320
* gcc.c-torture/execute/pr65369.c: Don't assume int is 32 bits.

gcc/testsuite/c-c++-common/asan/aggressive-opts.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,3 @@ Perl_do_sv_dump()
2525
}
2626

2727
/* { dg-final { scan-tree-dump-times "ASAN_CHECK" 2 "asan1" } } */
28-
/* { dg-final { cleanup-tree-dump "asan1" } } */

gcc/testsuite/c-c++-common/asan/inc.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,3 @@ main ()
1818

1919
/* { dg-final { scan-tree-dump-times "ASAN_" 1 "asan0" } } */
2020
/* { dg-final { scan-tree-dump "ASAN_CHECK \\(.*, 4\\);" "asan0" } } */
21-
/* { dg-final { cleanup-tree-dump "asan0" } } */

gcc/testsuite/c-c++-common/asan/no-asan-check-glob.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,3 @@ int foo ()
1010
}
1111

1212
/* { dg-final { scan-tree-dump-times "ASAN_CHECK" 0 "asan1" } } */
13-
/* { dg-final { cleanup-tree-dump "asan1" } } */

gcc/testsuite/c-c++-common/asan/no-redundant-instrumentation-1.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,4 +57,3 @@ main ()
5757

5858
/* { dg-final { scan-tree-dump-times "__builtin___asan_report_store1" 3 "sanopt" } } */
5959
/* { dg-final { scan-tree-dump-not "__builtin___asan_report_load1" "sanopt" } } */
60-
/* { dg-final { cleanup-tree-dump "sanopt" } } */

gcc/testsuite/c-c++-common/asan/no-redundant-instrumentation-10.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,3 @@ foo ()
1515
}
1616

1717
/* { dg-final { scan-tree-dump-times "__builtin___asan_report_store4" 1 "sanopt" } } */
18-
/* { dg-final { cleanup-tree-dump "sanopt" } } */

gcc/testsuite/c-c++-common/asan/no-redundant-instrumentation-11.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,3 @@ foo ()
1717

1818
/* { dg-final { scan-tree-dump-not "& 7" "sanopt" } } */
1919
/* { dg-final { scan-tree-dump-not "__builtin___asan_report_store" "sanopt" } } */
20-
/* { dg-final { cleanup-tree-dump "sanopt" } } */

gcc/testsuite/c-c++-common/asan/no-redundant-instrumentation-12.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,3 @@ foo (char *p)
1313
}
1414

1515
/* { dg-final { scan-tree-dump-times "__builtin___asan_report_store1" 1 "sanopt" } } */
16-
/* { dg-final { cleanup-tree-dump "sanopt" } } */

gcc/testsuite/c-c++-common/asan/no-redundant-instrumentation-13.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,3 @@ foo (char *p)
1212
}
1313

1414
/* { dg-final { scan-tree-dump-times "__builtin___asan_report_store1" 1 "sanopt" } } */
15-
/* { dg-final { cleanup-tree-dump "sanopt" } } */

gcc/testsuite/c-c++-common/asan/no-redundant-instrumentation-14.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,3 @@ foo (char *p)
1212
}
1313

1414
/* { dg-final { scan-tree-dump-not "__builtin___asan_report_store1" "sanopt" } } */
15-
/* { dg-final { cleanup-tree-dump "sanopt" } } */

gcc/testsuite/c-c++-common/asan/no-redundant-instrumentation-15.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,3 @@ foo (char *p)
1313
}
1414

1515
/* { dg-final { scan-tree-dump-times "__builtin___asan_report_store1" 1 "sanopt" } } */
16-
/* { dg-final { cleanup-tree-dump "sanopt" } } */

gcc/testsuite/c-c++-common/asan/no-redundant-instrumentation-3.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,3 @@ foo (__INT32_TYPE__ *p)
1515
/* { dg-final { scan-tree-dump-times "__builtin___asan_report" 2 "sanopt" } } */
1616
/* { dg-final { scan-tree-dump-times "__builtin___asan_report_load1" 1 "sanopt" } } */
1717
/* { dg-final { scan-tree-dump-times "__builtin___asan_report_store" 1 "sanopt" } } */
18-
/* { dg-final { cleanup-tree-dump "sanopt" } } */

gcc/testsuite/c-c++-common/asan/no-redundant-instrumentation-4.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,3 @@ foo (int *a, char *b, char *c)
1414
/* { dg-final { scan-tree-dump-times "& 7" 2 "sanopt" } } */
1515
/* { dg-final { scan-tree-dump-times "__builtin___asan_report_load1" 1 "sanopt" } } */
1616
/* { dg-final { scan-tree-dump-times "__builtin___asan_report_load4" 1 "sanopt" } } */
17-
/* { dg-final { cleanup-tree-dump "sanopt" } } */

gcc/testsuite/c-c++-common/asan/no-redundant-instrumentation-5.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,3 @@ foo (int *a, char *b, char *c)
1313

1414
/* { dg-final { scan-tree-dump-times "& 7" 1 "sanopt" } } */
1515
/* { dg-final { scan-tree-dump-times "__builtin___asan_report_load4" 1 "sanopt" } } */
16-
/* { dg-final { cleanup-tree-dump "sanopt" } } */

gcc/testsuite/c-c++-common/asan/no-redundant-instrumentation-6.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,3 @@ foo (int *a, char *b, char *c)
1616
/* { dg-final { scan-tree-dump-times "& 7" 4 "sanopt" } } */
1717
/* { dg-final { scan-tree-dump-times "__builtin___asan_report_load1" 2 "sanopt" } } */
1818
/* { dg-final { scan-tree-dump-times "__builtin___asan_report_load4" 2 "sanopt" } } */
19-
/* { dg-final { cleanup-tree-dump "sanopt" } } */

gcc/testsuite/c-c++-common/asan/no-redundant-instrumentation-7.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,3 @@ foo (int *a, char *b, char *c)
2020

2121
/* { dg-final { scan-tree-dump-not "& 7" "sanopt" } } */
2222
/* { dg-final { scan-tree-dump-not "__builtin___asan_report_load4" "sanopt" } } */
23-
/* { dg-final { cleanup-tree-dump "sanopt" } } */

gcc/testsuite/c-c++-common/asan/no-redundant-instrumentation-8.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,3 @@ foo (int *a, char *b, char *c)
1717
/* { dg-final { scan-tree-dump-times "& 7" 4 "sanopt" } } */
1818
/* { dg-final { scan-tree-dump-times "__builtin___asan_report_load1" 2 "sanopt" } } */
1919
/* { dg-final { scan-tree-dump-times "__builtin___asan_report_load4" 2 "sanopt" } } */
20-
/* { dg-final { cleanup-tree-dump "sanopt" } } */

gcc/testsuite/c-c++-common/asan/red-align-1.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,3 @@ int foo (struct st * s_p)
1717
}
1818

1919
/* { dg-final { scan-tree-dump-times "& 7" 0 "sanopt" } } */
20-
/* { dg-final { cleanup-tree-dump "sanopt" } } */

gcc/testsuite/c-c++-common/asan/red-align-2.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,3 @@ int foo (struct st * s_p)
1717
}
1818

1919
/* { dg-final { scan-tree-dump-times "& 7" 1 "sanopt" } } */
20-
/* { dg-final { cleanup-tree-dump "sanopt" } } */

gcc/testsuite/c-c++-common/asan/shadow-offset-1.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,3 @@ int f (int *p)
88
}
99

1010
/* { dg-final { scan-tree-dump "12345" "sanopt" } } */
11-
/* { dg-final { cleanup-tree-dump "sanopt" } } */

gcc/testsuite/c-c++-common/asan/user-section-1.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,4 @@ int y __attribute__((section(".yyy"))) = 1;
77
int z __attribute__((section(".zzz"))) = 1;
88

99
/* { dg-final { scan-tree-dump "__builtin___asan_unregister_globals \\(.*, 2\\);" "sanopt" } } */
10-
/* { dg-final { cleanup-tree-dump "sanopt" } } */
1110

gcc/testsuite/c-c++-common/asan/user-section-2.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,4 @@ int y __attribute__((section(".x2"))) = 1;
77
int z __attribute__((section(".x3"))) = 1;
88

99
/* { dg-final { scan-tree-dump "__builtin___asan_unregister_globals \\(.*, 3\\);" "sanopt" } } */
10-
/* { dg-final { cleanup-tree-dump "sanopt" } } */
1110

gcc/testsuite/c-c++-common/asan/user-section-3.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,4 @@ int y __attribute__((section(".x2"))) = 1;
77
int z __attribute__((section(".y1"))) = 1;
88

99
/* { dg-final { scan-tree-dump "__builtin___asan_unregister_globals \\(.*, 1\\);" "sanopt" } } */
10-
/* { dg-final { cleanup-tree-dump "sanopt" } } */
1110

gcc/testsuite/c-c++-common/cilk-plus/PS/clauses2.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,3 @@ void foo()
1515
/* { dg-final { scan-tree-dump-times "linear\\(j:4\\)" 1 "original" } } */
1616
/* { dg-final { scan-tree-dump-times "linear\\(k:1\\)" 1 "original" } } */
1717
/* { dg-final { scan-tree-dump-times "safelen\\(4\\)" 1 "original" } } */
18-
/* { dg-final { cleanup-tree-dump "original" } } */

gcc/testsuite/c-c++-common/cilk-plus/PS/safelen.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,3 @@ void foo()
1111
}
1212

1313
/* { dg-final { scan-tree-dump-times "safelen\\(8\\)" 1 "gimple" } } */
14-
/* { dg-final { cleanup-tree-dump "gimple" } } */

gcc/testsuite/c-c++-common/cilk-plus/PS/vectorlength-3.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,3 @@ foo (int *a, int *b, int *c)
1111
a[i] = b[i] * c[i];
1212
}
1313

14-
/* { dg-final { cleanup-saved-temps } } */

gcc/testsuite/c-c++-common/cpp/pr63831-2.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,3 @@
44

55
#include "pr63831-1.c"
66

7-
/* { dg-final { cleanup-saved-temps } } */

gcc/testsuite/c-c++-common/fold-bitand-4.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,4 +42,3 @@ int f5 (int i)
4242
/* { dg-final { scan-tree-dump-times "\& 15" 1 "original" } } */
4343
/* { dg-final { scan-tree-dump-times "return \[^\n0-9\]*0;" 2 "original" } } */
4444
/* { dg-final { scan-tree-dump-times "\& 7" 1 "original" } } */
45-
/* { dg-final { cleanup-tree-dump "original" } } */

gcc/testsuite/c-c++-common/fold-divmul-1.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,3 @@ fx (int *b, int *e)
88
}
99

1010
/* { dg-final { scan-tree-dump-not "/\\\[ex\\\]" "original" } } */
11-
/* { dg-final { cleanup-tree-dump "original" } } */

gcc/testsuite/c-c++-common/goacc/acc_on_device-2-off.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,3 @@ f (void)
2222
/* Without -fopenacc, we're expecting one call.
2323
{ dg-final { scan-rtl-dump-times "\\\(call \[^\\n\]* acc_on_device" 1 "expand" } } */
2424

25-
/* { dg-final { cleanup-rtl-dump "expand" } } */

gcc/testsuite/c-c++-common/goacc/acc_on_device-2.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,3 @@ f (void)
2626
<openacc.h>.
2727
{ dg-final { scan-rtl-dump-times "\\\(call \[^\\n\]* acc_on_device" 0 "expand" { xfail c++ } } } */
2828

29-
/* { dg-final { cleanup-rtl-dump "expand" } } */

gcc/testsuite/c-c++-common/goacc/loop-private-1.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,3 @@ f (int i, int j)
1111
}
1212

1313
/* { dg-final { scan-tree-dump-times "#pragma acc loop collapse\\(2\\) private\\(j\\) private\\(i\\)" 1 "gimple" } } */
14-
/* { dg-final { cleanup-tree-dump "gimple" } } */

gcc/testsuite/c-c++-common/goacc/pcopy.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,3 @@ f (char *cp)
88
}
99

1010
/* { dg-final { scan-tree-dump-times "#pragma acc parallel map\\(tofrom:\\*\\(cp \\+ 3\\) \\\[len: 5]\\) map\\(alloc:cp \\\[pointer assign, bias: 3]\\)" 1 "original" } } */
11-
/* { dg-final { cleanup-tree-dump "original" } } */

gcc/testsuite/c-c++-common/goacc/pcopyin.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,3 @@ f (char *cp)
88
}
99

1010
/* { dg-final { scan-tree-dump-times "#pragma acc parallel map\\(to:\\*\\(cp \\+ 4\\) \\\[len: 6]\\) map\\(alloc:cp \\\[pointer assign, bias: 4]\\)" 1 "original" } } */
11-
/* { dg-final { cleanup-tree-dump "original" } } */

gcc/testsuite/c-c++-common/goacc/pcopyout.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,3 @@ f (char *cp)
88
}
99

1010
/* { dg-final { scan-tree-dump-times "#pragma acc parallel map\\(from:\\*\\(cp \\+ 5\\) \\\[len: 7]\\) map\\(alloc:cp \\\[pointer assign, bias: 5]\\)" 1 "original" } } */
11-
/* { dg-final { cleanup-tree-dump "original" } } */

gcc/testsuite/c-c++-common/goacc/pcreate.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,3 @@ f (char *cp)
88
}
99

1010
/* { dg-final { scan-tree-dump-times "#pragma acc parallel map\\(alloc:\\*\\(cp \\+ 6\\) \\\[len: 8]\\) map\\(alloc:cp \\\[pointer assign, bias: 6]\\)" 1 "original" } } */
11-
/* { dg-final { cleanup-tree-dump "original" } } */

gcc/testsuite/c-c++-common/goacc/present-1.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,3 @@ f (char *cp)
88
}
99

1010
/* { dg-final { scan-tree-dump-times "#pragma acc parallel map\\(force_present:\\*\\(cp \\+ 7\\) \\\[len: 9]\\) map\\(alloc:cp \\\[pointer assign, bias: 7]\\)" 1 "original" } } */
11-
/* { dg-final { cleanup-tree-dump "original" } } */

gcc/testsuite/c-c++-common/gomp/atomic-10.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,3 @@ foo (void)
2222
}
2323

2424
/* { dg-final { scan-tree-dump-times "__atomic_fetch_add" 4 "ompexp" } } */
25-
/* { dg-final { cleanup-tree-dump "ompexp" } } */

gcc/testsuite/c-c++-common/gomp/atomic-12.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
/* atomicvar should never be referenced in between the barrier and
55
following #pragma omp atomic_load. */
66
/* { dg-final { scan-tree-dump-not "barrier\[^#\]*atomicvar" "gimple" } } */
7-
/* { dg-final { cleanup-tree-dump "gimple" } } */
87

98
#ifdef __cplusplus
109
bool atomicvar, c;

gcc/testsuite/c-c++-common/gomp/atomic-13.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,5 @@
44
/* atomicvar should never be referenced in between the barrier and
55
following #pragma omp atomic_load. */
66
/* { dg-final { scan-tree-dump-not "barrier\[^#\]*atomicvar" "gimple" } } */
7-
/* { dg-final { cleanup-tree-dump "gimple" } } */
87

98
#include "atomic-12.c"

gcc/testsuite/c-c++-common/gomp/atomic-3.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,3 @@ void f1(void)
1111
}
1212

1313
/* { dg-final { scan-tree-dump-times "xyzzy, 4" 1 "ompexp" } } */
14-
/* { dg-final { cleanup-tree-dump "ompexp" } } */

gcc/testsuite/c-c++-common/gomp/atomic-9.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,3 @@ void f1(void)
1111
}
1212

1313
/* { dg-final { scan-tree-dump-times "__atomic_fetch_add" 1 "ompexp" } } */
14-
/* { dg-final { cleanup-tree-dump "ompexp" } } */

gcc/testsuite/c-c++-common/pr46562-2.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,3 @@ int foo(void)
1010
}
1111

1212
/* { dg-final { scan-tree-dump "return 0;" "fre1" } } */
13-
/* { dg-final { cleanup-tree-dump "fre1" } } */

gcc/testsuite/c-c++-common/pr46562.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,3 @@ int foo(void)
1010
}
1111

1212
/* { dg-final { scan-tree-dump "return 0;" "ccp1" } } */
13-
/* { dg-final { cleanup-tree-dump "ccp1" } } */

gcc/testsuite/c-c++-common/pr56493.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,3 @@ foo (void)
1313

1414
/* Verify we narrow the addition from unsigned long long to unsigned int type. */
1515
/* { dg-final { scan-tree-dump " (\[a-zA-Z._0-9]*) = \\(unsigned int\\) \[^;\n\r]*;.* (\[a-zA-Z._0-9]*) = \\(unsigned int\\) \[^;\n\r]*;.* = \\1 \\+ \\2;" "gimple" { target { ilp32 || lp64 } } } } */
16-
/* { dg-final { cleanup-tree-dump "gimple" } } */

gcc/testsuite/c-c++-common/raw-string-11.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,3 @@ int main ()
1010
sizeof ("foo%sbar%sfred%sbob?""?""?""?""?"));
1111
}
1212

13-
// { dg-final { cleanup-saved-temps } }

gcc/testsuite/c-c++-common/raw-string-18.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,3 @@ main ()
1818

1919
/* Verify call to foo is on line 15. */
2020
/* { dg-final { scan-tree-dump "c:15:\[^\n\r\]*foo" "optimized" } } */
21-
/* { dg-final { cleanup-tree-dump "optimized" } } */

gcc/testsuite/c-c++-common/raw-string-19.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,3 @@ main ()
1818

1919
/* Verify call to foo is on line 15. */
2020
/* { dg-final { scan-tree-dump "c:15:\[^\n\r\]*foo" "optimized" } } */
21-
/* { dg-final { cleanup-tree-dump "optimized" } } */
22-
/* { dg-final { cleanup-saved-temps } } */

gcc/testsuite/c-c++-common/restrict-1.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,3 @@ int main()
1717
}
1818

1919
/* { dg-final { scan-tree-dump-not "link_error" "optimized" } } */
20-
/* { dg-final { cleanup-tree-dump "optimized" } } */

gcc/testsuite/c-c++-common/restrict-2.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,3 @@ void foo (float * __restrict__ a, float * __restrict__ b, int n, int j)
1111
/* We should move the RHS of the store out of the loop. */
1212

1313
/* { dg-final { scan-tree-dump-times "Moving statement" 11 "lim1" } } */
14-
/* { dg-final { cleanup-tree-dump "lim1" } } */

gcc/testsuite/c-c++-common/restrict-4.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,3 @@ void bar(struct Foo f, int * __restrict__ q)
1616
}
1717

1818
/* { dg-final { scan-tree-dump "Executing store motion" "lim1" } } */
19-
/* { dg-final { cleanup-tree-dump "lim1" } } */

gcc/testsuite/c-c++-common/rotate-1.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
/* { dg-do compile } */
33
/* { dg-options "-O2 -fno-ipa-icf -fdump-tree-optimized" } */
44
/* { dg-final { scan-tree-dump-times "r\[<>]\[<>]" 96 "optimized" } } */
5-
/* { dg-final { cleanup-tree-dump "optimized" } } */
65

76
unsigned int
87
f1 (unsigned int x, unsigned int y)

gcc/testsuite/c-c++-common/rotate-2.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
/* Rotates should be recognized only in functions with | instead of + or ^,
55
or in functions that have constant shift counts (unused attribute on y). */
66
/* { dg-final { scan-tree-dump-times "r\[<>]\[<>]" 48 "optimized" } } */
7-
/* { dg-final { cleanup-tree-dump "optimized" } } */
87

98
unsigned int
109
f1 (unsigned int x, unsigned int y)

gcc/testsuite/c-c++-common/rotate-3.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
/* { dg-do compile } */
33
/* { dg-options "-O2 -fno-ipa-icf -fdump-tree-optimized" } */
44
/* { dg-final { scan-tree-dump-times "r\[<>]\[<>]" 96 "optimized" } } */
5-
/* { dg-final { cleanup-tree-dump "optimized" } } */
65

76
unsigned int
87
f1 (unsigned int x, int y)

gcc/testsuite/c-c++-common/rotate-4.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
/* Rotates should be recognized only in functions with | instead of + or ^,
55
or in functions that have constant shift counts (unused attribute on y). */
66
/* { dg-final { scan-tree-dump-times "r\[<>]\[<>]" 48 "optimized" } } */
7-
/* { dg-final { cleanup-tree-dump "optimized" } } */
87

98
unsigned int
109
f1 (unsigned int x, int y)

gcc/testsuite/c-c++-common/tm/20100127.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,3 @@ void test(void *data)
3333
}
3434

3535
/* { dg-final { scan-tree-dump-times "_ITM_W.*nontrxn" 0 "tmmark" } } */
36-
/* { dg-final { cleanup-tree-dump "tmmark" } } */

gcc/testsuite/c-c++-common/tm/ipa-1.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,3 @@ int set_remove(void)
2020

2121

2222
/* { dg-final { scan-ipa-dump-not "getTMCloneOrIrrevocable" "tmipa" } } */
23-
/* { dg-final { cleanup-ipa-dump "tmipa" } } */

0 commit comments

Comments
 (0)