This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Fix middle-end/15054 (take 2)
- From: Roger Sayle <roger at eyesopen dot com>
- To: Ulrich Weigand <weigand at i1 dot informatik dot uni-erlangen dot de>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Fri, 30 Apr 2004 19:04:24 -0600 (MDT)
- Subject: Re: [PATCH] Fix middle-end/15054 (take 2)
On Fri, 30 Apr 2004, Ulrich Weigand wrote:
>
> PR middle-end/15054
> * expr.c (expand_expr_real): Do not call preserve_temp_slots
> on a TARGET_EXPR temp.
> * function.c (assign_stack_temp_for_type): Set 'keep' flag for
> TARGET_EXPR temp slots.
>
> testsuite/ChangeLog:
>
> PR middle-end/15054
> * g++.dg/opt/pr15054.C: New test.
As you and Mike both seem happy with this approach, this is OK for
mainline. If there are no problems on mainline after a few days,
you should ask Mark and Gaby about backporting to the release
branches.
Many thanks.
Roger
--