This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Question on variable_size and function-at-a-time


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]