diff options
author | Jan Hubicka <jh@suse.cz> | 2023-07-07 23:04:15 +0200 |
---|---|---|
committer | Jan Hubicka <jh@suse.cz> | 2023-07-07 23:05:02 +0200 |
commit | ba8d3e566787b40e3a91fd259da19c7b59aa4c0f (patch) | |
tree | e17af7fe5b82464c6857ac55372917e0e4ed46f4 /gcc | |
parent | 275f7bc35fb864ef7867ff7e12bf5b27277ecc36 (diff) | |
download | gcc-ba8d3e566787b40e3a91fd259da19c7b59aa4c0f.zip gcc-ba8d3e566787b40e3a91fd259da19c7b59aa4c0f.tar.gz gcc-ba8d3e566787b40e3a91fd259da19c7b59aa4c0f.tar.bz2 |
Fix fallout from re-enabling profile consistency checks.
gcc/testsuite/ChangeLog:
* gcc.dg/pr43864-2.c: Avoid matching pre dump with details-blocks.
* gcc.dg/pr43864-3.c: Likewise.
* gcc.dg/pr43864-4.c: Likewise.
* gcc.dg/pr43864.c: Likewise.
* gcc.dg/unroll-7.c: xfail.
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/testsuite/gcc.dg/pr43864-2.c | 4 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/pr43864-3.c | 4 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/pr43864-4.c | 4 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/pr43864.c | 4 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/unroll-7.c | 2 |
5 files changed, 9 insertions, 9 deletions
diff --git a/gcc/testsuite/gcc.dg/pr43864-2.c b/gcc/testsuite/gcc.dg/pr43864-2.c index 102295a..ea247ac 100644 --- a/gcc/testsuite/gcc.dg/pr43864-2.c +++ b/gcc/testsuite/gcc.dg/pr43864-2.c @@ -1,5 +1,5 @@ /* { dg-do compile } */ -/* { dg-options "-O2 -ftree-tail-merge -fdump-tree-pre-details-blocks" } */ +/* { dg-options "-O2 -ftree-tail-merge -fdump-tree-pre -fdump-tree-optimized-blocks-details" } */ int f (int c, int b, int d) @@ -19,4 +19,4 @@ f (int c, int b, int d) /* { dg-final { scan-tree-dump-times "if " 0 "pre"} } */ /* { dg-final { scan-tree-dump-times "(?n)_.*\\+.*_" 1 "pre"} } */ -/* { dg-final { scan-tree-dump-not "Invalid sum" "pre"} } */ +/* { dg-final { scan-tree-dump-not "Invalid sum" "optimized"} } */ diff --git a/gcc/testsuite/gcc.dg/pr43864-3.c b/gcc/testsuite/gcc.dg/pr43864-3.c index f70b876..a771d4b 100644 --- a/gcc/testsuite/gcc.dg/pr43864-3.c +++ b/gcc/testsuite/gcc.dg/pr43864-3.c @@ -1,5 +1,5 @@ /* { dg-do compile } */ -/* { dg-options "-O2 -fdump-tree-pre-blocks-details" } */ +/* { dg-options "-O2 -fdump-tree-pre -fdump-tree-optimized-blocks-details" } */ /* Commutative case. */ @@ -20,4 +20,4 @@ int f(int c, int b, int d) /* { dg-final { scan-tree-dump-times "if " 0 "pre"} } */ /* { dg-final { scan-tree-dump-times "(?n)_.*\\+.*_" 1 "pre"} } */ -/* { dg-final { scan-tree-dump-not "Invalid sum" "pre"} } */ +/* { dg-final { scan-tree-dump-not "Invalid sum" "optimized"} } */ diff --git a/gcc/testsuite/gcc.dg/pr43864-4.c b/gcc/testsuite/gcc.dg/pr43864-4.c index 3de71fc..535d1cd 100644 --- a/gcc/testsuite/gcc.dg/pr43864-4.c +++ b/gcc/testsuite/gcc.dg/pr43864-4.c @@ -1,5 +1,5 @@ /* { dg-do compile } */ -/* { dg-options "-O2 -ftree-tail-merge -fdump-tree-pre-details-blocks" } */ +/* { dg-options "-O2 -ftree-tail-merge -fdump-tree-pre -fdump-tree-optimized-details-blocks" } */ /* Different stmt order. */ @@ -25,4 +25,4 @@ int f(int c, int b, int d) /* During PRE elimination we should simplify this to return b * 2. */ /* { dg-final { scan-tree-dump-times "if " 0 "pre" } } */ /* { dg-final { scan-tree-dump "_\[0-9\]+ = b_\[0-9\]+\\(D\\) \\* 2;\[\\r\\n\]\[^\\r\\n\]*return _\[0-9\]+;" "pre" } } */ -/* { dg-final { scan-tree-dump-not "Invalid sum" "pre"} } */ +/* { dg-final { scan-tree-dump-not "Invalid sum" "optimized"} } */ diff --git a/gcc/testsuite/gcc.dg/pr43864.c b/gcc/testsuite/gcc.dg/pr43864.c index 7bd1ba6..12849f5 100644 --- a/gcc/testsuite/gcc.dg/pr43864.c +++ b/gcc/testsuite/gcc.dg/pr43864.c @@ -1,5 +1,5 @@ /* { dg-do compile } */ -/* { dg-options "-O2 -fdump-tree-pre-details-blocks" } */ +/* { dg-options "-O2 -fdump-tree-pre -fdump-tree-optimized-blocks-details" } */ extern void foo (char*, int); extern void mysprintf (char *, char *); @@ -32,4 +32,4 @@ hprofStartupp (char *outputFileName, char *ctx) } /* { dg-final { scan-tree-dump-times "myfree \\(" 1 "pre"} } */ -/* { dg-final { scan-tree-dump-not "Invalid sum" "pre"} } */ +/* { dg-final { scan-tree-dump-not "Invalid sum" "optimized"} } */ diff --git a/gcc/testsuite/gcc.dg/unroll-7.c b/gcc/testsuite/gcc.dg/unroll-7.c index 17c5e53..650448d 100644 --- a/gcc/testsuite/gcc.dg/unroll-7.c +++ b/gcc/testsuite/gcc.dg/unroll-7.c @@ -15,4 +15,4 @@ int t(void) /* { dg-final { scan-rtl-dump "upper bound: 999999" "loop2_unroll" } } */ /* { dg-final { scan-rtl-dump "realistic bound: 999999" "loop2_unroll" } } */ /* { dg-final { scan-rtl-dump "considering unrolling loop with constant number of iterations" "loop2_unroll" } } */ -/* { dg-final { scan-rtl-dump-not "Invalid sum" "loop2_unroll" } } */ +/* { dg-final { scan-rtl-dump-not "Invalid sum" "loop2_unroll" {xfail *-*-* } } } */ |