This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/41023] Inconsistent error locations for wrong interfaces with overloaded operators
- From: "mikael at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 20 Apr 2010 14:21:24 -0000
- Subject: [Bug fortran/41023] Inconsistent error locations for wrong interfaces with overloaded operators
- References: <bug-41023-16338@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #5 from mikael at gcc dot gnu dot org 2010-04-20 14:21 -------
Created an attachment (id=20444)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20444&action=view)
patch
This produces :
pr41023.f90:9.21:
MODULE PROCEDURE myplus
1
Error: Operator interface at (1) has the wrong number of arguments
and :
pr41023_bis.f90:9.21:
MODULE PROCEDURE myplus
1
Error: Intrinsic operator interface at (1) must be a FUNCTION
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41023