[Bug fortran/42207] [OOP] Compile-time errors on typed allocation and pointer function result assignment

mikael at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Tue Aug 3 14:31:00 GMT 2010



------- Comment #14 from mikael at gcc dot gnu dot org  2010-08-03 14:31 -------
(In reply to comment #12)
> 
> This error can be fixed by:
> [...]

You may need to change the recently added gfc_commit_symbols in
gfc_find_derived_vtabs into a per symbol gfc_commit_symbol (symbol). 
Otherwise one can error out, but yet commit the symbols. Who knows what can
happen then ? ;-) 


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42207



More information about the Gcc-bugs mailing list