allow $ in scan-tree-dump expressions matching symbol names
authorOlivier Hainque <hainque@adacore.com>
Mon, 30 Dec 2019 22:28:18 +0000 (22:28 +0000)
committerOlivier Hainque <hainque@gcc.gnu.org>
Mon, 30 Dec 2019 22:28:18 +0000 (22:28 +0000)
commit8ee81b4d275bac80210cc39bb8c93e1f73e1f307
tree7b1ef0f696b7df268e14f09522d67a845e3ac188
parent2f7f96b166e840c8b40666e07a027afe4768cef4
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
gcc/testsuite/ChangeLog
gcc/testsuite/c-c++-common/pr56493.c
gcc/testsuite/gcc.dg/tree-ssa/sra-17.c
gcc/testsuite/gcc.dg/tree-ssa/sra-18.c