From 6c8bbad92726eeb50c9bb4107dad80155062eb0a Mon Sep 17 00:00:00 2001 From: Siddhesh Poyarekar Date: Tue, 3 Sep 2013 09:29:01 +0530 Subject: Mark success return value as volatile to work around rescheduling Resolves #15921 The test case nptl/tst-cleanup2 fails on s390x and power6 due to instruction sheduling in gcc. This was reported in gcc: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58034 but it was concluded that gcc is allowed to assume that the first argument to sprintf is a character array - NULL not being a valid character array. --- nptl/ChangeLog | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'nptl/ChangeLog') diff --git a/nptl/ChangeLog b/nptl/ChangeLog index d1efbb43e5..7511f701ec 100644 --- a/nptl/ChangeLog +++ b/nptl/ChangeLog @@ -1,3 +1,9 @@ +2013-09-03 Siddhesh Poyarekar + + [BZ #15921] + * tst-cleanup2.c (do_test): New volatile variable RET to + return success. + 2013-08-30 Ondřej Bílka * sysdeps/pthread/pthread.h: Fix typos. -- cgit 1.4.1