mirror of
https://gcc.gnu.org/git/gcc.git
synced 2024-11-30 23:35:00 +08:00
testsuite: auto-wipe dump files
gcc/testsuite/ChangeLog 2015-05-29 Bernhard Reutner-Fischer <aldot@gcc.gnu.org> * 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 <aldot@gcc.gnu.org> * 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 <aldot@gcc.gnu.org> * 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. From-SVN: r223858
This commit is contained in:
parent
90bb09c4f7
commit
c469078de7
@ -1,3 +1,14 @@
|
||||
2015-05-29 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
|
||||
|
||||
* 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.
|
||||
|
||||
|
||||
2015-05-28 Andreas Tobler <andreast@gcc.gnu.org>
|
||||
|
||||
* configure.ac: Move the atoll check from AC_CHECK_FUNCS to
|
||||
|
@ -138,7 +138,6 @@ let emit_epilogue chan features regexps =
|
||||
else
|
||||
()
|
||||
);
|
||||
Printf.fprintf chan "/* { dg-final { cleanup-saved-temps } } */\n"
|
||||
|
||||
(* Check a list of C types to determine which ones are pointers and which
|
||||
ones are const. *)
|
||||
|
@ -2213,13 +2213,17 @@ Check branch and/or call counts, in addition to line counts, in
|
||||
|
||||
@subsubsection Clean up generated test files
|
||||
|
||||
Usually the test-framework removes files that were generated during
|
||||
testing. If a testcase, for example, uses any dumping mechanism to
|
||||
inspect a passes dump file, the testsuite recognized the dump option
|
||||
passed to the tool and schedules a final cleanup to remove these files.
|
||||
|
||||
There are, however, following additional cleanup directives that can be
|
||||
used to annotate a testcase "manually".
|
||||
@table @code
|
||||
@item cleanup-coverage-files
|
||||
Removes coverage data files generated for this test.
|
||||
|
||||
@item cleanup-ipa-dump @var{suffix}
|
||||
Removes IPA dump files generated for this test.
|
||||
|
||||
@item cleanup-modules "@var{list-of-extra-modules}"
|
||||
Removes Fortran module files generated for this test, excluding the
|
||||
module names listed in keep-modules.
|
||||
@ -2254,21 +2258,23 @@ end module keep2
|
||||
! @{ dg-final @{ keep-modules "" @} @} ! keep all
|
||||
@end smallexample
|
||||
|
||||
@item dg-keep-saved-temps "@var{list-of-suffixes-not-to-delete}"
|
||||
Whitespace separated list of suffixes that should not be deleted
|
||||
automatically in a testcase that uses @option{-save-temps}.
|
||||
@smallexample
|
||||
// @{ dg-options "-save-temps -fpch-preprocess -I." @}
|
||||
int main() @{ return 0; @}
|
||||
// @{ dg-keep-saved-temps ".s" @} ! just keep assembler file
|
||||
// @{ dg-keep-saved-temps ".s" ".i" @} ! ... and .i
|
||||
// @{ dg-keep-saved-temps ".ii" ".o" @} ! or just .ii and .o
|
||||
@end smallexample
|
||||
|
||||
@item cleanup-profile-file
|
||||
Removes profiling files generated for this test.
|
||||
|
||||
@item cleanup-repo-files
|
||||
Removes files generated for this test for @option{-frepo}.
|
||||
|
||||
@item cleanup-rtl-dump @var{suffix}
|
||||
Removes RTL dump files generated for this test.
|
||||
|
||||
@item cleanup-saved-temps
|
||||
Removes files for the current test which were kept for @option{-save-temps}.
|
||||
|
||||
@item cleanup-tree-dump @var{suffix}
|
||||
Removes tree dump files matching @var{suffix} which were generated for
|
||||
this test.
|
||||
@end table
|
||||
|
||||
@node Ada Tests
|
||||
|
@ -1,3 +1,20 @@
|
||||
2015-05-29 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
|
||||
|
||||
* 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.
|
||||
|
||||
2015-05-28 DJ Delorie <dj@redhat.com>
|
||||
|
||||
* gcc.c-torture/execute/pr65369.c: Don't assume int is 32 bits.
|
||||
|
@ -25,4 +25,3 @@ Perl_do_sv_dump()
|
||||
}
|
||||
|
||||
/* { dg-final { scan-tree-dump-times "ASAN_CHECK" 2 "asan1" } } */
|
||||
/* { dg-final { cleanup-tree-dump "asan1" } } */
|
||||
|
@ -18,4 +18,3 @@ main ()
|
||||
|
||||
/* { dg-final { scan-tree-dump-times "ASAN_" 1 "asan0" } } */
|
||||
/* { dg-final { scan-tree-dump "ASAN_CHECK \\(.*, 4\\);" "asan0" } } */
|
||||
/* { dg-final { cleanup-tree-dump "asan0" } } */
|
||||
|
@ -10,4 +10,3 @@ int foo ()
|
||||
}
|
||||
|
||||
/* { dg-final { scan-tree-dump-times "ASAN_CHECK" 0 "asan1" } } */
|
||||
/* { dg-final { cleanup-tree-dump "asan1" } } */
|
||||
|
@ -57,4 +57,3 @@ main ()
|
||||
|
||||
/* { dg-final { scan-tree-dump-times "__builtin___asan_report_store1" 3 "sanopt" } } */
|
||||
/* { dg-final { scan-tree-dump-not "__builtin___asan_report_load1" "sanopt" } } */
|
||||
/* { dg-final { cleanup-tree-dump "sanopt" } } */
|
||||
|
@ -15,4 +15,3 @@ foo ()
|
||||
}
|
||||
|
||||
/* { dg-final { scan-tree-dump-times "__builtin___asan_report_store4" 1 "sanopt" } } */
|
||||
/* { dg-final { cleanup-tree-dump "sanopt" } } */
|
||||
|
@ -17,4 +17,3 @@ foo ()
|
||||
|
||||
/* { dg-final { scan-tree-dump-not "& 7" "sanopt" } } */
|
||||
/* { dg-final { scan-tree-dump-not "__builtin___asan_report_store" "sanopt" } } */
|
||||
/* { dg-final { cleanup-tree-dump "sanopt" } } */
|
||||
|
@ -13,4 +13,3 @@ foo (char *p)
|
||||
}
|
||||
|
||||
/* { dg-final { scan-tree-dump-times "__builtin___asan_report_store1" 1 "sanopt" } } */
|
||||
/* { dg-final { cleanup-tree-dump "sanopt" } } */
|
||||
|
@ -12,4 +12,3 @@ foo (char *p)
|
||||
}
|
||||
|
||||
/* { dg-final { scan-tree-dump-times "__builtin___asan_report_store1" 1 "sanopt" } } */
|
||||
/* { dg-final { cleanup-tree-dump "sanopt" } } */
|
||||
|
@ -12,4 +12,3 @@ foo (char *p)
|
||||
}
|
||||
|
||||
/* { dg-final { scan-tree-dump-not "__builtin___asan_report_store1" "sanopt" } } */
|
||||
/* { dg-final { cleanup-tree-dump "sanopt" } } */
|
||||
|
@ -13,4 +13,3 @@ foo (char *p)
|
||||
}
|
||||
|
||||
/* { dg-final { scan-tree-dump-times "__builtin___asan_report_store1" 1 "sanopt" } } */
|
||||
/* { dg-final { cleanup-tree-dump "sanopt" } } */
|
||||
|
@ -15,4 +15,3 @@ foo (__INT32_TYPE__ *p)
|
||||
/* { dg-final { scan-tree-dump-times "__builtin___asan_report" 2 "sanopt" } } */
|
||||
/* { dg-final { scan-tree-dump-times "__builtin___asan_report_load1" 1 "sanopt" } } */
|
||||
/* { dg-final { scan-tree-dump-times "__builtin___asan_report_store" 1 "sanopt" } } */
|
||||
/* { dg-final { cleanup-tree-dump "sanopt" } } */
|
||||
|
@ -14,4 +14,3 @@ foo (int *a, char *b, char *c)
|
||||
/* { dg-final { scan-tree-dump-times "& 7" 2 "sanopt" } } */
|
||||
/* { dg-final { scan-tree-dump-times "__builtin___asan_report_load1" 1 "sanopt" } } */
|
||||
/* { dg-final { scan-tree-dump-times "__builtin___asan_report_load4" 1 "sanopt" } } */
|
||||
/* { dg-final { cleanup-tree-dump "sanopt" } } */
|
||||
|
@ -13,4 +13,3 @@ foo (int *a, char *b, char *c)
|
||||
|
||||
/* { dg-final { scan-tree-dump-times "& 7" 1 "sanopt" } } */
|
||||
/* { dg-final { scan-tree-dump-times "__builtin___asan_report_load4" 1 "sanopt" } } */
|
||||
/* { dg-final { cleanup-tree-dump "sanopt" } } */
|
||||
|
@ -16,4 +16,3 @@ foo (int *a, char *b, char *c)
|
||||
/* { dg-final { scan-tree-dump-times "& 7" 4 "sanopt" } } */
|
||||
/* { dg-final { scan-tree-dump-times "__builtin___asan_report_load1" 2 "sanopt" } } */
|
||||
/* { dg-final { scan-tree-dump-times "__builtin___asan_report_load4" 2 "sanopt" } } */
|
||||
/* { dg-final { cleanup-tree-dump "sanopt" } } */
|
||||
|
@ -20,4 +20,3 @@ foo (int *a, char *b, char *c)
|
||||
|
||||
/* { dg-final { scan-tree-dump-not "& 7" "sanopt" } } */
|
||||
/* { dg-final { scan-tree-dump-not "__builtin___asan_report_load4" "sanopt" } } */
|
||||
/* { dg-final { cleanup-tree-dump "sanopt" } } */
|
||||
|
@ -17,4 +17,3 @@ foo (int *a, char *b, char *c)
|
||||
/* { dg-final { scan-tree-dump-times "& 7" 4 "sanopt" } } */
|
||||
/* { dg-final { scan-tree-dump-times "__builtin___asan_report_load1" 2 "sanopt" } } */
|
||||
/* { dg-final { scan-tree-dump-times "__builtin___asan_report_load4" 2 "sanopt" } } */
|
||||
/* { dg-final { cleanup-tree-dump "sanopt" } } */
|
||||
|
@ -17,4 +17,3 @@ int foo (struct st * s_p)
|
||||
}
|
||||
|
||||
/* { dg-final { scan-tree-dump-times "& 7" 0 "sanopt" } } */
|
||||
/* { dg-final { cleanup-tree-dump "sanopt" } } */
|
||||
|
@ -17,4 +17,3 @@ int foo (struct st * s_p)
|
||||
}
|
||||
|
||||
/* { dg-final { scan-tree-dump-times "& 7" 1 "sanopt" } } */
|
||||
/* { dg-final { cleanup-tree-dump "sanopt" } } */
|
||||
|
@ -8,4 +8,3 @@ int f (int *p)
|
||||
}
|
||||
|
||||
/* { dg-final { scan-tree-dump "12345" "sanopt" } } */
|
||||
/* { dg-final { cleanup-tree-dump "sanopt" } } */
|
||||
|
@ -7,5 +7,4 @@ int y __attribute__((section(".yyy"))) = 1;
|
||||
int z __attribute__((section(".zzz"))) = 1;
|
||||
|
||||
/* { dg-final { scan-tree-dump "__builtin___asan_unregister_globals \\(.*, 2\\);" "sanopt" } } */
|
||||
/* { dg-final { cleanup-tree-dump "sanopt" } } */
|
||||
|
||||
|
@ -7,5 +7,4 @@ int y __attribute__((section(".x2"))) = 1;
|
||||
int z __attribute__((section(".x3"))) = 1;
|
||||
|
||||
/* { dg-final { scan-tree-dump "__builtin___asan_unregister_globals \\(.*, 3\\);" "sanopt" } } */
|
||||
/* { dg-final { cleanup-tree-dump "sanopt" } } */
|
||||
|
||||
|
@ -7,5 +7,4 @@ int y __attribute__((section(".x2"))) = 1;
|
||||
int z __attribute__((section(".y1"))) = 1;
|
||||
|
||||
/* { dg-final { scan-tree-dump "__builtin___asan_unregister_globals \\(.*, 1\\);" "sanopt" } } */
|
||||
/* { dg-final { cleanup-tree-dump "sanopt" } } */
|
||||
|
||||
|
@ -15,4 +15,3 @@ void foo()
|
||||
/* { dg-final { scan-tree-dump-times "linear\\(j:4\\)" 1 "original" } } */
|
||||
/* { dg-final { scan-tree-dump-times "linear\\(k:1\\)" 1 "original" } } */
|
||||
/* { dg-final { scan-tree-dump-times "safelen\\(4\\)" 1 "original" } } */
|
||||
/* { dg-final { cleanup-tree-dump "original" } } */
|
||||
|
@ -11,4 +11,3 @@ void foo()
|
||||
}
|
||||
|
||||
/* { dg-final { scan-tree-dump-times "safelen\\(8\\)" 1 "gimple" } } */
|
||||
/* { dg-final { cleanup-tree-dump "gimple" } } */
|
||||
|
@ -11,4 +11,3 @@ foo (int *a, int *b, int *c)
|
||||
a[i] = b[i] * c[i];
|
||||
}
|
||||
|
||||
/* { dg-final { cleanup-saved-temps } } */
|
||||
|
@ -4,4 +4,3 @@
|
||||
|
||||
#include "pr63831-1.c"
|
||||
|
||||
/* { dg-final { cleanup-saved-temps } } */
|
||||
|
@ -42,4 +42,3 @@ int f5 (int i)
|
||||
/* { dg-final { scan-tree-dump-times "\& 15" 1 "original" } } */
|
||||
/* { dg-final { scan-tree-dump-times "return \[^\n0-9\]*0;" 2 "original" } } */
|
||||
/* { dg-final { scan-tree-dump-times "\& 7" 1 "original" } } */
|
||||
/* { dg-final { cleanup-tree-dump "original" } } */
|
||||
|
@ -8,4 +8,3 @@ fx (int *b, int *e)
|
||||
}
|
||||
|
||||
/* { dg-final { scan-tree-dump-not "/\\\[ex\\\]" "original" } } */
|
||||
/* { dg-final { cleanup-tree-dump "original" } } */
|
||||
|
@ -22,4 +22,3 @@ f (void)
|
||||
/* Without -fopenacc, we're expecting one call.
|
||||
{ dg-final { scan-rtl-dump-times "\\\(call \[^\\n\]* acc_on_device" 1 "expand" } } */
|
||||
|
||||
/* { dg-final { cleanup-rtl-dump "expand" } } */
|
||||
|
@ -26,4 +26,3 @@ f (void)
|
||||
<openacc.h>.
|
||||
{ dg-final { scan-rtl-dump-times "\\\(call \[^\\n\]* acc_on_device" 0 "expand" { xfail c++ } } } */
|
||||
|
||||
/* { dg-final { cleanup-rtl-dump "expand" } } */
|
||||
|
@ -11,4 +11,3 @@ f (int i, int j)
|
||||
}
|
||||
|
||||
/* { dg-final { scan-tree-dump-times "#pragma acc loop collapse\\(2\\) private\\(j\\) private\\(i\\)" 1 "gimple" } } */
|
||||
/* { dg-final { cleanup-tree-dump "gimple" } } */
|
||||
|
@ -8,4 +8,3 @@ f (char *cp)
|
||||
}
|
||||
|
||||
/* { dg-final { scan-tree-dump-times "#pragma acc parallel map\\(tofrom:\\*\\(cp \\+ 3\\) \\\[len: 5]\\) map\\(alloc:cp \\\[pointer assign, bias: 3]\\)" 1 "original" } } */
|
||||
/* { dg-final { cleanup-tree-dump "original" } } */
|
||||
|
@ -8,4 +8,3 @@ f (char *cp)
|
||||
}
|
||||
|
||||
/* { dg-final { scan-tree-dump-times "#pragma acc parallel map\\(to:\\*\\(cp \\+ 4\\) \\\[len: 6]\\) map\\(alloc:cp \\\[pointer assign, bias: 4]\\)" 1 "original" } } */
|
||||
/* { dg-final { cleanup-tree-dump "original" } } */
|
||||
|
@ -8,4 +8,3 @@ f (char *cp)
|
||||
}
|
||||
|
||||
/* { dg-final { scan-tree-dump-times "#pragma acc parallel map\\(from:\\*\\(cp \\+ 5\\) \\\[len: 7]\\) map\\(alloc:cp \\\[pointer assign, bias: 5]\\)" 1 "original" } } */
|
||||
/* { dg-final { cleanup-tree-dump "original" } } */
|
||||
|
@ -8,4 +8,3 @@ f (char *cp)
|
||||
}
|
||||
|
||||
/* { dg-final { scan-tree-dump-times "#pragma acc parallel map\\(alloc:\\*\\(cp \\+ 6\\) \\\[len: 8]\\) map\\(alloc:cp \\\[pointer assign, bias: 6]\\)" 1 "original" } } */
|
||||
/* { dg-final { cleanup-tree-dump "original" } } */
|
||||
|
@ -8,4 +8,3 @@ f (char *cp)
|
||||
}
|
||||
|
||||
/* { 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" } } */
|
||||
/* { dg-final { cleanup-tree-dump "original" } } */
|
||||
|
@ -22,4 +22,3 @@ foo (void)
|
||||
}
|
||||
|
||||
/* { dg-final { scan-tree-dump-times "__atomic_fetch_add" 4 "ompexp" } } */
|
||||
/* { dg-final { cleanup-tree-dump "ompexp" } } */
|
||||
|
@ -4,7 +4,6 @@
|
||||
/* atomicvar should never be referenced in between the barrier and
|
||||
following #pragma omp atomic_load. */
|
||||
/* { dg-final { scan-tree-dump-not "barrier\[^#\]*atomicvar" "gimple" } } */
|
||||
/* { dg-final { cleanup-tree-dump "gimple" } } */
|
||||
|
||||
#ifdef __cplusplus
|
||||
bool atomicvar, c;
|
||||
|
@ -4,6 +4,5 @@
|
||||
/* atomicvar should never be referenced in between the barrier and
|
||||
following #pragma omp atomic_load. */
|
||||
/* { dg-final { scan-tree-dump-not "barrier\[^#\]*atomicvar" "gimple" } } */
|
||||
/* { dg-final { cleanup-tree-dump "gimple" } } */
|
||||
|
||||
#include "atomic-12.c"
|
||||
|
@ -11,4 +11,3 @@ void f1(void)
|
||||
}
|
||||
|
||||
/* { dg-final { scan-tree-dump-times "xyzzy, 4" 1 "ompexp" } } */
|
||||
/* { dg-final { cleanup-tree-dump "ompexp" } } */
|
||||
|
@ -11,4 +11,3 @@ void f1(void)
|
||||
}
|
||||
|
||||
/* { dg-final { scan-tree-dump-times "__atomic_fetch_add" 1 "ompexp" } } */
|
||||
/* { dg-final { cleanup-tree-dump "ompexp" } } */
|
||||
|
@ -10,4 +10,3 @@ int foo(void)
|
||||
}
|
||||
|
||||
/* { dg-final { scan-tree-dump "return 0;" "fre1" } } */
|
||||
/* { dg-final { cleanup-tree-dump "fre1" } } */
|
||||
|
@ -10,4 +10,3 @@ int foo(void)
|
||||
}
|
||||
|
||||
/* { dg-final { scan-tree-dump "return 0;" "ccp1" } } */
|
||||
/* { dg-final { cleanup-tree-dump "ccp1" } } */
|
||||
|
@ -13,4 +13,3 @@ foo (void)
|
||||
|
||||
/* Verify we narrow the addition from unsigned long long to unsigned int type. */
|
||||
/* { 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 } } } } */
|
||||
/* { dg-final { cleanup-tree-dump "gimple" } } */
|
||||
|
@ -10,4 +10,3 @@ int main ()
|
||||
sizeof ("foo%sbar%sfred%sbob?""?""?""?""?"));
|
||||
}
|
||||
|
||||
// { dg-final { cleanup-saved-temps } }
|
||||
|
@ -18,4 +18,3 @@ main ()
|
||||
|
||||
/* Verify call to foo is on line 15. */
|
||||
/* { dg-final { scan-tree-dump "c:15:\[^\n\r\]*foo" "optimized" } } */
|
||||
/* { dg-final { cleanup-tree-dump "optimized" } } */
|
||||
|
@ -18,5 +18,3 @@ main ()
|
||||
|
||||
/* Verify call to foo is on line 15. */
|
||||
/* { dg-final { scan-tree-dump "c:15:\[^\n\r\]*foo" "optimized" } } */
|
||||
/* { dg-final { cleanup-tree-dump "optimized" } } */
|
||||
/* { dg-final { cleanup-saved-temps } } */
|
||||
|
@ -17,4 +17,3 @@ int main()
|
||||
}
|
||||
|
||||
/* { dg-final { scan-tree-dump-not "link_error" "optimized" } } */
|
||||
/* { dg-final { cleanup-tree-dump "optimized" } } */
|
||||
|
@ -11,4 +11,3 @@ void foo (float * __restrict__ a, float * __restrict__ b, int n, int j)
|
||||
/* We should move the RHS of the store out of the loop. */
|
||||
|
||||
/* { dg-final { scan-tree-dump-times "Moving statement" 11 "lim1" } } */
|
||||
/* { dg-final { cleanup-tree-dump "lim1" } } */
|
||||
|
@ -16,4 +16,3 @@ void bar(struct Foo f, int * __restrict__ q)
|
||||
}
|
||||
|
||||
/* { dg-final { scan-tree-dump "Executing store motion" "lim1" } } */
|
||||
/* { dg-final { cleanup-tree-dump "lim1" } } */
|
||||
|
@ -2,7 +2,6 @@
|
||||
/* { dg-do compile } */
|
||||
/* { dg-options "-O2 -fno-ipa-icf -fdump-tree-optimized" } */
|
||||
/* { dg-final { scan-tree-dump-times "r\[<>]\[<>]" 96 "optimized" } } */
|
||||
/* { dg-final { cleanup-tree-dump "optimized" } } */
|
||||
|
||||
unsigned int
|
||||
f1 (unsigned int x, unsigned int y)
|
||||
|
@ -4,7 +4,6 @@
|
||||
/* Rotates should be recognized only in functions with | instead of + or ^,
|
||||
or in functions that have constant shift counts (unused attribute on y). */
|
||||
/* { dg-final { scan-tree-dump-times "r\[<>]\[<>]" 48 "optimized" } } */
|
||||
/* { dg-final { cleanup-tree-dump "optimized" } } */
|
||||
|
||||
unsigned int
|
||||
f1 (unsigned int x, unsigned int y)
|
||||
|
@ -2,7 +2,6 @@
|
||||
/* { dg-do compile } */
|
||||
/* { dg-options "-O2 -fno-ipa-icf -fdump-tree-optimized" } */
|
||||
/* { dg-final { scan-tree-dump-times "r\[<>]\[<>]" 96 "optimized" } } */
|
||||
/* { dg-final { cleanup-tree-dump "optimized" } } */
|
||||
|
||||
unsigned int
|
||||
f1 (unsigned int x, int y)
|
||||
|
@ -4,7 +4,6 @@
|
||||
/* Rotates should be recognized only in functions with | instead of + or ^,
|
||||
or in functions that have constant shift counts (unused attribute on y). */
|
||||
/* { dg-final { scan-tree-dump-times "r\[<>]\[<>]" 48 "optimized" } } */
|
||||
/* { dg-final { cleanup-tree-dump "optimized" } } */
|
||||
|
||||
unsigned int
|
||||
f1 (unsigned int x, int y)
|
||||
|
@ -33,4 +33,3 @@ void test(void *data)
|
||||
}
|
||||
|
||||
/* { dg-final { scan-tree-dump-times "_ITM_W.*nontrxn" 0 "tmmark" } } */
|
||||
/* { dg-final { cleanup-tree-dump "tmmark" } } */
|
||||
|
@ -20,4 +20,3 @@ int set_remove(void)
|
||||
|
||||
|
||||
/* { dg-final { scan-ipa-dump-not "getTMCloneOrIrrevocable" "tmipa" } } */
|
||||
/* { dg-final { cleanup-ipa-dump "tmipa" } } */
|
||||
|
@ -23,4 +23,3 @@ void foobar(void)
|
||||
/* { dg-final { scan-tree-dump-times "__builtin__ITM_malloc" 1 "tmmark" } } */
|
||||
/* { dg-final { scan-tree-dump-times "__builtin__ITM_calloc" 1 "tmmark" } } */
|
||||
/* { dg-final { scan-tree-dump-times "__builtin__ITM_free" 2 "tmmark" } } */
|
||||
/* { dg-final { cleanup-tree-dump "tmmark" } } */
|
||||
|
@ -13,4 +13,3 @@ int main()
|
||||
}
|
||||
|
||||
/* { dg-final { scan-ipa-dump "GTMA_DOES_GO_IRREVOCABLE" "tmipa" } } */
|
||||
/* { dg-final { cleanup-ipa-dump "tmipa" } } */
|
||||
|
@ -11,4 +11,3 @@ int f2()
|
||||
|
||||
/* { dg-final { scan-tree-dump-times "ITM_RU" 2 "tmmark" } } */
|
||||
/* { dg-final { scan-tree-dump-times "ITM_commitTransaction" 4 "tmmark" } } */
|
||||
/* { dg-final { cleanup-tree-dump "tmmark" } } */
|
||||
|
@ -10,4 +10,3 @@ void foobar(void)
|
||||
|
||||
/* { dg-final { scan-tree-dump-times "_ITM_RU.*york" 1 "tmmark" } } */
|
||||
/* { dg-final { scan-tree-dump-times "_ITM_RU" 1 "tmmark" } } */
|
||||
/* { dg-final { cleanup-tree-dump "tmmark" } } */
|
||||
|
@ -7,4 +7,3 @@ void xyzzy(void) __attribute__((transaction_wrap (orig)));
|
||||
void foo() { __transaction_relaxed { orig (); } }
|
||||
|
||||
/* { dg-final { scan-tree-dump-times "xyzzy" 1 "optimized" } } */
|
||||
/* { dg-final { cleanup-tree-dump "optimized" } } */
|
||||
|
@ -30,4 +30,3 @@ main ()
|
||||
|
||||
/* { dg-output "\.c:16:\[0-9]*: \[^\n\r]*member access within misaligned address 0x\[0-9a-fA-F]* for type 'struct S', which requires \[48] byte alignment" } */
|
||||
/* { dg-final { scan-tree-dump-times "Optimizing" 4 "sanopt"} } */
|
||||
/* { dg-final { cleanup-tree-dump "sanopt" } } */
|
||||
|
@ -29,4 +29,3 @@ main ()
|
||||
}
|
||||
|
||||
/* { dg-final { scan-tree-dump-times "Optimizing" 4 "sanopt"} } */
|
||||
/* { dg-final { cleanup-tree-dump "sanopt" } } */
|
||||
|
@ -8,4 +8,3 @@ foo (int x, int y)
|
||||
return x + y;
|
||||
}
|
||||
|
||||
/* { dg-final { cleanup-ipa-dump "cgraph" } } */
|
||||
|
@ -38,4 +38,3 @@ main ()
|
||||
|
||||
/* { dg-final { scan-tree-dump-not "__ubsan_" "optimized" } } */
|
||||
/* { dg-final { scan-tree-dump-not "UBSAN_CHECK_" "optimized" } } */
|
||||
/* { dg-final { cleanup-tree-dump "optimized" } } */
|
||||
|
@ -39,4 +39,3 @@ main ()
|
||||
/* { dg-final { scan-tree-dump "__ubsan_" "optimized" } } */
|
||||
/* { dg-final { scan-tree-dump-not "__ubsan_\[a-z_\]*_abort" "optimized" } } */
|
||||
/* { dg-final { scan-tree-dump "UBSAN_CHECK_" "optimized" } } */
|
||||
/* { dg-final { cleanup-tree-dump "optimized" } } */
|
||||
|
@ -39,4 +39,3 @@ main ()
|
||||
/* { dg-final { scan-tree-dump "__ubsan_\[a-z_\]*_abort" "optimized" } } */
|
||||
/* { dg-final { scan-tree-dump-not "__ubsan_\[a-z_\]*\[^et\] " "optimized" } } */
|
||||
/* { dg-final { scan-tree-dump "UBSAN_CHECK_" "optimized" } } */
|
||||
/* { dg-final { cleanup-tree-dump "optimized" } } */
|
||||
|
@ -11,4 +11,3 @@ void f (veci *a)
|
||||
}
|
||||
|
||||
/* { dg-final { scan-tree-dump-times " \\\+ 1" 1 "gimple" } } */
|
||||
/* { dg-final { cleanup-tree-dump "gimple" } } */
|
||||
|
@ -14,4 +14,3 @@ int *foo ()
|
||||
|
||||
// { dg-final { scan-assembler _ZGVZ3foovE1x,8,8 } }
|
||||
// { dg-final { scan-tree-dump "_ZGVZ3foovE1x & 1" "original" } }
|
||||
// { dg-final { cleanup-tree-dump "original" } }
|
||||
|
@ -4,8 +4,9 @@
|
||||
/* { dg-additional-options "-DLARGE_LONG_DOUBLE" { target large_long_double } } */
|
||||
/* { dg-additional-options "-DGNU_EXTENSION" { target pow10 } } */
|
||||
/* { dg-add-options ieee } */
|
||||
/* { dg-final { scan-tree-dump "cdce3.C:91: note: function call is shrink-wrapped into error conditions\." "cdce" { target pow10 } } } */
|
||||
/* { dg-final { scan-tree-dump "cdce3.C:92: note: function call is shrink-wrapped into error conditions\." "cdce" { target pow10 } } } */
|
||||
/* { dg-final { scan-tree-dump "cdce3.C:93: note: function call is shrink-wrapped into error conditions\." "cdce" { target pow10 } } } */
|
||||
/* { dg-final { scan-tree-dump "cdce3.C:94: note: function call is shrink-wrapped into error conditions\." "cdce" } } */
|
||||
/* { dg-final { scan-tree-dump "cdce3.C:95: note: function call is shrink-wrapped into error conditions\." "cdce" } } */
|
||||
/* { dg-final { scan-tree-dump "cdce3.C:96: note: function call is shrink-wrapped into error conditions\." "cdce" } } */
|
||||
/* { dg-final { scan-tree-dump "cdce3.C:97: note: function call is shrink-wrapped into error conditions\." "cdce" } } */
|
||||
@ -19,8 +20,6 @@
|
||||
/* { dg-final { scan-tree-dump "cdce3.C:105: note: function call is shrink-wrapped into error conditions\." "cdce" } } */
|
||||
/* { dg-final { scan-tree-dump "cdce3.C:106: note: function call is shrink-wrapped into error conditions\." "cdce" } } */
|
||||
/* { dg-final { scan-tree-dump "cdce3.C:107: note: function call is shrink-wrapped into error conditions\." "cdce" } } */
|
||||
/* { dg-final { scan-tree-dump "cdce3.C:108: note: function call is shrink-wrapped into error conditions\." "cdce" } } */
|
||||
/* { dg-final { cleanup-tree-dump "cdce" } } */
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <math.h>
|
||||
|
@ -1,7 +1,6 @@
|
||||
// PR preprocessor/57757
|
||||
// { dg-do compile { target c++11 } }
|
||||
// { dg-options "-save-temps" }
|
||||
// { dg-final cleanup-saved-temps }
|
||||
|
||||
#define S(x) x
|
||||
extern S("C")void exit (int);
|
||||
|
@ -12,7 +12,6 @@ struct A
|
||||
A a(42); // constexpr constructor allows constant initialization
|
||||
A ar[3] = { { 1 }, { 2 }, { 3 } };
|
||||
// { dg-final { scan-assembler-not "static_initialization" } }
|
||||
// { dg-final cleanup-saved-temps }
|
||||
|
||||
int main()
|
||||
{
|
||||
|
@ -1,7 +1,6 @@
|
||||
// Test for constant initialization of class with vtable
|
||||
// { dg-options "-save-temps" }
|
||||
// { dg-final { scan-assembler-not "static_initialization" } }
|
||||
// { dg-final cleanup-saved-temps }
|
||||
// { dg-do run { target c++11 } }
|
||||
|
||||
int r = 1;
|
||||
|
@ -16,4 +16,3 @@ unsigned int f4 ()
|
||||
// { dg-final { scan-tree-dump-times "= f1 \\(\\)" 1 "optimized" } }
|
||||
// { dg-final { scan-tree-dump-times "= f2 \\(\\)" 1 "optimized" } }
|
||||
// { dg-final { scan-tree-dump-times "= f3 \\(\\)" 1 "optimized" } }
|
||||
// { dg-final { cleanup-tree-dump "optimized" } }
|
||||
|
@ -2,7 +2,6 @@
|
||||
// { dg-do compile { target c++11 } }
|
||||
// { dg-options "-O2 -fdump-tree-optimized" }
|
||||
// { dg-final { scan-tree-dump-not "_0" "optimized" } }
|
||||
// { dg-final { cleanup-tree-dump "optimized" } }
|
||||
|
||||
#include <initializer_list>
|
||||
|
||||
|
@ -2,7 +2,6 @@
|
||||
// We force the gimple dump to trigger use of lang_decl_name.
|
||||
// { dg-do compile { target c++11 } }
|
||||
// { dg-options "-fdump-tree-gimple" }
|
||||
// { dg-final { cleanup-tree-dump "gimple" } }
|
||||
|
||||
template < class T > void
|
||||
f (T t)
|
||||
|
@ -14,4 +14,3 @@ void f()
|
||||
}
|
||||
|
||||
// { dg-final { scan-tree-dump-times "catch" 1 "gimple" } }
|
||||
// { dg-final { cleanup-tree-dump "gimple" } }
|
||||
|
@ -29,4 +29,3 @@ bar (int i)
|
||||
}
|
||||
|
||||
/* { dg-final { scan-tree-dump-times "resx" 2 "eh" } } */
|
||||
/* { dg-final { cleanup-tree-dump "eh" } } */
|
||||
|
@ -28,4 +28,3 @@ bar (int i)
|
||||
}
|
||||
|
||||
/* { dg-final { scan-tree-dump-times "resx" 0 "eh" } } */
|
||||
/* { dg-final { cleanup-tree-dump "eh" } } */
|
||||
|
@ -16,4 +16,3 @@ bar (int i)
|
||||
}
|
||||
|
||||
/* { dg-final { scan-tree-dump-times "resx" 1 "eh" } } */
|
||||
/* { dg-final { cleanup-tree-dump "eh" } } */
|
||||
|
@ -19,4 +19,3 @@ vector_float f1 = { 1.0, 2.0, 3.0, 4.0 };
|
||||
vector_float_foo = { 3.0, 4.0, 5.0, 6.0 };
|
||||
vector_float_bar_eq { 8.0, 7.0, 6.0, 5.0 };
|
||||
|
||||
/* { dg-final { cleanup-saved-temps } } */
|
||||
|
@ -16,4 +16,3 @@ unsigned int f4 ()
|
||||
// { dg-final { scan-tree-dump-times "= f1 \\(\\)" 1 "optimized" } }
|
||||
// { dg-final { scan-tree-dump-times "= f2 \\(\\)" 1 "optimized" } }
|
||||
// { dg-final { scan-tree-dump-times "= f3 \\(\\)" 1 "optimized" } }
|
||||
// { dg-final { cleanup-tree-dump "optimized" } }
|
||||
|
@ -53,4 +53,3 @@ f4 (void)
|
||||
// { dg-final { scan-tree-dump-not "strrchr" "optimized" } }
|
||||
// { dg-final { scan-tree-dump-not "strpbrk" "optimized" } }
|
||||
// { dg-final { scan-tree-dump-not "strstr" "optimized" } }
|
||||
// { dg-final { cleanup-tree-dump "optimized" } }
|
||||
|
@ -2,7 +2,6 @@
|
||||
// { dg-do run }
|
||||
// { dg-options "-save-temps" }
|
||||
// { dg-final { scan-assembler "_ZN1CC4Ev" } }
|
||||
// { dg-final cleanup-saved-temps }
|
||||
|
||||
int i;
|
||||
struct A { A() {} };
|
||||
|
@ -14,4 +14,3 @@ vec f (void)
|
||||
|
||||
/* { dg-final { scan-tree-dump "{ 5, 13 }" "ccp1" } } */
|
||||
/* { dg-final { scan-tree-dump-not "VEC_COND_EXPR" "ccp1" } } */
|
||||
/* { dg-final { cleanup-tree-dump "ccp1" } } */
|
||||
|
@ -36,4 +36,3 @@ void j (vec *x, vec *y)
|
||||
/* { dg-final { scan-tree-dump "MIN_EXPR" "gimple" } } */
|
||||
/* { dg-final { scan-tree-dump "MAX_EXPR" "gimple" } } */
|
||||
/* { dg-final { scan-tree-dump-not "VEC_COND_EXPR" "gimple" } } */
|
||||
/* { dg-final { cleanup-tree-dump "gimple" } } */
|
||||
|
@ -19,4 +19,3 @@ void h(vec*a){
|
||||
|
||||
/* { dg-final { scan-tree-dump-not "~" "gimple" } } */
|
||||
/* { dg-final { scan-tree-dump-not "VEC_COND_EXPR" "gimple" } } */
|
||||
/* { dg-final { cleanup-tree-dump "gimple" } } */
|
||||
|
@ -15,4 +15,3 @@ void f2(bool p)
|
||||
}
|
||||
|
||||
/* { dg-final { scan-tree-dump-times "GOMP_barrier" 2 "gimple" } } */
|
||||
/* { dg-final { cleanup-tree-dump "gimple" } } */
|
||||
|
@ -32,4 +32,3 @@ void foo()
|
||||
}
|
||||
|
||||
// { dg-final { scan-tree-dump-times "terminate" 10 "omplower" } }
|
||||
// { dg-final { cleanup-tree-dump "omplower" } }
|
||||
|
@ -25,4 +25,3 @@ void foo (void)
|
||||
/* { dg-final { scan-tree-dump-times "GOMP_critical_end" 2 "omplower" } } */
|
||||
/* { dg-final { scan-tree-dump-times "GOMP_critical_name_start" 2 "omplower" } } */
|
||||
/* { dg-final { scan-tree-dump-times "GOMP_critical_name_end" 2 "omplower" } } */
|
||||
/* { dg-final { cleanup-tree-dump "omplower" } } */
|
||||
|
@ -22,4 +22,3 @@ void f2(bool p)
|
||||
}
|
||||
|
||||
/* { dg-final { scan-tree-dump-times "__sync_synchronize" 3 "gimple" } } */
|
||||
/* { dg-final { cleanup-tree-dump "gimple" } } */
|
||||
|
@ -14,4 +14,3 @@ void foo (int n)
|
||||
|
||||
/* { dg-final { scan-tree-dump-times "GOMP_loop_ordered_runtime_start" 1 "ompexp" } } */
|
||||
/* { dg-final { scan-tree-dump-times "GOMP_loop_ordered_runtime_next" 1 "ompexp" } } */
|
||||
/* { dg-final { cleanup-tree-dump "ompexp" } } */
|
||||
|
@ -15,4 +15,3 @@ void foo(void)
|
||||
}
|
||||
|
||||
// { dg-final { scan-tree-dump-times "omp_data_o" 0 "lower" } }
|
||||
// { dg-final { cleanup-tree-dump "lower" } }
|
||||
|
@ -14,4 +14,3 @@ void foo (int n)
|
||||
|
||||
/* { dg-final { scan-tree-dump-times "GOMP_loop_dynamic_start" 1 "ompexp" } } */
|
||||
/* { dg-final { scan-tree-dump-times "GOMP_loop_dynamic_next" 1 "ompexp" } } */
|
||||
/* { dg-final { cleanup-tree-dump "ompexp" } } */
|
||||
|
@ -14,4 +14,3 @@ void foo (int n)
|
||||
|
||||
/* { dg-final { scan-tree-dump-times "GOMP_loop_guided_start" 1 "ompexp" } } */
|
||||
/* { dg-final { scan-tree-dump-times "GOMP_loop_guided_next" 1 "ompexp" } } */
|
||||
/* { dg-final { cleanup-tree-dump "ompexp" } } */
|
||||
|
@ -14,4 +14,3 @@ void foo (int n)
|
||||
|
||||
/* { dg-final { scan-tree-dump-times "GOMP_loop_runtime_start" 1 "ompexp" } } */
|
||||
/* { dg-final { scan-tree-dump-times "GOMP_loop_runtime_next" 1 "ompexp" } } */
|
||||
/* { dg-final { cleanup-tree-dump "ompexp" } } */
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user