This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Problem in locate_and_pad_parm
- To: Franz dot Sirl-kernel at lauterbach dot com
- Subject: Re: Problem in locate_and_pad_parm
- From: kenner at vlsi1 dot ultra dot nyu dot edu (Richard Kenner)
- Date: Wed, 18 Oct 00 17:12:42 EDT
- Cc: gcc at gcc dot gnu dot org
The change was:
I can confirm that change caused the problem.
But the code is vastly different between the 2 branches of the #ifdef
anyway, and since I can't test on any such platform, I didn't tackle
it. The ARGS_GROW_DOWNWARD case doesn't init alignment_pad in all
cases either.
No, but it doesn't test in_regs either and I still don't understand
how it can be right to only test it on one side of the conditional.
Hmm, maybe the patch below is enough to solve your problems? Do you need
initial_offset_ptr to get aligned for the partial reg case?
I have no idea if that's right or wrong becaue I can't begin to understand
this code. Perhaps you might want to send a patch that adds comments so we
know what this code is supposed to be doing? Then we might be able to
figure out how to have it do it.