https://gcc.gnu.org/g:c7a1a2e21c94d6a6d9af3602d7528db61ae887e4
commit r17-5301-gc7a1a2e21c94d6a6d9af3602d7528db61ae887e4 Author: John David Anglin <[email protected]> Date: Sun Oct 18 11:49:47 2026 -0400 testsuite: Fix regexps in src-loc-1_a.H and src-loc-1_c.C to match on hpux 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. Diff: --- 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 794552e726f4..7b82f65647f3 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 c74fb5782a36..d2ef62f06469 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 } }
