This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Question on variable_size and function-at-a-time
- From: Zack Weinberg <zack at codesourcery dot com>
- To: kenner at vlsi1 dot ultra dot nyu dot edu (Richard Kenner)
- Cc: rth at redhat dot com, gcc at gcc dot gnu dot org
- Date: Mon, 12 Apr 2004 13:54:00 -0700
- Subject: Re: Question on variable_size and function-at-a-time
- References: <10404122031.AA17486@vlsi1.ultra.nyu.edu>
kenner@vlsi1.ultra.nyu.edu (Richard Kenner) writes:
> As for Ada, you'll just have to insert something somewhere appropriate
> that gets the SAVE_EXPR evaluated. Or, gasp, insert a temp variable
> yourself rather than rely on broken SAVE_EXPR semantics.
>
> We were actually just having that discussion locally. But it's tricky
> because it's stor-layout that puts in the SAVE_EXPRs, not the front end.
> Indeed the Ada part of the code does make explicit temporaries here.
How invasive would it be to make stor-layout not do that? Push the
responsibility back onto the front ends where it belongs?
zw