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]
Other format: [Raw text]

Re: [PATCH] Don't optimize stdarg functions if old-style builtins are used


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~


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