This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PR middle-end/29241
- From: "Richard Guenther" <richard dot guenther at gmail dot com>
- To: "Jan Hubicka" <jh at suse dot cz>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Fri, 5 Jan 2007 12:35:12 +0100
- Subject: Re: PR middle-end/29241
- References: <20061013073241.GF21141@kam.mff.cuni.cz>
On 10/13/06, Jan Hubicka <jh@suse.cz> wrote:
Hi,
this patch solve ICE in PR 29241 where we fail to inline always inline function
in -fnon-unit-at-a-time -fno-inline-functions because we already released it's
body.
Bootstrapped/regtested i686-linux, will commit it tomorrow unless I hear complains.
Backported to the 4.1 branch, bootstrapped and tested on i686-pc-linux-gnu,
applied.
Richard.
PR middle-end/29241
* cgraphunit.c (cgraph_preserve_function_body_p): Even with
flag_really_no_inline, alwaysinline functions are inlined.