Problem in locate_and_pad_parm

Franz Sirl Franz.Sirl-kernel@lauterbach.com
Wed Oct 18 11:25:00 GMT 2000


On Wed, 18 Oct 2000, Richard Kenner wrote:
> Unless ARGS_GROW_DOWNWARD, it only initializes alignment_pad if
> in_regs is zero.  But in_regs will be set in the "partial" case
> and code in expand_call looks at alignment_pad then and so blows up.
>
> Why is in_regs tested only for the arguments growing in one direction?
> That seems wrong.

Is this related to my change yesterday? This fixed a bug on 
powerpc-linux-gnu, the stack was aligned even for args in registers for 
platforms where REG_PARM_STACK_SPACE returns 0. Probably the test needs a 
refinement then. What platform are we talking about? Can you put the test for 
partial into REG_PARM_STACK_SPACE or what else can one test to detect the 
partial reg case?

Franz.


More information about the Gcc mailing list