mirror of
https://gcc.gnu.org/git/gcc.git
synced 2024-12-03 16:54:27 +08:00
[testsuite] Fix gcc.dg/pr115066.c fail on aarch64
On aarch64, I get this failure: ... FAIL: gcc.dg/pr115066.c scan-assembler \\.byte\\t0xb\\t# Define macro strx ... This happens because we expect to match: ... .byte 0xb # Define macro strx ... but instead we get: ... .byte 0xb // Define macro strx ... Fix this by not explicitly matching the comment marker. Tested on aarch64 and x86_64. gcc/testsuite/ChangeLog: 2024-05-14 Tom de Vries <tdevries@suse.de> * gcc.dg/pr115066.c: Don't match comment marker.
This commit is contained in:
parent
f97d86f897
commit
c1356e8cc9
@ -2,7 +2,7 @@
|
||||
/* { dg-skip-if "split DWARF unsupported" { hppa*-*-hpux* powerpc*-ibm-aix* *-*-darwin* } } */
|
||||
/* { dg-options "-gsplit-dwarf -g3 -dA -gdwarf-4" } */
|
||||
/* { dg-final { scan-assembler-times {\.section\t"?\.debug_macro} 1 } } */
|
||||
/* { dg-final { scan-assembler-not {\.byte\t0x5\t# Define macro strp} } } */
|
||||
/* { dg-final { scan-assembler {\.byte\t0xb\t# Define macro strx} } } */
|
||||
/* { dg-final { scan-assembler-not {\.byte\t0x5\t[^\n\r]* Define macro strp} } } */
|
||||
/* { dg-final { scan-assembler {\.byte\t0xb\t[^\n\r]* Define macro strx} } } */
|
||||
|
||||
#define foo 1
|
||||
|
Loading…
Reference in New Issue
Block a user