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: [Committed to trunk], was: Re: [RFD] -ffinite-math-only.


Toon Moene <toon@moene.indiv.nluug.nl> writes:

| Gabriel Dos Reis wrote:
| 
| >    Many thanks for having done this.   I have a small request however
| > (I'll implement it if agreed upon):  I'll prefer __FINITE_MATH_ONLY__
| > be defined to be 1 if flag_finite_math_only is set and 0 otherwise (I
| > wasn't clear in my previous message, sorry).
| 
| So you want to have it like the treatment of `flag_hosted' in
| c-common.c(cb_register_builtins), i.e., something like:
| 
|   if (flag_finite_math_only)
|     cpp_define (pfile, "__FINITE_MATH_ONLY__=1");
|   else
|     cpp_define (pfile, "__FINITE_MATH_ONLY__=0");
| 
| ?  Just to be sure ...

Yes, that is what I intended -- but failed to phrase it correctly.

Thanks,

-- Gaby


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