From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4256 invoked by alias); 9 Mar 2018 15:43:11 -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 4241 invoked by uid 89); 9 Mar 2018 15:43:11 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.9 required=5.0 tests=BAYES_00,KAM_LAZY_DOMAIN_SECURITY,KAM_SHORT,T_RP_MATCHES_RCVD autolearn=no version=3.3.2 spammy=reminders, HContent-Transfer-Encoding:8bit X-HELO: foss.arm.com Received: from usa-sjc-mx-foss1.foss.arm.com (HELO foss.arm.com) (217.140.101.70) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 09 Mar 2018 15:43:10 +0000 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id C77541529; Fri, 9 Mar 2018 07:43:08 -0800 (PST) Received: from [10.2.207.77] (e100706-lin.cambridge.arm.com [10.2.207.77]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id B7A153F53D; Fri, 9 Mar 2018 07:43:07 -0800 (PST) Message-ID: <5AA2AB8A.5010003@foss.arm.com> Date: Fri, 09 Mar 2018 15:43:00 -0000 From: Kyrill Tkachov User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-Version: 1.0 To: =?UTF-8?B?TWFydGluIExpxaFrYQ==?= , gcc-patches@gcc.gnu.org CC: Jakub Jelinek , Jan Hubicka , James Greenhalgh , Ramana Radhakrishnan Subject: Re: Add "native" as a valid option value for -march= on arm (PR driver/83193). References: <12f28b57-c526-c85e-5c9b-05fa5724cf17@suse.cz> <5A8D3A9A.3040202@foss.arm.com> <86ac9232-0038-d168-6f74-c4dc6338099b@suse.cz> <5A8EA274.70106@foss.arm.com> In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-SW-Source: 2018-03/txt/msg00439.txt.bz2 On 22/02/18 12:15, Martin Liška wrote: > On 02/22/2018 11:59 AM, Kyrill Tkachov wrote: >> Hi Martin, >> >> On 22/02/18 08:51, Martin Liška wrote: >>> On 02/21/2018 10:23 AM, Kyrill Tkachov wrote: >>>> On arm we also support "native" as a value for -mcpu and -mtune. These are both handled by >>>> the arm_print_hint_for_cpu_option function in the same file. Can you please add this snippet >>>> to them as well? >>> Hi. >>> >>> Can you please test for me attached follow up patch? >> I've bootstrapped and tested this patch on a native and a cross compiler and confirmed >> the help string for -mcpu behaves as intended. >> >> This patch is ok for trunk. >> Thanks, >> Kyrill > Thanks for review. May I please ask you for taking look at: > 2b) point in: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83193#c6 > > We should fix it (if possible) for GCC 8 as it's regression. Thanks for the reminders Martin. I've committed a patch to fix it with r258389. Kyrill > Thanks, > Martin > >>> Thanks, >>> Martin