From: John David Anglin <[email protected]> Local labels start with L$ on hpux.
2026-10-18 John David Anglin <[email protected]> gcc/testsuite/ChangeLog: * g++.dg/modules/src-loc-1_a.H: Adjust regexp. * g++.dg/modules/src-loc-1_c.C: Likewise. --- gcc/testsuite/g++.dg/modules/src-loc-1_a.H | 2 +- gcc/testsuite/g++.dg/modules/src-loc-1_c.C | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gcc/testsuite/g++.dg/modules/src-loc-1_a.H b/gcc/testsuite/g++.dg/modules/src-loc-1_a.H index 794552e726f47..7b82f65647f3e 100644 --- a/gcc/testsuite/g++.dg/modules/src-loc-1_a.H +++ b/gcc/testsuite/g++.dg/modules/src-loc-1_a.H @@ -4,4 +4,4 @@ #include "src-loc-1.h" -// { dg-final { scan-lang-dump {Written:-[0-9]* internal identifier:[^\n\r]*[lL]src_loc} module } } +// { dg-final { scan-lang-dump {Written:-[0-9]* internal identifier:[^\n\r]*[lL][$]*src_loc} module } } diff --git a/gcc/testsuite/g++.dg/modules/src-loc-1_c.C b/gcc/testsuite/g++.dg/modules/src-loc-1_c.C index c74fb5782a366..d2ef62f06469e 100644 --- a/gcc/testsuite/g++.dg/modules/src-loc-1_c.C +++ b/gcc/testsuite/g++.dg/modules/src-loc-1_c.C @@ -13,4 +13,4 @@ int main() { __builtin_abort(); } -// { dg-final { scan-lang-dump {Read internal identifier:-[0-9]* [^\n\r]*[lL]src_loc} module } } +// { dg-final { scan-lang-dump {Read internal identifier:-[0-9]* [^\n\r]*[lL][$]*src_loc} module } } -- 2.54.0
