diff options
author | Hans-Peter Nilsson <hp@bitrange.com> | 2020-07-28 01:41:47 +0200 |
---|---|---|
committer | Hans-Peter Nilsson <hp@bitrange.com> | 2020-07-28 01:41:47 +0200 |
commit | 1b024c9a29701fce8c6aa0d2a321829a07b39123 (patch) | |
tree | 7909a6e66fcc0e6a9955e94820c80b7f28be5fa2 | |
parent | 6cd1038f11d824a384f3f46c86bc0d2ce5a9012f (diff) | |
download | gcc-1b024c9a29701fce8c6aa0d2a321829a07b39123.zip gcc-1b024c9a29701fce8c6aa0d2a321829a07b39123.tar.gz gcc-1b024c9a29701fce8c6aa0d2a321829a07b39123.tar.bz2 |
gcc.dg/torture/pr39074-2.c, pr39074.c, pta-callused-1.c: Adjust for mmix.
These FAILs for mmix showed up as regressions for me due to a
flaw in the btest-gcc.sh test-results-accounting: a bug was
recently fixed regarding the naming of dump-files so the names
are again correct. To wit, parts of the tests that were
UNRESOLVED, due to missing dump-files, and ignored in the
presence of other parts (execution, excess errors) PASSing,
became FAIL, trumping the PASSing parts of the tests.
As in a recent patch, the variables are "privatized" using
ASM_PN_FORMAT for MMIX and the lines to match look like:
y::0_1 = { i }
y::0_1, points-to NULL, points-to vars: { D.1465 } (nonlocal, escaped)
instead of e.g. for cris-elf:
y.0_1 = { i }
y.0_1, points-to NULL, points-to vars: { D.1433 } (nonlocal, escaped)
Also checked that the general pattern still matches for cris-elf.
gcc/testsuite:
* gcc.dg/torture/pr39074-2.c: Adjust for mmix.
* gcc.dg/torture/pr39074.c, gcc.dg/torture/pta-callused-1.c: Ditto.
-rw-r--r-- | gcc/testsuite/gcc.dg/torture/pr39074-2.c | 4 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/torture/pr39074.c | 4 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/torture/pta-callused-1.c | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/gcc/testsuite/gcc.dg/torture/pr39074-2.c b/gcc/testsuite/gcc.dg/torture/pr39074-2.c index 0693f2d..7286a4f 100644 --- a/gcc/testsuite/gcc.dg/torture/pr39074-2.c +++ b/gcc/testsuite/gcc.dg/torture/pr39074-2.c @@ -30,5 +30,5 @@ int main() return 0; } -/* { dg-final { scan-tree-dump "y.._. = { i }" "alias" } } */ -/* { dg-final { scan-tree-dump "y.._., points-to NULL, points-to vars: { D..... }" "alias" } } */ +/* { dg-final { scan-tree-dump "y.\?.._. = { i }" "alias" } } */ +/* { dg-final { scan-tree-dump "y.\?.._., points-to NULL, points-to vars: { D..... }" "alias" } } */ diff --git a/gcc/testsuite/gcc.dg/torture/pr39074.c b/gcc/testsuite/gcc.dg/torture/pr39074.c index 54c444e..40ecdb9 100644 --- a/gcc/testsuite/gcc.dg/torture/pr39074.c +++ b/gcc/testsuite/gcc.dg/torture/pr39074.c @@ -29,5 +29,5 @@ int main() return 0; } -/* { dg-final { scan-tree-dump "y.._. = { i }" "alias" } } */ -/* { dg-final { scan-tree-dump "y.._., points-to NULL, points-to vars: { D..... }" "alias" } } */ +/* { dg-final { scan-tree-dump "y.\?.._. = { i }" "alias" } } */ +/* { dg-final { scan-tree-dump "y.\?.._., points-to NULL, points-to vars: { D..... }" "alias" } } */ diff --git a/gcc/testsuite/gcc.dg/torture/pta-callused-1.c b/gcc/testsuite/gcc.dg/torture/pta-callused-1.c index b35959c..0ca6ac9 100644 --- a/gcc/testsuite/gcc.dg/torture/pta-callused-1.c +++ b/gcc/testsuite/gcc.dg/torture/pta-callused-1.c @@ -21,4 +21,4 @@ int main() return 0; } -/* { dg-final { scan-tree-dump "p.._. = { i j }" "alias" } } */ +/* { dg-final { scan-tree-dump "p.\?.._. = { i j }" "alias" } } */ |