[Bug fortran/41023] Inconsistent error locations for wrong interfaces with overloaded operators
mikael at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Tue Apr 20 14:21:00 GMT 2010
------- 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
More information about the Gcc-bugs
mailing list