From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31779 invoked by alias); 16 Oct 2009 19:05:41 -0000 Received: (qmail 31767 invoked by uid 22791); 16 Oct 2009 19:05:40 -0000 X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from atrey.karlin.mff.cuni.cz (HELO atrey.karlin.mff.cuni.cz) (195.113.26.193) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 16 Oct 2009 19:05:36 +0000 Received: by atrey.karlin.mff.cuni.cz (Postfix, from userid 4018) id 22174F02D4; Fri, 16 Oct 2009 21:05:34 +0200 (CEST) Date: Fri, 16 Oct 2009 19:25:00 -0000 From: Jan Hubicka To: Andrew Pinski Cc: GCC Patches Subject: Re: [PATCH C++] Fix c++/41536, always_inline does not work always with constructors Message-ID: <20091016190533.GA27580@atrey.karlin.mff.cuni.cz> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.13 (2006-08-11) X-IsSubscribed: yes 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 X-SW-Source: 2009-10/txt/msg01067.txt.bz2 > + DECL_ATTRIBUTES (clone) = DECL_ATTRIBUTES (fn); I don't think it is safe to share (parts of) attributes list. It would be probably better to unshare it first? Honza > + DECL_DISREGARD_INLINE_LIMITS (clone) = DECL_DISREGARD_INLINE_LIMITS (fn); > > /* Adjust the parameter names and locations. */ > parm = DECL_ARGUMENTS (fn);