This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: [Patch, fortran] PR69834 - Collision in derived type hashes
- From: Paul Richard Thomas <paul dot richard dot thomas at gmail dot com>
- To: Dominique d'Humières <dominiq at lps dot ens dot fr>
- Cc: Andre Vehreschild <vehre at gmx dot de>, "fortran at gcc dot gnu dot org" <fortran at gcc dot gnu dot org>
- Date: Sat, 22 Oct 2016 10:51:14 +0200
- Subject: Re: [Patch, fortran] PR69834 - Collision in derived type hashes
- Authentication-results: sourceware.org; auth=none
- References: <F8D03D98-0E54-4994-B7D4-23E757BE9A08@lps.ens.fr> <CAGkQGiLFvNMS-3kxSrdWonOhNGaWgxXisGDiGr7CrV70e21Dqg@mail.gmail.com> <097FB36B-5AD8-46BE-92FA-3661A538FA17@lps.ens.fr>
Hi Dominique,
I forgot to include the change to select_type_9.f03 in the diff. Since
I was going to improve the logic in detecting repeated type is/class
is, I might as well change the error messages too.
Andre's class assign patch regtests OK, as advertised.
Thanks
Paul
On 22 October 2016 at 10:21, Dominique d'Humières <dominiq@lps.ens.fr> wrote:
> I also see
>
> FAIL: gfortran.dg/select_type_9.f03 -O (test for errors, line 16)
> FAIL: gfortran.dg/select_type_9.f03 -O (test for excess errors)
>
> The errors emitted by the test have changed from
>
> /opt/gcc/_clean/gcc/testsuite/gfortran.dg/select_type_9.f03:16:11:
>
> class is (t) ! { dg-error "Double CLASS IS block" }
> 1
> Error: Double CLASS IS block in SELECT TYPE statement at (1)
>
> to
>
> /opt/gcc/_clean/gcc/testsuite/gfortran.dg/select_type_9.f03:16:11:
>
> /opt/gcc/_clean/gcc/testsuite/gfortran.dg/select_type_9.f03:14:11:
>
> class is (t)
> 2
> /opt/gcc/_clean/gcc/testsuite/gfortran.dg/select_type_9.f03:16:11:
>
> class is (t) ! { dg-error "Double CLASS IS block" }
> 1
> Error: CASE label at (1) overlaps with CASE label at (2)
>
> Dominique
>
>> Le 22 oct. 2016 à 09:11, Paul Richard Thomas <paul.richard.thomas@gmail.com> a écrit :
>>
>> Hi Dominique,
>>
>> Thanks for the heads up!
>>
>> I was going to review Andre's patch this morning, so I will clean my
>> tree, apply it, confirm that it is regression free and then will
>> generate a compatible version of my patch for PR69834. I strongly
>> suspect that the core of the patch is OK and that it is the clean-up
>> element that is failing to apply.
>>
>> Best regards
>>
>> Paul
>>
>>
>> On 22 October 2016 at 01:04, Dominique d'Humières <dominiq@lps.ens.fr> wrote:
>>> Dear Paul,
>>>
>>> If I did not do any mistake, this patch conflicts seriously with Andre’s one
>>> at https://gcc.gnu.org/ml/fortran/2016-10/msg00141.html.
>>>
>>> Cheers,
>>>
>>> Dominique
>>>
>>
>>
>>
>> --
>> The difference between genius and stupidity is; genius has its limits.
>>
>> Albert Einstein
>
--
The difference between genius and stupidity is; genius has its limits.
Albert Einstein