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: C++ PATCH to cp/decl.c: Timing name lookup


Zack Weinberg <zack@codesourcery.com> writes:

| Andrew Pinski <pinskia@physics.uc.edu> writes:
| 
| > 	* decl.c: (define_label): Fix warning for return 0 instead of NULL.
| 
| NULL might be a bare 0 in C (allowed, but not required) so better you
| should write (void *)0 explicitly.

Yeah, you're correct.  I believe I'll just go with a NULL_TREE.

-- Gaby


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