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] More comments about DECL_BUILT_IN and DECL_IS_BUILTIN (was Re: Why DECL_BUILT_IN and DECL_IS_BUILTIN?)


Ian Lance Taylor <iant@google.com> a Ãcrit:

> On Wed, Sep 4, 2013 at 1:46 AM, Dodji Seketeli <dodji@seketeli.org> wrote:
>>
>> +/* In a FUNCTION_DECL, nonzero means a built in function of a
>> +   standard library or more generally a built in function that is
>> +   recognized by optimizers and expanders.
>> +
>> +   Note that it is different from the DECL_IS_BUILTIN accessor.  For
>> +   instance, user declarated prototypes of C library functions are not
>> +   DECL_IS_BUILTIN but may be DECL_BUILT_IN.  */
>>  #define DECL_BUILT_IN(NODE) (DECL_BUILT_IN_CLASS (NODE) != NOT_BUILT_IN)
>
> s/declarated/declared/

Thank for catching this, Ian.  I did the change.


Richard Biener <richard.guenther@gmail.com> a Ãcrit:

[...]

> On Wed, Sep 4, 2013 at 10:46 AM, Dodji Seketeli <dodji@seketeli.org> wrote:
>> Hello,

[...]

>> OK to commit this comment-only patchlet to trunk then?
>
> Ok.

Thanks.  Applied to trunk.

Cheers.

-- 
		Dodji


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