This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/24581] Complex arithmetic on special cases is incorrect.
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 29 Oct 2005 20:14:41 -0000
- Subject: [Bug middle-end/24581] Complex arithmetic on special cases is incorrect.
- References: <bug-24581-10110@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from pinskia at gcc dot gnu dot org 2005-10-29 20:14 -------
(In reply to comment #1)
> I suspect there are lots of presumptions in the compiler that arithmetic
> operations such as PLUS_EXPR and MULT_EXPR have both operands of the same
> type, which would need to be fixed to represent a real*complex product
> properly.
Or get the front-end emitting the correct code in the first place and not worry
about real*complex in the middle-end which is a much better option and safer
one.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24581