From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8091 invoked by alias); 13 Feb 2019 22:54:22 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 8076 invoked by uid 89); 13 Feb 2019 22:54:22 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-26.9 required=5.0 tests=BAYES_00,GIT_PATCH_0,GIT_PATCH_1,GIT_PATCH_2,GIT_PATCH_3,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy= X-HELO: relay1.mentorg.com Received: from relay1.mentorg.com (HELO relay1.mentorg.com) (192.94.38.131) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 13 Feb 2019 22:54:21 +0000 Received: from nat-ies.mentorg.com ([192.94.31.2] helo=SVR-IES-MBX-03.mgc.mentorg.com) by relay1.mentorg.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-SHA384:256) id 1gu3Q1-0003E8-Hf from joseph_myers@mentor.com ; Wed, 13 Feb 2019 14:54:17 -0800 Received: from digraph.polyomino.org.uk (137.202.0.90) by SVR-IES-MBX-03.mgc.mentorg.com (139.181.222.3) with Microsoft SMTP Server (TLS) id 15.0.1320.4; Wed, 13 Feb 2019 22:54:13 +0000 Received: from jsm28 (helo=localhost) by digraph.polyomino.org.uk with local-esmtp (Exim 4.90_1) (envelope-from ) id 1gu3Px-0007bG-Bl; Wed, 13 Feb 2019 22:54:13 +0000 Date: Wed, 13 Feb 2019 22:54:00 -0000 From: Joseph Myers To: "H.J. Lu" CC: Jakub Jelinek , GCC Patches Subject: Re: PING^1: [PATCH] driver: Also prune joined switches with negation In-Reply-To: Message-ID: References: <20190208230206.19946-1-hjl.tools@gmail.com> <20190212234028.GS2135@tucnak> <20190213074345.GU2135@tucnak> <20190213080223.GV2135@tucnak> User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" X-SW-Source: 2019-02/txt/msg00993.txt.bz2 On Wed, 13 Feb 2019, H.J. Lu wrote: > Like this? This patch is missing any updates to options.texi to discuss the interation of Negative and RejectNegative with Joined. > diff --git a/gcc/testsuite/gcc.dg/pr69471-1.c b/gcc/testsuite/gcc.dg/pr69471-1.c > new file mode 100644 > index 00000000000..3eac3b5bdbc > --- /dev/null > +++ b/gcc/testsuite/gcc.dg/pr69471-1.c > @@ -0,0 +1,9 @@ > +/* { dg-do compile } */ > +/* { dg-options "-Wno-implicit-function-declaration -Wno-int-conversion -fno-builtin-free -fno-builtin-malloc" } */ > + > +void * > +foo (void * p) > +{ > + free (p); > + return malloc (p); How does this test verify that both -fno-builtin-* options are in effect? That is, how does it fail if you remove either or both of those options? -- Joseph S. Myers joseph@codesourcery.com