From patchwork Thu Aug 28 10:19:32 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kito Cheng X-Patchwork-Id: 383753 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org 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 D1B251400E4 for ; Thu, 28 Aug 2014 20:20:04 +1000 (EST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender :mime-version:from:date:message-id:subject:to:content-type; q= dns; s=default; b=bg9t7HpJxKmFBAaVx76Br5q4GVQogfGaSHKfroOy/MUdAu K/4K+5hOjax47dEEL0Zjsb7N9WbROmP7VC5DI5X09GFyB8AgHe/02CGaRooQftnc 6/TQuLmJMk8NRwwAdDEL4J9WEpHGhZJJkiihHu1VVoIciGjdYxbtwImEab0g0= 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 :mime-version:from:date:message-id:subject:to:content-type; s= default; bh=HqgKJ3903UQS/IV2oOkuzs+DoVc=; b=k34w6YKOD1U/bAIvhh+D 5X8BNIUej0bZFpkozWmNiBkNnnx5wi04d7QNDkPwbkoTpPrcWZEuay8TE+nLtcv9 vk0sKJgSls/lmfNRM4G/HrueuZdXzLVya2O3xTQH5uvaPrh4cGpBtoAmXlGDKmho pvgLJDXbVQqr7OaFWbcjykw= Received: (qmail 6681 invoked by alias); 28 Aug 2014 10:19:58 -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 6665 invoked by uid 89); 28 Aug 2014 10:19:56 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.4 required=5.0 tests=AWL, BAYES_00, FREEMAIL_FROM, RCVD_IN_DNSWL_LOW, SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-ig0-f170.google.com Received: from mail-ig0-f170.google.com (HELO mail-ig0-f170.google.com) (209.85.213.170) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Thu, 28 Aug 2014 10:19:55 +0000 Received: by mail-ig0-f170.google.com with SMTP id h3so301132igd.5 for ; Thu, 28 Aug 2014 03:19:52 -0700 (PDT) X-Received: by 10.42.96.132 with SMTP id j4mr3523091icn.16.1409221192743; Thu, 28 Aug 2014 03:19:52 -0700 (PDT) MIME-Version: 1.0 Received: by 10.50.15.161 with HTTP; Thu, 28 Aug 2014 03:19:32 -0700 (PDT) From: Kito Cheng Date: Thu, 28 Aug 2014 18:19:32 +0800 Message-ID: Subject: [PATCH] Move -fbuiltin from c.opt to common.opt and change it to common group To: "gcc-patches@gcc.gnu.org" , Richard Biener , Joseph Myers , Richard Henderson X-IsSubscribed: yes Hi all: -fno-builtin is seem not only for the c family front-end, but also used in LTO now, so move it to common.opt and change it to `Common`. From 47552b58a09ac9d944be1c35bb5c938f4cb8ec0f Mon Sep 17 00:00:00 2001 From: Kito Cheng Date: Thu, 14 Aug 2014 11:34:26 +0800 Subject: [PATCH 1/2] Move -fbuiltin from c.opt to common.opt and change it to common group ChangeLog 2014-09-28 Kito Cheng c-family/ * c.opt (fbuiltin): Move to gcc/common.opt gcc/ * common.opt (fbuiltin): Add. --- gcc/c-family/c.opt | 4 ---- gcc/common.opt | 4 ++++ 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/gcc/c-family/c.opt b/gcc/c-family/c.opt index d619250..ae04114 100644 --- a/gcc/c-family/c.opt +++ b/gcc/c-family/c.opt @@ -912,10 +912,6 @@ Recognize the \"asm\" keyword fbuilding-libgcc C ObjC C++ ObjC++ Undocumented Var(flag_building_libgcc) -fbuiltin -C ObjC C++ ObjC++ Var(flag_no_builtin, 0) -Recognize built-in functions - fbuiltin- C ObjC C++ ObjC++ Joined diff --git a/gcc/common.opt b/gcc/common.opt index f7021102..607799d 100644 --- a/gcc/common.opt +++ b/gcc/common.opt @@ -923,6 +923,10 @@ fbtr-bb-exclusive Common Report Var(flag_btr_bb_exclusive) Optimization Restrict target load migration not to re-use registers in any basic block +fbuiltin +Common Var(flag_no_builtin, 0) +Recognize built-in functions + fcall-saved- Common Joined RejectNegative Var(common_deferred_options) Defer -fcall-saved- Mark as being preserved across functions -- 1.9.3