[Bug target/19602] New: -mno-80387 should define __NO_MATH_INLINES

uros at kss-loka dot si gcc-bugzilla@gcc.gnu.org
Mon Jan 24 07:16:00 GMT 2005


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



More information about the Gcc-bugs mailing list