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 16:17:47 -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 16:17 -------
Subject: Re: word fetched from released stack frame on ppc-abi_v4 ?
pinskia at gcc dot gnu dot org wrote:
> This sounds like an OS problem which they are using the stack of the
> userland which is wrong for most things anyways.
Possibly. Will ask our WRS contact about this. There is no real kernel/user
land differenciation in VxWorks unfortunately.
Besides, the ABI copy I have here states:
* Process Stack
[...] Data in the stack segment at addresses below the stack pointer
contain undefined values.
* Function prologue and epilogue:
[...]
3. The only permitted references with negative offsets from the stack
pointer are those described here for establishing a stack frame.
I understand how these could be argued against, still.
Thanks for your feedback.
Olivier
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16900