[Patch, fortran] OOP - PR41648 and PR41656

Paul Richard Thomas paul.richard.thomas@gmail.com
Wed Oct 14 13:49:00 GMT 2009


Dear Daniel,


> yes, that's obvious.  But would doing a
>
> gfc_add_block_to_block (&se->post, &tmpse.post);
>
> hurt?  If not, it seems still to be the cleaner way because you don't imply
> that tmpse.post will not be used.  If it is not, fine, but if it may get
> used for whatever purpose in the future, it will also work.

It would not hurt, since an empty block would be added to se->post.

> Or would adding this line even be wrong?  (I don't ask you to do so in any
> case and IIRC not adding it is common practice throughout the source, but
> I'd be interested if we could also add it or not.)

No, it's not wrong, just unnecessary.

Thanks for the tips on subversion.

Cheers

Paul



More information about the Fortran mailing list