[Bug fortran/43945] [OOP] Derived type with GENERIC: resolved to the wrong specific TBP

sfilippone at uniroma2 dot it gcc-bugzilla@gcc.gnu.org
Tue Jul 13 09:07:00 GMT 2010



------- Comment #31 from sfilippone at uniroma2 dot it  2010-07-13 09:07 -------
(In reply to comment #30)
> Most test cases seem to be fixed, except of:
> 
> (In reply to comment #19)
> > Created an attachment (id=20927)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20927&action=view) [edit] test-case
> 
> Which shows with crayftn:
> 
>  Allocated COO succesfully, should now set components
>  STOP
> 
> but with gfortran:
> 
>  Error: Missing ovverriding impl for allocate in class COO
> 

Yup, but after discussion with Janus, it seems the failing part is not dynamic
dispatching, but compile-time resolution. Accordingly, I have appended the test
case to PR 42385. 

Salvatore 


-- 


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



More information about the Gcc-bugs mailing list