From: Andrew Pinski Date: Tue, 22 Apr 2025 03:52:38 +0000 (-0700) Subject: Skip g++.dg/eh/pr119507.C on arm eabi X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6e0ffa9e8f36223700ff0cef30ba14305e8a8074;p=thirdparty%2Fgcc.git 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 --- diff --git a/gcc/testsuite/g++.dg/eh/pr119507.C b/gcc/testsuite/g++.dg/eh/pr119507.C index 50afa75a43f..c68536ff671 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" }