[patch,Fortran] PR 41777 - fix attribute usage for generics

Jerry DeLisle jvdelisle@verizon.net
Thu Oct 29 14:12:00 GMT 2009


Tobias Burnus wrote:
> There seem to be multiple issues with generic functions as at
> several places the generic symbols attributes (expr->symtree->n.sym)
> and not the one of the specific (expr->value.functions.esym) is used.
> 
> The attached patch fixes some of those problems, but more remain as
> the PR shows; in particular, the program in comment 0 of the PR
> still does not work.
> 
> With regards to wrong-code, the issue is mostly whether the address
> of the pointer or of the pointer target is used.
> 
> Bootstrapped and regtested on x86-64-linux.
> OK for the trunk? What do you think about 4.4/4.3 backports?
> 
> Tobias
> 
> 
OK for trunk.  I think that when you get the rest sorted out it is OK 
for 4.4.  I think 4.3 may be getting a bit old now.

Jerry



More information about the Fortran mailing list