aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/c-c++-common
diff options
context:
space:
mode:
authorOlivier Hainque <hainque@adacore.com>2019-12-30 22:28:18 +0000
committerOlivier Hainque <hainque@gcc.gnu.org>2019-12-30 22:28:18 +0000
commit8ee81b4d275bac80210cc39bb8c93e1f73e1f307 (patch)
tree7b1ef0f696b7df268e14f09522d67a845e3ac188 /gcc/testsuite/c-c++-common
parent2f7f96b166e840c8b40666e07a027afe4768cef4 (diff)
downloadgcc-8ee81b4d275bac80210cc39bb8c93e1f73e1f307.zip
gcc-8ee81b4d275bac80210cc39bb8c93e1f73e1f307.tar.gz
gcc-8ee81b4d275bac80210cc39bb8c93e1f73e1f307.tar.bz2
allow $ in scan-tree-dump expressions matching symbol names
This change adjusts a few scan-tree-dump expressions to allow '$' as well as '.' when matching symbol names, This improves results on VxWorks targets configured with: #undef NO_DOLLAR_IN_LABEL #define NO_DOT_IN_LABEL 2019-12-20 Olivier Hainque <hainque@adacore.com> Jerome Lambourg <lambourg@adacore.com> * c-c++-common/pr56493.c: Allow '$' in addition to '.' scan-tree-dump expressions matching symbol names. * gcc.dg/tree-ssa/sra-17.c: Likewise. * gcc.dg/tree-ssa/sra-18.c: Likewise. Co-Authored-By: Jerome Lambourg <lambourg@adacore.com> From-SVN: r279794
Diffstat (limited to 'gcc/testsuite/c-c++-common')
-rw-r--r--gcc/testsuite/c-c++-common/pr56493.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/c-c++-common/pr56493.c b/gcc/testsuite/c-c++-common/pr56493.c
index aa7f6f4..bc9928d 100644
--- a/gcc/testsuite/c-c++-common/pr56493.c
+++ b/gcc/testsuite/c-c++-common/pr56493.c
@@ -12,4 +12,4 @@ 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 { 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 } } } } */