aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-data-ref.c
diff options
context:
space:
mode:
authorDavid Edelsohn <dje.gcc@gmail.com>2021-01-21 14:17:10 -0500
committerDavid Edelsohn <dje.gcc@gmail.com>2021-01-21 18:49:33 -0500
commit9929d04ee24dfe0a8b27eff7aaa4ff7a768186e5 (patch)
tree7b9ec6b8b427e8067af83dc1b54d0db56ec1e7c7 /gcc/tree-data-ref.c
parent68ba1039c7daf0485b167fe199ed7e8031158091 (diff)
downloadgcc-9929d04ee24dfe0a8b27eff7aaa4ff7a768186e5.zip
gcc-9929d04ee24dfe0a8b27eff7aaa4ff7a768186e5.tar.gz
gcc-9929d04ee24dfe0a8b27eff7aaa4ff7a768186e5.tar.bz2
testsuite: Adjust cpp2a/lambda-uneval regrex
Both lambda-uneval1.C and lambda-uneval5.C test that a symbol is not declared global by looking for "globl" assembler directive. The testcases generate the "lglobl" directive in AIX XCOFF, which is a false positive. This patch restricts the regex to ignore a prepended "l". The patch also tightens the regex to specifically look for space, tab or period between the "globl" and the symbol. Tested on powerpc-ibm-aix7.2.3.0 and powerpc64le-linux-gnu. * g++.dg/cpp2a/lambda-uneval1.C: Ignore preceding "l" and intervening period. * g++.dg/cpp2a/lambda-uneval5.C: Ignore preceding "l" and explicitly check for intervening space, tab or period.
Diffstat (limited to 'gcc/tree-data-ref.c')
0 files changed, 0 insertions, 0 deletions