From patchwork Thu Aug 16 14:35:34 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Iain Sandoe X-Patchwork-Id: 958331 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=gcc.gnu.org (client-ip=209.132.180.131; helo=sourceware.org; envelope-from=gcc-patches-return-483777-incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=sandoe.co.uk Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b="NwQPGbkX"; dkim-atps=neutral Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 41rpmH36Hkz9rvt for ; Fri, 17 Aug 2018 00:35:58 +1000 (AEST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:from :content-type:content-transfer-encoding:mime-version:subject :message-id:date:cc:to; q=dns; s=default; b=gnRww6u14t8d8ZBznhYt dYyOoNTsLttAsdkdG9B1mdAr+6y9o8CnXGiOobSYl55aLg4kRZ/h8wSN5WVvuB6W +9RClMcKhmWSeI3uKET9Lov7z1W74sOHveQRSP89MkChyFSIkzhO+DOfpCqV7fd1 Ip+5xb8BXeru7Q2CPAnCAmw= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:from :content-type:content-transfer-encoding:mime-version:subject :message-id:date:cc:to; s=default; bh=ibC25blPLpn1J0Cxz3hyb33eC0 4=; b=NwQPGbkX7EY/sEtBBg26llB2ajRedPXJMBnN12JJ28SRmgSGvzaOnKoc6F rC8ZlRXPwKavMaot/NYPH1nKiUXpiI5rsx7ENCfjT2/tMWkP2fdtWO2ZXzbkHe4i bMMvcMyoqJ5/raslCZU8r9tbvFBHZlAzM9pSpOVRoSqjlLfW0= Received: (qmail 69128 invoked by alias); 16 Aug 2018 14:35:42 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Received: (qmail 68967 invoked by uid 89); 16 Aug 2018 14:35:41 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-24.7 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, KAM_COUK, KAM_LAZY_DOMAIN_SECURITY autolearn=ham version=3.3.2 spammy=Hx-spam-relays-external:ESMTPA X-HELO: smtp2.wavenetuk.net Received: from lisa.wavenetuk.net (HELO smtp2.wavenetuk.net) (195.26.37.17) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 16 Aug 2018 14:35:39 +0000 Received: from euterpe-sie.home (host81-138-1-83.in-addr.btopenworld.com [81.138.1.83]) by smtp2.wavenetuk.net (Postfix) with ESMTPA id 5654B600278; Thu, 16 Aug 2018 15:35:37 +0100 (BST) From: Iain Sandoe Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: [PATCH, testsuite] Make pr80263 work for Darwin by suppressing pubnames/types. Message-Id: Date: Thu, 16 Aug 2018 15:35:34 +0100 Cc: Mike Stump To: GCC Patches Darwin emits pubnames/types by default which masks the intended check. OK for trunk? Iain gcc/testsuite * gcc.dg/debug/dwarf2/pr80263.c: Suppress pubtypes output for Darwin. --- gcc/testsuite/gcc.dg/debug/dwarf2/pr80263.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gcc/testsuite/gcc.dg/debug/dwarf2/pr80263.c b/gcc/testsuite/gcc.dg/debug/dwarf2/pr80263.c index 57633b4f0e..f1a6a33616 100644 --- a/gcc/testsuite/gcc.dg/debug/dwarf2/pr80263.c +++ b/gcc/testsuite/gcc.dg/debug/dwarf2/pr80263.c @@ -1,6 +1,8 @@ /* PR debug/80263 */ /* { dg-do compile } */ /* { dg-options "-g -dA" } */ +/* Darwin emits pubnames/types by default - suppress this for the test. */ +/* { dg-additional-options "-gno-pubnames" { target *-*-darwin* } } */ char array[1];