https://gcc.gnu.org/g:6e0ffa9e8f36223700ff0cef30ba14305e8a8074
commit r16-61-g6e0ffa9e8f36223700ff0cef30ba14305e8a8074 Author: Andrew Pinski <quic_apin...@quicinc.com> Date: Mon Apr 21 20:52:38 2025 -0700 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_apin...@quicinc.com> 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 50afa75a43f8..c68536ff671b 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" }