[Bug target/16900] word fetched from released stack frame on ppc-abi_v4 ?

hainque at act-europe dot fr gcc-bugzilla@gcc.gnu.org
Fri Aug 6 15:24:00 GMT 2004


------- 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



More information about the Gcc-bugs mailing list