This is the mail archive of the gcc-patches@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]

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~


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