[Bug 14231] not_const_pp is causing memory reorder in clang without lto in arm

bugzilla at busybox.net bugzilla at busybox.net
Sat Sep 25 11:34:31 UTC 2021


https://bugs.busybox.net/show_bug.cgi?id=14231

--- Comment #1 from YU Jincheng <shana at zju.edu.cn> ---
Note that barrier() is not working since `ash_ptr_to_globals_misc` is const so
the compiler assumes it will NEVER change and optimize like that. Chaning
`ash_ptr_to_globals_misc` to non-const gracefully fixed this.

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


More information about the busybox-cvs mailing list