[PATCH, Fortran] Parse FINAL procedure declarations

FX fxcoudert@gmail.com
Thu May 22 23:30:00 GMT 2008


> * FX, I got an answer on comp.lang.fortran about the assumed  
> shape / length type parameter thing (see point above); but I still  
> believe (and this was also the opinion of the poster there who  
> answered) it makes sense to define finalizer procedures for assumed  
> shape so they can finalize arrays of all concrete shapes.  Maybe I  
> could replace the commented out block in the patch (has XXX) to  
> emit a warning rather than an error if a finalizer has something  
> apart from assumed shape?  What do you think?

First, while commuting today, I read your reply to me and also  
remembered about F2003 parametrized derived types having length  
parameter, and that it was probably what they meant at that point in  
the standard. For assumed-shape, it sounds good, and if Richard Maine  
thinks it's a good idea, it most certainly is! :)

> So far, I welcome your comments.  Though this is surely not my  
> final patch for this, its probably close modulo removing some XXX- 
> comments, the format-fixing and possibly minor adaptions as result  
> of comments.

I'll read through the patch over the week-end and will comment.

FX

-- 
François-Xavier Coudert
http://www.homepages.ucl.ac.uk/~uccafco/



More information about the Gcc-patches mailing list