This is the mail archive of the
mailing list for the GCC project.
Re: [trunk][patch] Factor check for names starting in __builtin_ or __sync_
2009/4/2 Graham Stott <firstname.lastname@example.org>:
> Couldn't you use DECL_BUILT_IN and DECL_FUNCTION_CODE to do this
> without looking at the name?
The problem is that some builtins correspond to library functions and
others don't. The
way the code currently checks that is via the name. The patch just
factor the check into
Rafael Avila de Espindola
Google | Gordon House | Barrow Street | Dublin 4 | Ireland
Registered in Dublin, Ireland | Registration Number: 368047