[PATCH 7/7] testsuite: skip pr119507.C on alpha

Matt Turner <[email protected]>
Newsgroups gmane.comp.gcc.patches
Message-ID <[email protected]>
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.
---
 gcc/testsuite/g++.dg/eh/pr119507.C | 2 ++
 1 file changed, 2 insertions(+)

diff --git ./gcc/testsuite/g++.dg/eh/pr119507.C ./gcc/testsuite/g++.dg/eh/pr119507.C
index 467b1bc98ce..a589e811145 100644
--- ./gcc/testsuite/g++.dg/eh/pr119507.C
+++ ./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" }
-- 
2.54.0
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.