This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug nptl/15921] New: nptl/tst-cleanup2 fails on s390x and power6


https://sourceware.org/bugzilla/show_bug.cgi?id=15921

            Bug ID: 15921
           Summary: nptl/tst-cleanup2 fails on s390x and power6
           Product: glibc
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: nptl
          Assignee: siddhesh at redhat dot com
          Reporter: siddhesh at redhat dot com
                CC: drepper.fsp at gmail dot com

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 character array.

It is trivial to avoid this problem in the test case by marking the success
return value in tst-cleanup2 as volatile.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]