diff options
author | Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> | 2025-04-23 13:09:40 +0200 |
---|---|---|
committer | Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> | 2025-04-23 13:09:40 +0200 |
commit | 0ccdedd571a54878df856948ee5d9cf5d28251dd (patch) | |
tree | 62aa7746ae75dad2c4d53c2191129693832d133f /gcc/testsuite/g++.dg/cpp2a/keywords1.C | |
parent | 466c80a885ccbd5186cd57b0785cf38b8cf2ff2f (diff) | |
download | gcc-master.zip gcc-master.tar.gz gcc-master.tar.bz2 |
The new g++.dg/eh/pr119507.C test FAILs on Solaris/SPARC with the native as:
FAIL: g++.dg/eh/pr119507.C -std=gnu++17 scan-assembler-times .section[\\t ][^\\n]*.gcc_except_table._Z6comdatv 1
FAIL: g++.dg/eh/pr119507.C -std=gnu++17 scan-assembler-times .section[\\t ][^\\n]*.gcc_except_table._Z7comdat1v 1
FAIL: g++.dg/eh/pr119507.C -std=gnu++26 scan-assembler-times .section[\\t ][^\\n]*.gcc_except_table._Z6comdatv 1
FAIL: g++.dg/eh/pr119507.C -std=gnu++26 scan-assembler-times .section[\\t ][^\\n]*.gcc_except_table._Z7comdat1v 1
FAIL: g++.dg/eh/pr119507.C -std=gnu++98 scan-assembler-times .section[\\t ][^\\n]*.gcc_except_table._Z6comdatv 1
FAIL: g++.dg/eh/pr119507.C -std=gnu++98 scan-assembler-times .section[\\t ][^\\n]*.gcc_except_table._Z7comdat1v 1
This happens because the syntax for COMDAT sections is vastly different
from the one used by gas.
Rather than trying to handle this, this patch just skips the test.
Tested on sparc-sun-solaris2.11 with both as and gas,
i386-pc-solaris2.11, and x86_64-pc-linux-gnu.
2025-04-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
gcc/testsuite:
* g++.dg/eh/pr119507.C: Skip on sparc*-*-solaris2* && !gas.
Diffstat (limited to 'gcc/testsuite/g++.dg/cpp2a/keywords1.C')
0 files changed, 0 insertions, 0 deletions