This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: i386 stack missalignment on main
- To: mrs at windriver dot com (mike stump)
- Subject: Re: i386 stack missalignment on main
- From: Joern Rennecke <amylaar at redhat dot com>
- Date: Tue, 31 Jul 2001 19:37:50 +0100 (BST)
- Cc: amylaar at redhat dot com, aoliva at redhat dot com, aj at suse dot de,gcc-patches at gcc dot gnu dot org, gcc at gcc dot gnu dot org, jh at suse dot cz, rth at redhat dot com
> I didn't exactly follow this, but if you mean what I think you mean,
> this doesn't work for C++, sorry. (Or maybe someone has fixed the
> basic problem, I might be out-of-date).
I mean a possibly overlapping binary copy of the named arguments.
On the x86, this could look something like this:
before move: after move:
unnamed arguments unnamed arguments
------------------ -----------------
padding
named arguments -----------------
named arguemnts
------------------
return address
saved stack ptr -----------------
return address
saved stack ptr
Is that a problem with C++ ? If so, why?