[Bug c++/89899] g++ compiler error report

2019-04-01 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89899 --- Comment #3 from Jonathan Wakely --- With the MSVC compiler 'volatile' has additional non-standard semantics. You need to use locks or atomics for other compilers. http://isvolatileusefulwiththreads.in/c++

[Bug c++/89899] g++ compiler error report

2019-04-01 Thread hos.lee at samsung dot com
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

[Bug c++/89899] g++ compiler error report

2019-04-01 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89899 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---