From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1698) id 88F023858D1E; Sat, 27 Apr 2024 16:10:28 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 88F023858D1E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1714234228; bh=QfSOw9pfBf2Zy2QSdlX6Id3v0/X9T+2LMoE7KHgtEjM=; h=From:To:Subject:Date:From; b=MmUlOG51Ah7Z18FLOPA9Cfj34+AHMfmmER9C4OglQ96G+HTeYMlPGnmLo260TsFyw UMLs9PLvlCxMkhNtXeRH+ewBkGvaG9qNyMoywzjz+YhiLqPLvI9PF/e32A1qK2pFDx UBZZoK9DaCI/4bwaHxq1V++yU6V+xN1jn1R8Afgo= MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" From: Iain D Sandoe To: gcc-cvs@gcc.gnu.org Subject: [gcc r11-11379] testsuite, Darwin: Skip g++.dg/debug/dwarf2/pr85550.C X-Act-Checkin: gcc X-Git-Author: Iain Sandoe X-Git-Refname: refs/heads/releases/gcc-11 X-Git-Oldrev: 248b70a39b361ec425a5ba1131bc54f1a319f121 X-Git-Newrev: b7c784f58fa7b4afe4cd8546a698df03b88b6fed Message-Id: <20240427161028.88F023858D1E@sourceware.org> Date: Sat, 27 Apr 2024 16:10:28 +0000 (GMT) List-Id: https://gcc.gnu.org/g:b7c784f58fa7b4afe4cd8546a698df03b88b6fed commit r11-11379-gb7c784f58fa7b4afe4cd8546a698df03b88b6fed Author: Iain Sandoe Date: Sun Oct 1 20:38:44 2023 +0100 testsuite, Darwin: Skip g++.dg/debug/dwarf2/pr85550.C There are two problems here; first that the emitted asm for -fdebug-types-section is ELF-specfic leading to assembler errors for Mach-O. If we fix this, we get a secondary fail since the debug linker does not recognise DW_FORM_ref_sig8. Disable ths test until we get DWARF-5 support in the external Darwin toolchain components. gcc/testsuite/ChangeLog: * g++.dg/debug/dwarf2/pr85550.C: Skip for Darwin. Signed-off-by: Iain Sandoe (cherry picked from commit 76547f4c97b1c0744487d624c5e2e5a15d0370a9) Diff: --- gcc/testsuite/g++.dg/debug/dwarf2/pr85550.C | 1 + 1 file changed, 1 insertion(+) diff --git a/gcc/testsuite/g++.dg/debug/dwarf2/pr85550.C b/gcc/testsuite/g++.dg/debug/dwarf2/pr85550.C index 35b0f56e959..c95f75255d4 100644 --- a/gcc/testsuite/g++.dg/debug/dwarf2/pr85550.C +++ b/gcc/testsuite/g++.dg/debug/dwarf2/pr85550.C @@ -2,6 +2,7 @@ // { dg-do link } // { dg-options "-O2 -g -fdebug-types-section" } // { dg-skip-if "AIX DWARF5" { powerpc-ibm-aix* } } +// { dg-skip-if "No debug linker support" { *-*-darwin* } } struct A { int bar () const { return 0; }