public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/19602] New: -mno-80387 should define __NO_MATH_INLINES
@ 2005-01-24  7:16 uros at kss-loka dot si
  2005-01-24  7:37 ` [Bug target/19602] " pinskia at gcc dot gnu dot org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: uros at kss-loka dot si @ 2005-01-24  7:16 UTC (permalink / raw)
  To: gcc-bugs

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2005-04-30  0:21 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-01-24  7:16 [Bug target/19602] New: -mno-80387 should define __NO_MATH_INLINES uros at kss-loka dot si
2005-01-24  7:37 ` [Bug target/19602] " pinskia at gcc dot gnu dot org
2005-04-29 19:34 ` [Bug target/19602] -mno-80387 or -mfpmath=sse " uros at kss-loka dot si
2005-04-30  0:21 ` rth at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).