This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Enhanced nested functions lowering pass
- From: Andrew Pinski <pinskia at physics dot uc dot edu>
- To: Andrew Pinski <pinskia at physics dot uc dot edu>
- Cc: gcc-patches at gcc dot gnu dot org, Eric Botcazou <ebotcazou at adacore dot com>, Richard Henderson <rth at redhat dot com>
- Date: Sat, 18 Mar 2006 20:00:38 -0500
- Subject: Re: [PATCH] Enhanced nested functions lowering pass
- References: <200603190010.40372.ebotcazou@adacore.com> <0e6b23b067b0b17a3c920b35f595c94d@physics.uc.edu>
On Mar 18, 2006, at 7:59 PM, Andrew Pinski wrote:
The goal is to avoid commiting local variables referenced by nested
functions
to the "nonlocal frame structure" too early because that cannot be
undone by
subsequent passes as the structure is addressable. That would be
very useful
for languages that make heavy use of nested functions like Ada.
Actually I think the problem is more to point that Ada turns off
struct aliasing
so you the ability to undo it.
Maybe it is time to figure out a way to turn back on -ftree-salias for
Ada.
Also do you have a testcase where we would go "wrong" currently?
-- Pinski