This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: extern "C" fixes for sunCC


On Wed, Jan 2, 2013 at 2:45 PM, Marc Glisse <marc.glisse@inria.fr> wrote:
> 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)

The graphite changes are ok.

Thanks,
Richard.

>
> 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.glisse@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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]