On Sun, Jan 14, 2018 at 12:45 PM, Janne Blomqvist
<blomqvist.ja...@gmail.com> wrote:
> On Sat, Jan 13, 2018 at 7:35 PM, Dominique d'Humières
> <domi...@tournesol.lps.ens.fr> wrote:
>> I have finally bootstrapped gfortran with the two patches applied and the 
>> spurious warnings with -Wall are now gone (limited testing), but I see a 
>> regression for gfortran.dg/string_1.f90 due to an additional error
>>
>> /opt/gcc/_clean/gcc/testsuite/gfortran.dg/string_1.f90:13:15:
>>
>>    print *, len(s)
>>                1
>> Error: Result of LEN overflows its kind at (1)
>>
>> No idea why this was not emitted without the patch.
>
> Thanks for testing, I'll look into this. Was it on a 32 or 64-bit target?

I can't recreate this on i686-pc-linux-gnu. What host/target are you
using exactly, is it part of the normal testsuite run or do you
compile it with some special options?

In any case, that line isn't particularly relevant to what the
testcase is testing, so it could be removed completely, or by
specifying kind=8 to len().




-- 
Janne Blomqvist

Reply via email to