paulfloyd / freebsd_valgrind

Git repo used to Upstream the FreeBSD Port of Valgrind
GNU General Public License v2.0
15 stars 4 forks source link

drd/tests/atomic_var is failing [clang] #140

Closed paulfloyd closed 3 years ago

paulfloyd commented 4 years ago

The 'expected' location obtained with GCC is

Location 0x........ is 0 bytes inside global var "s_y" declared at atomic_var.c:35

But with clang

Location 0x........ is 0 bytes inside g_dummy[512], a global variable declared at atomic_var.c:34

"g_dummy" is not used and cannot be the cause of any conflict.

paulfloyd commented 3 years ago

This now passes with FreeBSD 12.2 / clang 10