This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: va_list: sh
- To: rth at cygnus dot com (Richard Henderson)
- Subject: Re: va_list: sh
- From: Joern Rennecke <amylaar at cygnus dot co dot uk>
- Date: Mon, 6 Sep 1999 17:42:10 +0100 (BST)
- Cc: amylaar at cygnus dot co dot uk, gcc-patches at gcc dot gnu dot org
> 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.