Why DECL_BUILT_IN and DECL_IS_BUILTIN?

Paulo Matos pmatos@broadcom.com
Tue Sep 3 12:19:00 GMT 2013


> -----Original Message-----
> From: Richard Biener [mailto:richard.guenther@gmail.com]
> Sent: 03 September 2013 12:55
> To: Paulo Matos
> Cc: gcc@gcc.gnu.org
> Subject: Re: Why DECL_BUILT_IN and DECL_IS_BUILTIN?
> 
> DECL_IS_BUILTIN is true if the decl was created by the frontend / backend
> rather than by user code (indicated by source location).  DECL_BUILT_IN
> is true if the decl represents a function of the standard library, a
> builtin that is
> recognized by optimization / expansion.  User declared prototypes of
> C library functions are not DECL_IS_BUILTIN but may be DECL_BUILT_IN.
> 
> Richard.
> 

Thanks for the explanation. 

Cheers.


More information about the Gcc mailing list