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]

Re: Nested functions on ARM


Hi Richard,

: I can't really see what gain there is in replacing one buggy 
: implementation with another.

Well it is more of a working-but-vulnerable solution, but I take your
point.  I will try to come up with a solution that does not use
unallocated stack slots.

Cheers
	Nick

PS.  I noticed that when -mno-sched-prolog is not used it is possible
for writes into stack slots (via the frame pointer) to be moved into
the prolog, before the actual slot has been allocated, making ordinary
code vulnerable to this kind of problem as well....


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