Eric Botcazou <[email protected]> writes:
>> * The new gnat.dg/fp_exception.adb test fails on Solaris 9 and 10/x86,
>> Solaris 9 and 11/SPARC:
>>
>> +FAIL: gnat.dg/fp_exception.adb execution test
>>
>> raised CONSTRAINT_ERROR : SIGFPE
>
> Patch collision. After
>
> 2013-05-24 Eric Botcazou <[email protected]>
>
> * gcc-interface/gigi.h (gnat_init_gcc_fp): Declare.
> * gcc-interface/trans.c (gigi): Call it.
> * gcc-interface/misc.c (gnat_init_gcc_fp): New function.
>
> you need to compile with -ftrapping-math; revised testcase attached.
This works. Patch is ok with that revision.
Thanks.
Rainer
--
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University