stdcxx-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Sebor (JIRA)" <>
Subject [jira] Created: (STDCXX-844) [Sun C++/Solaris 10/AMD64] 0.strncmp fails subtests in LP64
Date Tue, 08 Apr 2008 23:55:24 GMT
[Sun C++/Solaris 10/AMD64] 0.strncmp fails subtests in LP64

                 Key: STDCXX-844
             Project: C++ Standard Library
          Issue Type: Bug
          Components: Test Driver
    Affects Versions: 4.2.0
         Environment: Sun Studio 12 (Sun C++ 5.9)
Solaris 10/AMD64
            Reporter: Martin Sebor
            Priority: Minor
             Fix For: 4.2.2

When compiled with Sun C++ 5.9 in wide mode (with the -m64 option) the [0.strncmp|]
test fails two subtests. This happens both with 4.2.0 and the head of trunk. No other platforms
seem to be affected. Suspect a compiler bug.

$ gmake -r 0.strncmp && ./0.strncmp
CC -c -D_RWSTDDEBUG   -mt -I/amd/devco/sebor/stdcxx/include -I/build/sebor/stdcxx-suncc-5.9-j1-15D/include
-I/amd/devco/sebor/stdcxx/tests/include  -library=%none -g  -m64 +w -errtags -erroff=hidef
CC 0.strncmp.o -o 0.strncmp -L/build/sebor/stdcxx-suncc-5.9-j1-15D/rwtest -lrwtest15D -library=%none
 -mt  -m64 -L/build/sebor/stdcxx-suncc-5.9-j1-15D/lib  -R/build/sebor/stdcxx-suncc-5.9-j1-15D/lib:/build/sebor/stdcxx-suncc-5.9-j1-15D/rwtest
-lstd15D  -lm 
rm 0.strncmp.o
rw_strncmp(const char*, const char*, size_t, int)
line 86: rw_strncmp(405598, 40559a, 4294967295, -1) == 1, got 0
line 87: rw_strncmp(4055d1, 4055d2, 4294967295, -1) == -1, got 0
rw_strncmp(const wchar_t*, const wchar_t*, size_t, int)
rw_strncmp(const wchar_t*, const char*, size_t, int)
rw_strncmp(const char*, const wchar_t*, size_t, int)

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message