This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: Problem with non-ISO C scalb() builtin
- From: Jim Wilson <wilson at specifixinc dot com>
- To: Danny Smith <danny_r_smith_2001 at yahoo dot co dot nz>
- Cc: gcc-bugs at gcc dot gnu dot org, ghazi at caip dot rutgers dot edu
- Date: Tue, 23 Sep 2003 15:43:21 -0700
- Subject: Re: Problem with non-ISO C scalb() builtin
- References: <20030923102247.7796.qmail@web21408.mail.yahoo.com>
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