This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
RE: Why DECL_BUILT_IN and DECL_IS_BUILTIN?
- From: "Paulo Matos" <pmatos at broadcom dot com>
- To: "Richard Biener" <richard dot guenther at gmail dot com>
- Cc: "gcc at gcc dot gnu dot org" <gcc at gcc dot gnu dot org>
- Date: Tue, 3 Sep 2013 10:20:46 +0000
- Subject: RE: Why DECL_BUILT_IN and DECL_IS_BUILTIN?
- Authentication-results: sourceware.org; auth=none
- References: <19EB96622A777C4AB91610E763265F462B2BC8 at SJEXCHMB14 dot corp dot ad dot broadcom dot com> <CAFiYyc2sSXOZP1DZgL3KwkMKApB7QEuSKCR352m3KeB=HDL0Ug at mail dot gmail dot com>
> -----Original Message-----
> From: Richard Biener [mailto:richard.guenther@gmail.com]
> Sent: 03 September 2013 11:19
> To: Paulo Matos
> Cc: gcc@gcc.gnu.org
> Subject: Re: Why DECL_BUILT_IN and DECL_IS_BUILTIN?
>
> On Tue, Sep 3, 2013 at 11:43 AM, Paulo Matos <pmatos@broadcom.com> wrote:
> > Hi,
> >
> > Why do we have two macros in tree.h with seemingly the same semantics?
> DECL_BUILT_IN and DECL_IS_BUILTIN?
>
> The point is they are not the same.
>
Thanks Richard. I could gather from inspecting GCC that they have different definitions and probably are doing different things but I didn't understand why they are different. Can you please elaborate on their differences?
Thanks,
Paulo Matos