This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/12705] New: [gfortran] : complex powers
- From: "jv244 at cam dot ac dot uk" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 21 Oct 2003 07:30:32 -0000
- Subject: [Bug fortran/12705] New: [gfortran] : complex powers
- 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
Summary: [gfortran] : complex powers
Product: gcc
Version: tree-ssa
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: jv244 at cam dot ac dot uk
CC: gcc-bugs at gcc dot gnu dot org
wrong results with complex powers :
COMPLEX a,b
INTEGER i
a=(0.0,1.0)
i=2
b=a**i
IF (b.NE.-1.0) CALL ABORT()
i=4
b=a**i
IF (b.NE.1.0) CALL ABORT()
END