This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/30980] [4.3 Regression] Recent complex miscompilation



------- Comment #9 from dominiq at lps dot ens dot fr  2007-03-11 12:19 -------
I confirm that the bug does not show with gcc. Is theis related to the
following failures in the regtest?

FAIL: gcc.dg/builtins-59.c scan-tree-dump __builtin_cexpi
FAIL: gcc.dg/builtins-59.c scan-tree-dump-not sincos
FAIL: gcc.dg/builtins-61.c scan-tree-dump cexpi
FAIL: gcc.dg/builtins-61.c scan-tree-dump sin
FAIL: gcc.dg/builtins-61.c scan-tree-dump cos
FAIL: gcc.dg/builtins-61.c scan-tree-dump return 0.0
FAIL: gcc.dg/builtins-62.c scan-tree-dump-times cexpi 3

Also the following fortran code

complex(8) :: cplx, t
real(8)    :: tmp
cplx = cmplx(-1.0,0.0,8)
t = log(cplx)
tmp = 0.5 * imag(t)
print *, cos(tmp), sin(tmp)
end

reproduces the bug.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30980


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]