This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/16900] word fetched from released stack frame on ppc-abi_v4 ?
- From: "hainque at act-europe dot fr" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 6 Aug 2004 15:24:08 -0000
- Subject: [Bug target/16900] word fetched from released stack frame on ppc-abi_v4 ?
- References: <20040806144640.16900.hainque@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From hainque at act-europe dot fr 2004-08-06 15:24 -------
Subject: Re: word fetched from released stack frame on ppc-abi_v4 ?
pinskia at gcc dot gnu dot org wrote:
> Even though the add is done before the load, there is no harm done. This
> improves code generation and scheduling of code is this is not a bug.
The problem we've observed on VxWorks is an interrupt occurring just
between the two instructions. The released stack is clobbered before
the load, and the load retrieves a random value.
How is that supposed to work ?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16900