[PATCH] Don't optimize stdarg functions if old-style builtins are used
Richard Henderson
rth@redhat.com
Thu Sep 30 17:42:00 GMT 2004
On Thu, Sep 30, 2004 at 07:42:51AM -0400, Jakub Jelinek wrote:
> BTW, as sparc uses __builtin_saveregs () internally, I think a patch like
> this is needed, otherwise you would be in trouble if a function calls
> both __builtin_saveregs and __builtin_va_start.
I wouldn't worry about it. Instead, transition sparc to
TARGET_SETUP_INCOMING_VARARGS.
There aren't too many saveregs targets left. If we can
get them transitioned away, we can remove __builtin_saveregs.
r~
More information about the Gcc-patches
mailing list