This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/42207] [OOP] Compile-time errors on typed allocation and pointer function result assignment
- From: "dominiq at lps dot ens dot fr" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 3 Aug 2010 15:31:32 -0000
- Subject: [Bug fortran/42207] [OOP] Compile-time errors on typed allocation and pointer function result assignment
- References: <bug-42207-15301@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #15 from dominiq at lps dot ens dot fr 2010-08-03 15:31 -------
I don't know if this related to comment #14, but with the patch of comment #12
the errors for the test pr37425#0 has changed from
pr37425.f90:7.13:
PROCEDURE :: assign_t_from_int
1
Error: Non-polymorphic passed-object dummy argument of 'assign_t_from_int' at
(1)
pr37425.f90:8.13:
PROCEDURE :: equals_t_int
1
Error: Non-polymorphic passed-object dummy argument of 'equals_t_int' at (1)
pr37425.f90:22.31:
LOGICAL FUNCTION equals_t_int (me, i)
1
Error: First argument of operator interface at (1) must be INTENT(IN)
to
pr37425.f90:7.13:
PROCEDURE :: assign_t_from_int
1
Error: Non-polymorphic passed-object dummy argument of 'assign_t_from_int' at
(1)
pr37425.f90:8.13:
PROCEDURE :: equals_t_int
1
Error: Non-polymorphic passed-object dummy argument of 'equals_t_int' at (1)
pr37425.f90:10.30:
GENERIC :: OPERATOR(==) => equals_t_int
1
Error: Undefined specific binding 'equals_t_int' as target of GENERIC '==' at
(1)
pr37425.f90:9.31:
GENERIC :: ASSIGNMENT(=) => assign_t_from_int
1
Error: Undefined specific binding 'assign_t_from_int' as target of GENERIC '='
at (1)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42207