From patchwork Mon Aug 5 01:55:20 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alan Modra X-Patchwork-Id: 1141944 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-506178-incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b="KDdacFnT"; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="RTnJIzA2"; 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 46217g057Wz9sN4 for ; Mon, 5 Aug 2019 11:55:40 +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:date :from:to:cc:subject:message-id:mime-version:content-type; q=dns; s=default; b=HFTPRcno/UbDRtvO+CNqlsdnTE/j0RNZl1fTEp2Hs0WURKpvEF AJoMz6hz03NhcBwYWzGQjbMvnypPjvuIbeW/bvGzUIK8jrcD/DLd3OooC6HOgXx5 F6hdBiSoyohRVuet8BGMp6l3vUjcyPXTi/e1dJ9dDulmaUKVtimOX1lPQ= 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:date :from:to:cc:subject:message-id:mime-version:content-type; s= default; bh=DO7UNH3CzOxVmKyctJXUBu4fVyo=; b=KDdacFnTz0cxSUYwguyM rmT9c6onpqMp9LOjk0mJHtZ5C8IjrrWa+k91R84hlFoDaFSnW795U46rG0l26MGi ZAAv5oMvZ9/69tMaw0OFhGydScxeDQCjtmvbig5QoQTMuCTnLbcQ/20JUgFENJ4X 1UJafXqpwzsthP9L5CX+ec4= Received: (qmail 75372 invoked by alias); 5 Aug 2019 01:55:29 -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 75335 invoked by uid 89); 5 Aug 2019 01:55:28 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-22.2 required=5.0 tests=AWL, BAYES_00, FREEMAIL_FROM, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, KAM_SHORT, RCVD_IN_DNSWL_NONE, SPF_PASS autolearn=ham version=3.3.1 spammy=australia, Australia, HX-HELO:sk:mail-pl, HX-Spam-Relays-External:sk:mail-pl X-HELO: mail-pl1-f169.google.com Received: from mail-pl1-f169.google.com (HELO mail-pl1-f169.google.com) (209.85.214.169) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 05 Aug 2019 01:55:26 +0000 Received: by mail-pl1-f169.google.com with SMTP id k8so35827223plt.3 for ; Sun, 04 Aug 2019 18:55:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:mime-version:content-disposition :user-agent; bh=0NHdV0GSJKMciXKnQy2i9xFOhXXyf0gjadnb6cIce6U=; b=RTnJIzA2KSNr6djjum8BvK5soJXkkzeIijjZgi3Uc24sGizcGf4rSxSwbodfvJQAti gzFmg90nik6t46zBOXig4k7V5FyEqptpxBuUn4sjYZ81gK03/5JdK8jZof1qu1BEedD0 ifHaEB8TJ8YwQyFld8rIt6fHFqL6cAaPe+wimrBgT7JSLZsXsqbrZjcVTpxRF7C/H+TK ImPy+JQncNGLxT5+2pJRnCilHZfzgQaDA5clvRP/q0T9ogeLIvtI1XR0amUOaG5wYERJ itZWbljkWm6ooGextFDYKbYNVnjU7nGOYc+H1m2hT+jecfC4jtiI4fBx+42vylRlRr4J WCmA== Received: from bubble.grove.modra.org (158.106.96.58.static.exetel.com.au. [58.96.106.158]) by smtp.gmail.com with ESMTPSA id a21sm90851109pfi.27.2019.08.04.18.55.23 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Sun, 04 Aug 2019 18:55:24 -0700 (PDT) Received: by bubble.grove.modra.org (Postfix, from userid 1000) id 6554E80524; Mon, 5 Aug 2019 11:25:20 +0930 (ACST) Date: Mon, 5 Aug 2019 11:25:20 +0930 From: Alan Modra To: gcc-patches@gcc.gnu.org Cc: Segher Boessenkool Subject: PR91349, powerpc64*-*-freebsd* defines _GNU_SOURCE Message-ID: <20190805015520.GO27255@bubble.grove.modra.org> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.9.4 (2018-02-28) X-IsSubscribed: yes rev 266496 (git ab6b1bb456) undefined some macros in rs6000/freebsd.h but missed doing the same in rs6000/freebsd64.h. Fixed by making the obvious (and preapproved) patch. PR target/91349 * config/rs6000/freebsd64.h (CPLUSPLUS_CPP_SPEC), (LINK_GCC_C_SEQUENCE_SPEC): Undef. diff --git a/gcc/config/rs6000/freebsd64.h b/gcc/config/rs6000/freebsd64.h index 4951275c963..9367a6e40f3 100644 --- a/gcc/config/rs6000/freebsd64.h +++ b/gcc/config/rs6000/freebsd64.h @@ -17,6 +17,10 @@ along with GCC; see the file COPYING3. If not see . */ +/* Undef gnu-user.h macros we don't want. */ +#undef CPLUSPLUS_CPP_SPEC +#undef LINK_GCC_C_SEQUENCE_SPEC + /* Override the defaults, which exist to force the proper definition. */ #ifdef IN_LIBGCC2