This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: Nested functions on ARM
- To: rearnsha at arm dot com
- Subject: Re: Nested functions on ARM
- From: Nick Clifton <nickc at redhat dot com>
- Date: Tue, 14 Nov 2000 10:28:29 -0800
- CC: drepper at redhat dot com, gcc-bugs at gcc dot gnu dot org, Philip dot Blundell at pobox dot com, scottb at netwinder dot org, rearnsha at arm dot com
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....