From patchwork Thu Jul 4 10:06:42 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kai Tietz X-Patchwork-Id: 256861 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 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "localhost", Issuer "www.qmailtoaster.com" (not verified)) by ozlabs.org (Postfix) with ESMTPS id AD3032C009E for ; Thu, 4 Jul 2013 20:06:55 +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:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; q=dns; s=default; b=K3eVW28f9BTKavoifG goPJGZWT+p+wAJiBTD4xpEF2kBtKviZb58hKET/wFqi18KmgD9nUaWYgaSjRYMAo 0g1UV5+81v7n2HMZ2+blqAtshblfGij6ESHw81sqV3U9NOFBEUai9p+zbJubBRu5 qctNXJyf+q6jFkDkvTBhAqv30= 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:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; s=default; bh=OA/hTsl8cTGeMebuwRyR1MTk N3w=; b=T2htzAaYpMjOWA3L5siYk9xuEakImYIFHcIUM7zq+ka86luYK3lESnOf 8zQ6mm7rgAftXoSsGZcBn1CK0Ei8qSJhTFIZilMw/yEHsDQreGp4Olq3w1UygYFS DtMEmGOHydhkW7C7Uwsg/toukXrBv2JD0Ho+qRVvfOn+eIqihNg= Received: (qmail 25571 invoked by alias); 4 Jul 2013 10:06:50 -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 25551 invoked by uid 89); 4 Jul 2013 10:06:48 -0000 X-Spam-SWARE-Status: No, score=-2.6 required=5.0 tests=AWL, BAYES_00, FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM, KHOP_THREADED, RCVD_IN_DNSWL_LOW, RCVD_IN_HOSTKARMA_YE, SPF_PASS autolearn=ham version=3.3.1 Received: from mail-ve0-f182.google.com (HELO mail-ve0-f182.google.com) (209.85.128.182) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Thu, 04 Jul 2013 10:06:44 +0000 Received: by mail-ve0-f182.google.com with SMTP id ox1so896449veb.13 for ; Thu, 04 Jul 2013 03:06:42 -0700 (PDT) MIME-Version: 1.0 X-Received: by 10.58.202.1 with SMTP id ke1mr2401087vec.85.1372932402673; Thu, 04 Jul 2013 03:06:42 -0700 (PDT) Received: by 10.58.228.70 with HTTP; Thu, 4 Jul 2013 03:06:42 -0700 (PDT) In-Reply-To: References: <51BF3717.4050902@redhat.com> Date: Thu, 4 Jul 2013 12:06:42 +0200 Message-ID: Subject: Re: [patch i386]: RFC enable inlining for function with machine-attributes From: Kai Tietz To: Richard Henderson Cc: GCC Patches Hi, here is the adjusted patch for this PR. 2013-07-04 Kai Tietz PR target/56892 * config/i386/i386.c (TARGET_FUNCTION_ATTRIBUTE_INLINABLE_P): Define as hook_bool_const_tree_true. Tested for x86_64-w64-mingw32, i686-pc-cygwin, and x86_64-unknown-linux-gnu. Ok for apply? Regards, Kai Index: i386.c =================================================================== --- i386.c (Revision 200643) +++ i386.c (Arbeitskopie) @@ -42701,6 +42701,8 @@ ix86_memmodel_check (unsigned HOST_WIDE_INT val) #undef TARGET_ATTRIBUTE_TABLE #define TARGET_ATTRIBUTE_TABLE ix86_attribute_table +#undef TARGET_FUNCTION_ATTRIBUTE_INLINABLE_P +#define TARGET_FUNCTION_ATTRIBUTE_INLINABLE_P hook_bool_const_tree_true #if TARGET_DLLIMPORT_DECL_ATTRIBUTES # undef TARGET_MERGE_DECL_ATTRIBUTES # define TARGET_MERGE_DECL_ATTRIBUTES merge_dllimport_decl_attributes