From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 52892 invoked by alias); 22 Sep 2016 20:14:03 -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 52879 invoked by uid 89); 22 Sep 2016 20:14:02 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-5.0 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2 spammy= X-HELO: aserp1040.oracle.com Received: from aserp1040.oracle.com (HELO aserp1040.oracle.com) (141.146.126.69) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 22 Sep 2016 20:14:01 +0000 Received: from aserv0022.oracle.com (aserv0022.oracle.com [141.146.126.234]) by aserp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id u8MKDr2o031259 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 22 Sep 2016 20:13:53 GMT Received: from userv0122.oracle.com (userv0122.oracle.com [156.151.31.75]) by aserv0022.oracle.com (8.14.4/8.14.4) with ESMTP id u8MKDrWq015299 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 22 Sep 2016 20:13:53 GMT Received: from abhmp0006.oracle.com (abhmp0006.oracle.com [141.146.116.12]) by userv0122.oracle.com (8.14.4/8.14.4) with ESMTP id u8MKDqcs031395; Thu, 22 Sep 2016 20:13:52 GMT Received: from [192.168.1.4] (/79.55.232.135) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Thu, 22 Sep 2016 13:13:52 -0700 Subject: Re: [PATCHv3][ARM] -mpure-code option for ARM To: "Andre Vieira (lists)" , "Richard Earnshaw (lists)" , gcc-patches@gcc.gnu.org, Jakub Jelinek References: <57752D6E.9070006@arm.com> <47c8a674-3af0-afff-776b-9d71c0d1bb46@st.com> <5783CFD1.2070500@arm.com> <57E3F2F7.9000409@arm.com> <36b8c97a-6f1b-f28a-b954-789d141d18bb@arm.com> <57E40F29.3010509@arm.com> From: Paolo Carlini Message-ID: <939c9bac-b006-8833-a73b-24aa8b0329b7@oracle.com> Date: Thu, 22 Sep 2016 20:20:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0 MIME-Version: 1.0 In-Reply-To: <57E40F29.3010509@arm.com> Content-Type: multipart/mixed; boundary="------------6B66C66B9651956EDA1A61C8" X-IsSubscribed: yes X-SW-Source: 2016-09/txt/msg01622.txt.bz2 This is a multi-part message in MIME format. --------------6B66C66B9651956EDA1A61C8 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Content-length: 779 Hi, On 22/09/2016 19:04, Andre Vieira (lists) wrote: > diff --git a/gcc/hooks.c b/gcc/hooks.c > index 99ec4014adb6fcbb073bf538dd00fe8695ee6cb2..1e925645c3173f8d97e104b9b2f480fca2ede438 100644 > --- a/gcc/hooks.c > +++ b/gcc/hooks.c > @@ -481,3 +481,13 @@ void > hook_void_gcc_optionsp (struct gcc_options *opts ATTRIBUTE_UNUSED) > { > } > + > +/* Generic hook that takes an unsigned int, an unsigned int pointer and > + returns false. */ > + > +bool > +hook_uint_uintp_false (unsigned int, unsigned int *) > +{ > + return false; > +} > + I don't see this change in the committed ChangeLog and, as is, it doesn't have a counterpart in hooks.h. Something as trivial as the below fixes the bootstrap error for me on x86_64-linux. Thanks, Paolo. //////////////////// --------------6B66C66B9651956EDA1A61C8 Content-Type: text/plain; charset=UTF-8; name="p" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="p" Content-length: 528 Index: hooks.h =================================================================== --- hooks.h (revision 240379) +++ hooks.h (working copy) @@ -76,6 +76,7 @@ extern void hook_void_tree (tree); extern void hook_void_tree_treeptr (tree, tree *); extern void hook_void_int_int (int, int); extern void hook_void_gcc_optionsp (struct gcc_options *); +extern bool hook_uint_uintp_false (unsigned int, unsigned int *); extern int hook_int_uint_mode_1 (unsigned int, machine_mode); extern int hook_int_const_tree_0 (const_tree); --------------6B66C66B9651956EDA1A61C8--