]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Skip g++.dg/eh/pr119507.C on arm eabi
authorAndrew Pinski <quic_apinski@quicinc.com>
Tue, 22 Apr 2025 03:52:38 +0000 (20:52 -0700)
committerAndrew Pinski <quic_apinski@quicinc.com>
Tue, 22 Apr 2025 04:15:03 +0000 (21:15 -0700)
arm eabi emits the exception table using the handlerdata directive
and does not use a comdat section for comdat functions. So this
testcase should be skipped for arm eabi.

Pushed as obvious after a quick test.

gcc/testsuite/ChangeLog:

* g++.dg/eh/pr119507.C: Skip for arm eabi.

Signed-off-by: Andrew Pinski <quic_apinski@quicinc.com>
gcc/testsuite/g++.dg/eh/pr119507.C

index 50afa75a43f8cee108e6b5cd12f1654491dd6268..c68536ff671bd5da45569e80c2be5fb294d2d1ad 100644 (file)
@@ -1,4 +1,6 @@
 // { dg-do compile { target comdat_group } }
+// ARM EABI has its own exception handling data handling and does not use gcc_except_table
+// { dg-skip-if "!TARGET_EXCEPTION_DATA" { arm_eabi } }
 // Force off function sections
 // Force on exceptions
 // { dg-options "-fno-function-sections -fexceptions" }