This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: [PATCH] Fortran testsuite fix from Francois
- From: Paul Richard Thomas <paul dot richard dot thomas at gmail dot com>
- To: Jeff Law <law at redhat dot com>
- Cc: Jakub Jelinek <jakub at redhat dot com>, "fortran at gcc dot gnu dot org" <fortran at gcc dot gnu dot org>, gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Thu, 14 Jan 2016 19:13:47 +0100
- Subject: Re: [PATCH] Fortran testsuite fix from Francois
- Authentication-results: sourceware.org; auth=none
- References: <20160114143518 dot GK3017 at tucnak dot redhat dot com> <5697DC8F dot 40406 at redhat dot com>
Dear Jakub,
Thanks for that. OK by me too.
Paul
On 14 January 2016 at 18:36, Jeff Law <law@redhat.com> wrote:
> On 01/14/2016 07:35 AM, Jakub Jelinek wrote:
>>
>> Hi!
>>
>> I've bootstrapped/regtested on x86_64-linux and i686-linux the following
>> fix
>> from Francois that has been sitting in the PR for a few months.
>> The problem is that the testcase assumed that the last real_kind
>> has maximum precision and maximum range. That is usually the case,
>> but is not the case with the insane double double format, which has
>> LDBL_MIN > DBL_MIN.
>> The intention is to test the behavior with too large precisions or ranges,
>> 100 times the max precision or range safely hits that case.
>>
>> Ok for trunk?
>>
>> 2016-01-14 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
>>
>> PR testsuite/67509
>> * gfortran.dg/ieee/ieee_7.f90: For out of bound precision or
>> range tests use 100 * maximum instead of maximum + 1.
>
> OK.
> jeff
>
--
The difference between genius and stupidity is; genius has its limits.
Albert Einstein