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]

Re: va_list: sh


> Suppose you are passing the 1 byte structure struct foo { char c; }.
> It will be stored at the lowest address with 3 bytes of padding after.

Hmm, yes, I see now that PROMOTE_MODE doesn't work for structures.
Why doesn't it?  By handling QImode structs different from chars
for argument passing and register / stack slot allocation, we add to
the abstraction penalty.


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