https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123832

--- Comment #4 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
> If I'm understanding the below -gnatG output correctly (which I may not be)
> then S33b is getting overwritten by R50b but N47b is still trying to access
> it by address.

Yes, exactly.  The contract with the code generator is that the lifetime of
temporaries created for arguments in a function call ends immediately after the
call, and it is breached here.

Reply via email to