https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117315

--- Comment #2 from Sam James <sjames at gcc dot gnu.org> ---
Initial instructions were slightly wrong:
```
$ gcc -Og -ggdb3 -flto=auto -fno-strict-aliasing wmem_allocator_strict.c
wmem_core.c wmem_tree.c -o libwsutil.so -Wl,-z,lazy -shared
$ gcc -O2 -ggdb3 -flto=auto -fno-strict-aliasing wmem_test.c wmem_tree.c
wmem_user_cb.c libwsutil.so -o wmem_test
$ ./wmem_test
Segmentation fault         (core dumped) ./wmem_test
```

Reply via email to