#11226: Sympow spkg fails with gcc 4.6.0
------------------------+---------------------------------------------------
Reporter: jdemeyer | Owner: mariah
Type: defect | Status: needs_work
Priority: major | Milestone: sage-4.7.1
Component: packages | Keywords: sympow
Work_issues: | Upstream: Reported upstream. Little or no
feedback.
Reviewer: | Author: Mariah Lenox
Merged: | Dependencies:
------------------------+---------------------------------------------------
Comment(by jdemeyer):
I simplified the testcase and came up with the following minimal code to
demonstrate the problem:
{{{
extern int printf (__const char *__restrict __format, ...);
double p0 = 2.718281828459045091e+00;
double p1 = 1.445646891729250158e-16;
double q0 = 3.141592653589793116e+00;
double q1 = 1.224646799147353207e-16;
int main()
{
double x;
x = p0*q1 + p1*q0 + p0*q0;
printf("%a\n", x);
return 0;
}
}}}
Also, `-fno-expensive-optimizations` solves this problem.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11226#comment:16>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.