diff options
author | Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> | 2023-11-29 10:29:50 +0100 |
---|---|---|
committer | Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> | 2023-11-29 10:29:50 +0100 |
commit | 77f713a64aead2bcc68567de8431bdb67cb6b196 (patch) | |
tree | e2f3b1e663c7ef1c79ea6a5f5c73a1ae71b79efa /gcc/fold-const.cc | |
parent | 73a63efcdae4b979b4a1dcff2da7d68b905453a0 (diff) | |
download | gcc-77f713a64aead2bcc68567de8431bdb67cb6b196.zip gcc-77f713a64aead2bcc68567de8431bdb67cb6b196.tar.gz gcc-77f713a64aead2bcc68567de8431bdb67cb6b196.tar.bz2 |
testsuite: Handle double-quoted LTO section names [PR112728]
The gcc.dg/scantest-lto.c test FAILs on Solaris/SPARC with the native as:
FAIL: gcc.dg/scantest-lto.c scan-assembler-not ascii
FAIL: gcc.dg/scantest-lto.c scan-assembler-times ascii 0
It requires double-quoting the section name which scanasm.exp doesn't
allow for.
This patch fixes that.
Tested on sparc-sun-solaris2.11 (as and gas) and i386-pc-solaris2.11 (as
and gas).
2023-11-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
gcc/testsuite:
PR testsuite/112728
* lib/scanasm.exp (dg-scan): Allow for double-quoted LTO section names.
(scan-assembler-times): Likewise.
(scan-assembler-dem-not): Likewise.
Diffstat (limited to 'gcc/fold-const.cc')
0 files changed, 0 insertions, 0 deletions