This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Fix PR18896, addressing split complex args
On Sat, Dec 11, 2004 at 11:42:05AM +1030, Alan Modra wrote:
> I checked cases like this. The magic that makes it work is that the
> real part is allocated space in the parameter save area, not a local
> stack temp.
Huh? Are you relying on REG_PARM_STACK_SPACE or something?
Which is not set for all targets, you know.
I can tell you for certain this will corrupt the local stack
frame on alpha. I just stepped through assign_parms to verify
that we were allocating only 4 bytes for the real part of the
_Complex int.
r~