https://gcc.gnu.org/bugzilla/show_bug.cgi?id=41873
janus at gcc dot gnu.org changed:
What|Removed |Added
Target Milestone|--- |4.5.0
--- Comment #5 from janus at gcc dot gnu dot org 2009-11-04 20:39 ---
(In reply to comment #2)
> While one might not access (type)%dot_g_g as "dot_g_g" is deferred, using
> (class)%dot_g_g is valid. (And using (type)%dot_g_g is not possible as one
> cannot use "type(abstract_t)"; thus i
--- Comment #4 from janus at gcc dot gnu dot org 2009-11-04 20:13 ---
Reduced test case:
implicit none
type, abstract :: inner_product_class
contains
procedure(dot), public, nopass, deferred :: dot_g_g
end type
abstract interface
real function dot ()
end functio
--- Comment #3 from janus at gcc dot gnu dot org 2009-11-04 16:43 ---
(In reply to comment #0)
> Error: ABSTRACT INTERFACE 'dot' must not be referenced at (1)
The same error appears in PR 41556.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41873
--- Comment #2 from burnus at gcc dot gnu dot org 2009-10-30 15:32 ---
I agree that the following error is bogus:
>print *, ipmin% dot_g_g (g,g)
>1
> Error: ABSTRACT INTERFACE 'dot' must not be referenced at (1)
While one might not access (type)%dot_g_g as "dot_g_g" is
--- Comment #1 from anlauf at gmx dot de 2009-10-29 22:42 ---
Created an attachment (id=18931)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18931&action=view)
Test code
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41873