This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Patch, Fortran] SELECT TYPE with associate-name


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]