This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/32327] [4.2 Regression] Incorrect stack sharing causing removal of live code
- From: "rguenther at suse dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 14 Jun 2007 18:12:55 -0000
- Subject: [Bug middle-end/32327] [4.2 Regression] Incorrect stack sharing causing removal of live code
- References: <bug-32327-91@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #21 from rguenther at suse dot de 2007-06-14 18:12 -------
Subject: Re: [4.2 Regression] Incorrect stack sharing
causing removal of live code
On Thu, 14 Jun 2007, ian at airs dot com wrote:
> ------- Comment #19 from ian at airs dot com 2007-06-14 17:57 -------
> This is going to require more investigation. I think we are mainly lucky
> because the tree optimizers tend to not move variables outside of their block
> scope. This test case just happens to show a way in which that can happen.
We may finally need to compute life for on-stack variables instead of
relying on something not happening that is not explicitly forbidden
in our IL (placement new anyone? ;))
(the other) Richard.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32327