This is the mail archive of the
mailing list for the GCC project.
Re: [PATCH] Fix segfault with inlining
- From: Eric Botcazou <ebotcazou at adacore dot com>
- To: Richard Biener <richard dot guenther at gmail dot com>
- Cc: gcc-patches at gcc dot gnu dot org, Jason Merrill <jason at redhat dot com>
- Date: Tue, 17 Sep 2013 10:42:37 +0200
- Subject: Re: [PATCH] Fix segfault with inlining
- Authentication-results: sourceware.org; auth=none
- References: <7802386 dot q05VISrV2B at polaris> <1893920 dot UPJ1PN8UqN at polaris> <CAFiYyc3XvSk13Hfh503eyvfW+w7_LWOBKbg8+VuCGjcw2H10wA at mail dot gmail dot com>
> Yeah, I thought testing for a PARM_DECL should be sufficient? For
> nested functions references to outer parms should have been lowered via the
> static chain at the point tree-inline.c sees them.
OK for the latter point, but are you sure for the former? My understanding is
that we're already in SSA form, so parameters can be represented by SSA_NAMEs
without defining statements.