This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: Patch to use concat instead of xmalloc/sprintf for JAVAdir
- To: ghazi at caip dot rutgers dot edu
- Subject: Re: Patch to use concat instead of xmalloc/sprintf for JAVAdir
- From: Mark Mitchell <mark at codesourcery dot com>
- Date: Mon, 23 Apr 2001 07:27:58 -0700
- Cc: per at bothner dot com, gcc-patches at gcc dot gnu dot org, java-patches at gcc dot gnu dot org
- Organization: CodeSourcery, LLC
- References: <200104230027.UAA18617@caip.rutgers.edu>
>>>>> "Kaveh" == Kaveh R Ghazi <ghazi@caip.rutgers.edu> writes:
Kaveh> Regarding NULL vs NULL_PTR, there is some inconsistency as
Kaveh> both styles are currently used in calls to concat. However
Kaveh> NULL_PTR is deprecated according to comments in ansidecl.h
Kaveh> where it is defined, so I used NULL.
Hmm. I thought we were supposed to use NULL_PTR (like NULL_RTX and
NULL_TREE). But, I see that on the trunk there is indeed the comment
you mentioned. So, I think using NULL is correct, and that we should
stop using NULL_PTR on the trunk.
Thanks,
--
Mark Mitchell mark@codesourcery.com
CodeSourcery, LLC http://www.codesourcery.com