This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/12705] [gfortran] : complex powers
- From: "pbrook 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 Oct 2003 19:53:32 -0000
- Subject: [Bug middle-end/12705] [gfortran] : complex powers
- References: <20031021073031.12705.jv244@cam.ac.uk>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12705
pbrook at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Component|fortran |middle-end
Ever Confirmed| |1
Last reconfirmed|0000-00-00 00:00:00 |2003-10-21 19:53:32
date| |
------- Additional Comments From pbrook at gcc dot gnu dot org 2003-10-21 19:53 -------
This looks like a bug in the tree->rtl expander, so checged category to
middle-end
The problematic line (from .t05.gimple tree dump) is
pow.3 = pow.3 * val.1;
This gets miscompiled such that the real component of pow.3 is overwritten
before the imaginary component is calculated.
Yes, I know our implementation of ** sucks, but that's a seperate problem.