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

Reply via email to