From 81e0662e5f2c342ffa413826b7b100d56677b613 Mon Sep 17 00:00:00 2001 From: Carlos O'Donell Date: Fri, 23 Dec 2016 13:46:56 -0500 Subject: Fix failing pretty printer tests when CPPFLAGS has optimizations. The value of CPPFLAGS provided by the environment may have optimizations that interfere with the pretty printer test requirements. To override such optimizations the pretty printer tests must also specify CPPFLAGS. The existing pretty printer tests are fixed and the README.pretty-printers is updated with the new requirement. --- nptl/test-condattr-printers.c | 1 + 1 file changed, 1 insertion(+) (limited to 'nptl/test-condattr-printers.c') diff --git a/nptl/test-condattr-printers.c b/nptl/test-condattr-printers.c index 4db4098827..2815d02101 100644 --- a/nptl/test-condattr-printers.c +++ b/nptl/test-condattr-printers.c @@ -66,6 +66,7 @@ condvar_reinit (pthread_cond_t *condvar, const pthread_condattr_t *attr) } /* Tests setting the clock ID attribute. */ +__attribute__ ((noinline)) static int test_setclock (pthread_cond_t *condvar, pthread_condattr_t *attr) { -- cgit 1.4.1