This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]