https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89899
--- Comment #2 from hosang ---
Our member mentioned this code is lock-free implementation for performance.
The gcc result is different from msvc.
Is there any chance impractical memory write reorder by gcc?
Thank you very much
++
Assignee: unassigned at gcc dot gnu.org
Reporter: hos.lee at samsung dot com
Target Milestone: ---
Dear,
I have a question about g++ compiler when running the below example.
[ used compiler ]
- Welcome to Ubuntu 16.04.5 LTS (GNU/Linux 4.4.0-17134-Microsoft x86_64)
- g++ test.cpp