arrfab / rpms / glibc

Forked from rpms/glibc 4 years ago
Clone

Blame SOURCES/glibc-rh1064066.patch

147e83
--- /var/lib/mock/glibc-2.17-79.el7/root/builddir/build/BUILD/glibc-2.17-c758a686/math/libm-test.inc	2015-04-06 17:36:33.268209956 -0400
147e83
+++ glibc-2.17-c758a686/math/libm-test.inc	2015-04-07 12:00:03.102360299 -0400
147e83
@@ -521,7 +521,8 @@
147e83
 }
147e83
 
147e83
 
147e83
-static void __attribute__ ((noinline))
147e83
+/* Attributes work around suspected gcc 4.8 bug #1209619.  */
147e83
+static void __attribute__ ((noclone, noinline))
147e83
 check_float_internal (const char *test_name, FLOAT computed, FLOAT expected,
147e83
 		      FLOAT max_ulp, int xfail, int exceptions,
147e83
 		      FLOAT *curr_max_error)
147e83
@@ -610,7 +611,8 @@
147e83
 }
147e83
 
147e83
 
147e83
-static void __attribute__ ((noinline))
147e83
+/* Attributes work around suspected gcc 4.8 bug #1209619.  */
147e83
+static void __attribute__ ((noclone, noinline))
147e83
 check_float (const char *test_name, FLOAT computed, FLOAT expected,
147e83
 	     FLOAT max_ulp, int xfail, int exceptions)
147e83
 {
147e83
@@ -619,7 +621,8 @@
147e83
 }
147e83
 
147e83
 
147e83
-static void __attribute__ ((noinline))
147e83
+/* Attributes work around suspected gcc 4.8 bug #1209619.  */
147e83
+static void __attribute__ ((noclone, noinline))
147e83
 check_complex (const char *test_name, __complex__ FLOAT computed,
147e83
 	       __complex__ FLOAT expected,
147e83
 	       __complex__ FLOAT max_ulp, __complex__ int xfail,