This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [Patch, fortran-dev] PR42053: [OOP] SELECT TYPE: reject duplicate CLASS IS blocks
- From: Janus Weil <janus at gcc dot gnu dot org>
- To: Jerry DeLisle <jvdelisle at verizon dot net>
- Cc: gfortran <fortran at gcc dot gnu dot org>, gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Mon, 23 Nov 2009 09:48:26 +0100
- Subject: Re: [Patch, fortran-dev] PR42053: [OOP] SELECT TYPE: reject duplicate CLASS IS blocks
- References: <854832d40911220917n350b4626hc694efbae9f77c7c@mail.gmail.com> <4B09BE41.10303@verizon.net>
>> attached you find a simple patch, which adds a check for duplicate
>> CLASS IS blocks to the SELECT TYPE implementation. I put it into the
>> loop that sorts the CLASS IS blocks by extension level. This loop
>> compares all blocks, which should guarantee that duplicates are always
>> detected correctly.
>>
>> Regtested on x86_64-unknown-linux-gnu. Ok for fortran-dev?
>>
> OK
Thanks, Jerry. Committed as r154432.
Cheers,
Janus