[PATCH, fortran] PR 77261 gfortran.dg/random_3.f90 failure

Paul Richard Thomas paul.richard.thomas@gmail.com
Mon Aug 29 07:59:00 GMT 2016


Dear Janne,

That's fine for trunk.

Thanks for the patch.

Paul

On 29 August 2016 at 09:05, Janne Blomqvist <blomqvist.janne@gmail.com> wrote:
> PING?
>
> FWIW, Rainer Orth confirmed that the fixed testcase now passes on Solaris/SPARC.
>
> On Tue, Aug 23, 2016 at 4:40 PM, Janne Blomqvist
> <blomqvist.janne@gmail.com> wrote:
>> Hi,
>>
>> the attached patch fixes PR 77261. The problem is that with the new
>> PRNG, the random sequence for real(16) and lesser kinds is not the
>> same. And then on targets that have real(16) but not real(10) the
>> testcase fails. Fixed by essentially running the tests only when
>> real(10) is available.
>>
>> Regtested on x86_64-pc-linux-gnu, Ok for trunk?
>>
>> 2016-08-23  Janne Blomqvist  <jb@gcc.gnu.org>
>>
>>     PR fortran/77261
>>     * gfortran.dg/random_3.f90: Run testcase only when real(10) is
>>     available.
>>
>>
>> --
>> Janne Blomqvist
>
>
>
> --
> Janne Blomqvist



-- 
The difference between genius and stupidity is; genius has its limits.

Albert Einstein



More information about the Gcc-patches mailing list