This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: [Patch, Fortran] SELECT TYPE with associate-name
- From: "H.J. Lu" <hjl dot tools at gmail dot com>
- To: Janus Weil <janus at gcc dot gnu dot org>
- Cc: Daniel Kraft <d at domob dot eu>, Tobias Burnus <burnus at net-b dot de>, gfortran <fortran at gcc dot gnu dot org>, gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Sat, 16 Jan 2010 13:08:25 -0800
- Subject: Re: [Patch, Fortran] SELECT TYPE with associate-name
- References: <854832d40910050506x7c58c1e1y29788d5574e606f6@mail.gmail.com> <4AC9F08A.9060600@domob.eu> <854832d40910050733l60a2d2e5qccfa32ab3a9203d0@mail.gmail.com> <4ACA5EC2.8010107@net-b.de> <854832d40910060451w7ad60a74r778a8e8b7a9c0fa0@mail.gmail.com> <4ACB59C4.3040901@domob.eu> <854832d40910070159j4686ec4eg18eaf94b18f73d36@mail.gmail.com>
On Wed, Oct 7, 2009 at 12:59 AM, Janus Weil <janus@gcc.gnu.org> wrote:
>> Maybe you could extract the common code building the BLOCK namespace in some
>> short usability routine if you want (I'd try this if possible), but that's
>> just a matter of preferrence.
>
> Good point. Of course it makes sense to keep things clean and reuse
> the code instead of copy'n'pasting it. I will commit the attached
> patch and test case in a few hours. Of Tobi's dislikings (aka PR41579)
> and C812 I will take care later.
>
> Thanks to Daniel and Tobias for reviewing!
>
> Btw: This associate-name feature of SELECT TYPE is practically
> identical to the ASSOCIATE statement, which means that the latter
> could be implemented with pretty much the same technique (plus some
> parsing bits). So, if people think that this is still ok as an
> early-stage-3 project, I could also implement ASSOCIATE (if not, I
> will start fixing some of the OOP PRs).
>
I think this caused:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42769
--
H.J.