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 to add declarations for many (most?) math builtins


Hi Kaveh,
> The ISO C math functions might as well all be declared so that the
> appropriate attributes are set on these functions.

Cool!  I had a very similar patch that I haven't yet posted pending
the review of my patch to alphabetize the contents of builtins.def.
http://gcc.gnu.org/ml/gcc-patches/2003-07/msg02559.html

Personally, I found it much easier to add and review the large number
of these mathematical builtins once they had some kind of order to
them, "like what g++ does with cp/cfns.gperf" to quote from your post :).
For example, it would simplify comparing our lists, where mine includes
"expm1", "isnan", "log2", "log1p",  "modf", etc... if both lists were
sorted...

Don't worry if your patch gets approved first, I'll just refresh my
reordering patch and resubmit it.

Roger
--


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