aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Pinski <quic_apinski@quicinc.com>2025-04-21 20:52:38 -0700
committerAndrew Pinski <quic_apinski@quicinc.com>2025-04-21 21:15:03 -0700
commit6e0ffa9e8f36223700ff0cef30ba14305e8a8074 (patch)
treecbf9bb04feacbd2c521d112f0745afcf9c3bf9bb
parent958312c6575620a5895fc914ff3c5bf9af7547c9 (diff)
downloadgcc-6e0ffa9e8f36223700ff0cef30ba14305e8a8074.zip
gcc-6e0ffa9e8f36223700ff0cef30ba14305e8a8074.tar.gz
gcc-6e0ffa9e8f36223700ff0cef30ba14305e8a8074.tar.bz2
Skip g++.dg/eh/pr119507.C on arm eabi
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>
-rw-r--r--gcc/testsuite/g++.dg/eh/pr119507.C2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/testsuite/g++.dg/eh/pr119507.C b/gcc/testsuite/g++.dg/eh/pr119507.C
index 50afa75..c68536f 100644
--- a/gcc/testsuite/g++.dg/eh/pr119507.C
+++ b/gcc/testsuite/g++.dg/eh/pr119507.C
@@ -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" }