[CLN-list] workaround in cl_nt_sqrtmodp.cc for gcc 3.5 branch?

Bruno Haible bruno at clisp.org
Wed Aug 25 14:53:05 CEST 2004


Ralf Wildenhues wrote:

> Reversing the logic of the two #if's in src/numtheory/cl_nt_sqrtmodp.cc,
> which seem to guard against a gcc-2 bug on s390, compilation succeeds
> and `make check' passes (no further tests done).  This is on linux/x86
> with no configuration options except setting CC and CXX.
>
> Now I'd like to know if this a sign of yet another gcc regression before
> reporting it?

Yes. This code compiles fine with gcc-3.3 (well, "fine" means that it
takes 700 MB RAM to compile it), so a bug report to the GCC people is in
order. It will be most convincing to show them the preprocessed C++ code and
the result of "nm" on the g++ generated object file.

Bruno




More information about the CLN-list mailing list