This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/30877] overloading "operator(*)" for intrinsic type (complex) fails
- From: "fxcoudert at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 21 Mar 2007 00:10:00 -0000
- Subject: [Bug fortran/30877] overloading "operator(*)" for intrinsic type (complex) fails
- References: <bug-30877-6642@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #5 from fxcoudert at gcc dot gnu dot org 2007-03-21 00:10 -------
(In reply to comment #2)
> interface.c:567 is where it all starts.
Thanks for the pointer.
> If complex is excluded from product, we run into a
> problem with the test for the shape of the two operands.
I think it's the right way to go, though. I don't have the standard with me,
but I think it's precisely because of the different shapes that we can override
this. Maybe some code later in the codepath needs to be taught about that?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30877