https://bugs.kde.org/show_bug.cgi?id=522160

            Bug ID: 522160
           Summary: none/tests/x86/crc32.vgtest fails with clang
    Classification: Developer tools
           Product: valgrind
      Version First 3.27 GIT
       Reported In:
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: vex
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

The none/tests/x86/crc32.vgtest fails when clang is used for the compilation:

$ CC=clang CXX=clang++ ./configure
...
$ tests/vg_regtest none/tests/amd64/crc32.vgtest none/tests/x86/crc32.vgtest
crc32:           valgrind   -q ./crc32 
crc32:           valgrind   -q ./crc32 
*** crc32 failed (stdout) ***

== 2 tests, 0 stderr failures, 1 stdout failure, 0 stderrB failures, 0 stdoutB
failures, 0 post failures ==
none/tests/x86/crc32                     (stdout)

$

$ sdiff ./none/tests/x86/crc32.stdout.exp ./none/tests/x86/crc32.stdout.out |
tail -3
m crc32_u32  122de453 7ebadd80  ec581a76 00000000             | m crc32_u32 
122de453 7ebadd80  ec581a76 00000084
r crc32_u32  40ad0d2c 61ae8842  180bde9b 00000000             | r crc32_u32 
40ad0d2c 61ae8842  180bde9b 00000084
m crc32_u32  63f36dc9 b2ea8964  76b5456b 00000000             | m crc32_u32 
63f36dc9 b2ea8964  76b5456b 00000084
$

Note how 00000000 is expected but 00000084 is actually produced.

The testcase needs update so that it works with clang too.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to