http://llvm.org/bugs/show_bug.cgi?id=8472
Summary: dragonegg causes failures in fortran blas results
Product: dragonegg
Version: 2.8
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P
Component: New Bugs
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
The following simple test program is part of the Octave configure check and
fails when trying to use dragonegg to compile using dragonegg and GCC 4.5.1 as
provided by Ubuntu 10.10.
program main
complex cdotu,a(1),b(1),w
external cdotu
a(1) = cmplx(1e0,1e0)
b(1) = cmplx(1e0,2e0)
w = cdotu(1,a,1,b,1)
print *, w, a(1)*b(1)
if (w .ne. a(1)*b(1)) stop 1
end
$ gfortran-4.5 -o conftest -O0 -mieee-fp conftest.f -lblas -lm
$ ./conftest
(-1.00000, 3.0000) (-1.00000, 3.0000)
$
$ gfortran-4.5 -fplugin=/usr/lib/gcc/i686-linux-gnu/4.5/plugin/dragonegg.so -o
conftest -O0 conftest.f -lblas -lm
$ ./conftest
(NaN, NaN) (-1.00000, 3.0000)
STOP 1
$
I will try the svn tip to compare and report back.
As you can see the
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs