This is the mail archive of the gcc-bugs@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: Problem with non-ISO C scalb() builtin


Danny Smith wrote:
double  scalb (double, double);
as in __builtin_scalb

That is a gcc bug. The second argument to scalb should be int to match glibc (and presumably the BSD library). This should only be a temporary problem.


Is there a way to disable all builtins that do not have ISO C
counterpart?

-fno-nonansi-builtins


Also, -fno-builtin-scalb should also work.

--
Jim Wilson, GNU Tools Support, http://www.SpecifixInc.com


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