mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-08 09:41:09 +08:00
Restrict to linux and gnu targets as not all math.h implementations support the issignaling macro.
Restrict to linux and gnu targets as not all math.h implementations support the issignaling macro. Use -fexcess-precision=standard for compiler options. Use fabs() only when __FLT_EVAL_METHOD__ == 0. gcc/testsuite/ * gcc.dg/pr61441.c: Restrict to linux and gnu targets. Use -fexcess-precision=standard for compiler options. Use fabs() only when __FLT_EVAL_METHOD__ == 0. From-SVN: r232152
This commit is contained in:
parent
57bf30726c
commit
6e1f093f74
@ -1,3 +1,10 @@
|
||||
2016-01-08 Sujoy Saraswati <sujoy.saraswati@hpe.com>
|
||||
|
||||
PR tree-optimization/61441
|
||||
* gcc.dg/pr61441.c: Restrict to linux and gnu targets.
|
||||
Use -fexcess-precision=standard for compiler options.
|
||||
Use fabs() only when __FLT_EVAL_METHOD__ == 0.
|
||||
|
||||
2016-01-08 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
PR fortran/69128
|
||||
|
@ -1,5 +1,5 @@
|
||||
/* { dg-do run } */
|
||||
/* { dg-options "-O1 -lm" } */
|
||||
/* { dg-do run { target { *-*-linux* *-*-gnu* } } } */
|
||||
/* { dg-options "-O1 -lm -fexcess-precision=standard" } */
|
||||
|
||||
#define _GNU_SOURCE
|
||||
#include <stdio.h>
|
||||
@ -56,6 +56,8 @@ int main (void)
|
||||
operation(Add);
|
||||
operation(Mult);
|
||||
operation(Div);
|
||||
#if __FLT_EVAL_METHOD__ == 0
|
||||
operation(Abs);
|
||||
#endif
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user