Mark success return value as volatile to work around rescheduling
commit6c8bbad92726eeb50c9bb4107dad80155062eb0a
authorSiddhesh Poyarekar <siddhesh@redhat.com>
Tue, 3 Sep 2013 03:59:01 +0000 (3 09:29 +0530)
committerSiddhesh Poyarekar <siddhesh@redhat.com>
Tue, 3 Sep 2013 03:59:01 +0000 (3 09:29 +0530)
tree668cb7fc9fb6e93914a49660c6ed9733801e619b
parent18d4371683fbe347bf4fbaef05d18b5a4918887a
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.
NEWS
nptl/ChangeLog
nptl/tst-cleanup2.c