builtin_constant_p

Patrick Pelissier Patrick.Pelissier at loria.fr
Tue Sep 21 17:09:22 CEST 2004


On Tue, Sep 21, 2004 at 16:59:25 +0200, Torbjorn Granlund wrote:
> Patrick Pelissier <Patrick.Pelissier at loria.fr> writes:
> 
>    I don't know if you are very interrested, but just in case:
>   GCC 1.42 doesn't define __builtin_constant_p, which makes
>   some code in gmp.h to fail.
>    It seems you need to have __GNUC__ >= 2.
>   
> When did it appear, with gcc 2.0?

 I don't known. I have just installed GCC 1.42
(from this mirror: 
  ftp://ftp.cs.univ-paris8.fr/mirrors/ftp.gnu.org/gcc/gcc-1.42.tar.gz )
 and I have seen that it didn't recognize __builtin_constant_p.

 But with ftp://ftp.cs.univ-paris8.fr/mirrors/ftp.gnu.org/gcc/gcc-2.7.2.3.tar.gz
  it works.

 I will try to find other GCC releases.

 Sincerely,
  Patrick Pelissier



More information about the gmp-devel mailing list