This testcase will fail with '-O2 -ffast-math -mno-80387': #include <math.h> double test(double x) { return sin(x); }
sin.c: In function 'test': /usr/include/bits/mathinline.h:456: error: impossible constraint in 'asm' Adding -D__NO_MATH_INLINES to compile flags fixes this problem. -- Summary: -mno-80387 should define __NO_MATH_INLINES Product: gcc Version: 4.0.0 Status: UNCONFIRMED Severity: normal Priority: P2 Component: target AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: uros at kss-loka dot si CC: gcc-bugs at gcc dot gnu dot org GCC build triplet: i386-pc-linux-gnu GCC host triplet: i386-pc-linux-gnu GCC target triplet: i386-pc-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19602