Ping
http://gcc.gnu.org/ml/gcc-patches/2012-12/msg00746.html
(I'll re-test since there have been changes around gmp.h inclusion)

On Tue, 11 Dec 2012, Marc Glisse wrote:

Hello,

this patch should help if we ever want to use sunCC to initiate a bootstrap, though I didn't test with sunCC. Note that using gmp_fprintf means we have to include stdio.h before gmp.h. I didn't investigate how, but this seems to already be the case :-) The reallocator cast is just a hack, but the point here is only to help sunCC, making gcc extern "C"-clean is a larger task...

Passes bootstrap+testsuite on x86_64-linux using the system's gcc (graphite is enabled, don't know if this particular code is exercised).

2012-12-12  Marc Glisse  <marc.gli...@inria.fr>

        PR bootstrap/50167
        PR bootstrap/50177
libcpp/
        * line-map.c (get_combined_adhoc_loc): Cast to extern "C" type.
gcc/
        * graphite-interchange.c (pdr_stride_in_loop): Use gmp_fprintf.
        * graphite-poly.c (debug_gmp_value): Likewise.

--
Marc Glisse

Reply via email to