builtin_constant_p

Torbjorn Granlund tege at swox.com
Tue Sep 21 17:24:02 CEST 2004


Patrick Pelissier <Patrick.Pelissier at loria.fr> writes:

  I will try to find other GCC releases.

No need, I checked the GCC change logs and found that builtin_constant_p
was added Mars 1991 and that 2.0 was released in February 1992.

Can you check if GCC 1.42 defined __GNUC__ to 1, or if it defined it to
empty?

Please also try this snippet in gmp-impl.h:

/* Dummy for non-gcc, code involving it will go dead. */
#if ! defined (__GNUC__) || __GNUC__ < 2
#define __builtin_constant_p(x)   0
#endif

-- 
Torbjörn


More information about the gmp-devel mailing list