+2012-05-02 Andreas Jaeger <aj@suse.de>
+
+ * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
+ since we manipulate rounding mode.
+ (CPPFLAGS-test-idouble.c): Likewise.
+ (CPPFLAGS-test-ifloat.c): Likewise.
+ (CFLAGS-test-ldouble.c): Likewise.
+ (CFLAGS-test-double.c): Likewise.
+ (CFLAGS-test-float.c): Likewise.
+ (CFLAGS-test-misc.c): Likewise.
+ (CFLAGS-test-test-fenv.c): Likewise.
+
2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
[BZ #2550]
$(objpfx)test-ildoubl.o: $(objpfx)libm-test.stmp
endif
-CFLAGS-test-float.c = -fno-inline -ffloat-store -fno-builtin
-CFLAGS-test-double.c = -fno-inline -ffloat-store -fno-builtin
-CFLAGS-test-ldouble.c = -fno-inline -ffloat-store -fno-builtin
+CFLAGS-test-float.c = -fno-inline -ffloat-store -fno-builtin -frounding-math
+CFLAGS-test-double.c = -fno-inline -ffloat-store -fno-builtin -frounding-math
+CFLAGS-test-ldouble.c = -fno-inline -ffloat-store -fno-builtin -frounding-math
CFLAGS-test-tgmath.c = -fno-builtin
CFLAGS-test-tgmath2.c = -fno-builtin
CFLAGS-test-tgmath-ret.c = -fno-builtin
CFLAGS-test-powl.c = -fno-builtin
+CFLAGS-test-test-fenv.c = -frounding-math
+CFLAGS-test-misc.c = -frounding-math
CPPFLAGS-test-ifloat.c = -U__LIBC_INTERNAL_MATH_INLINES -D__FAST_MATH__ \
- -DTEST_FAST_MATH -fno-builtin
+ -DTEST_FAST_MATH -fno-builtin -frounding-math
CPPFLAGS-test-idouble.c = -U__LIBC_INTERNAL_MATH_INLINES -D__FAST_MATH__ \
- -DTEST_FAST_MATH -fno-builtin
+ -DTEST_FAST_MATH -fno-builtin -frounding-math
CPPFLAGS-test-ildoubl.c = -U__LIBC_INTERNAL_MATH_INLINES -D__FAST_MATH__ \
- -DTEST_FAST_MATH -fno-builtin
+ -DTEST_FAST_MATH -fno-builtin -frounding-math
# The -lieee module sets the _LIB_VERSION_ switch to IEEE mode