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

Re: Problem in locate_and_pad_parm


    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.

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