[gcc r17-3376] [PATCH 7/7] testsuite: skip pr119507.C on alpha

Jeff Law via Gcc-cvs <[email protected]>
Newsgroups gmane.comp.gcc.cvs
Message-ID <[email protected]>
https://gcc.gnu.org/g:5b1f9c6c93d3bc1e9bbb958a44449819d6595348

commit r17-3376-g5b1f9c6c93d3bc1e9bbb958a44449819d6595348
Author: Matt Turner <[email protected]>
Date:   Tue Aug 18 08:41:51 2026 -0600

    [PATCH 7/7] testsuite: skip pr119507.C on alpha
    
    Alpha emits a single .gcc_except_table rather than per-function COMDAT
    sections, so the scans for .gcc_except_table._Z6comdatv never match.  Skip
    it as is already done for arm_eabi and Solaris/SPARC.
    
    gcc/testsuite/ChangeLog:
    
            * g++.dg/eh/pr119507.C: Skip on alpha.

Diff:
---
 gcc/testsuite/g++.dg/eh/pr119507.C | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/gcc/testsuite/g++.dg/eh/pr119507.C b/gcc/testsuite/g++.dg/eh/pr119507.C
index 467b1bc98ce4..a589e811145a 100644
--- a/gcc/testsuite/g++.dg/eh/pr119507.C
+++ b/gcc/testsuite/g++.dg/eh/pr119507.C
@@ -3,6 +3,8 @@
 // { dg-skip-if "!TARGET_EXCEPTION_DATA" { arm_eabi } }
 // Solaris/SPARC as uses a widely different COMDAT section syntax.
 // { dg-skip-if "Solaris/SPARC as syntax" { sparc*-*-* && solaris_as } }
+// Alpha emits a single .gcc_except_table rather than per-function COMDAT ones.
+// { dg-skip-if "no COMDAT exception tables" { alpha*-*-* } }
 // Force off function sections
 // Force on exceptions
 // { dg-options "-fno-function-sections -fexceptions" }
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.