This is the mail archive of the 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: Add clog10 to builtins.def

On Wed, 29 Jun 2005, [ISO-8859-1] François-Xavier Coudert wrote:

> > These are reserved functions (7.26.1), not functions defined by C99.  So
> > they shouldn't be DEF_C99_BUILTIN; DEF_EXT_C99RES_BUILTIN, similar to
> > DEF_C99_C90RES_BUILTIN for names reserved in C90 and added in C99, would
> > be more appropriate.
> Well, I tried to implement this idea. Is that new patch OK?

This patch seems to be changing the definition of DEF_C99_C90RES_BUILTIN: 
changing the NONANSI_P from !flag_isoc99 to true.  If there is to be any 
change to DEF_C99_C90RES_BUILTIN then it would make NONANSI_P false, not 
true, but that should still be a separate patch.

There are two consistent options: either DEF_C99_C90RES_BUILTIN has 
!flag_isoc99 for NONANSI_P and DEF_EXT_C99RES_BUILTIN has true for 
NONANSI_P, or DEF_C99_C90RES_BUILTIN has false for NONANSI_P and 
DEF_EXT_C99RES_BUILTIN has !flag_isoc99 for NONANSI_P.

Joseph S. Myers      (personal mail) (CodeSourcery mail) (Bugzilla assignments and CCs)

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