[Bug middle-end/103372] Warning on failure order defaulting to SEQ_CST if not a compile time constant

2022-01-04 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103372 Martin Sebor changed: What|Removed |Added Known to fail||10.2.0, 11.2.0, 4.9.4,

[Bug middle-end/103372] Warning on failure order defaulting to SEQ_CST if not a compile time constant

2022-01-04 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103372 Bug 103372 depends on bug 99612, which changed state. Bug 99612 Summary: Remove "#pragma GCC system_header" from atomic file to warn on incorrect memory order https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99612 What|Removed

[Bug middle-end/103372] Warning on failure order defaulting to SEQ_CST if not a compile time constant

2021-12-13 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103372 Martin Sebor changed: What|Removed |Added Depends on||99612 CC|

[Bug middle-end/103372] Warning on failure order defaulting to SEQ_CST if not a compile time constant

2021-12-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103372 Andrew Pinski changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug middle-end/103372] Warning on failure order defaulting to SEQ_CST if not a compile time constant

2021-11-29 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103372 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug middle-end/103372] Warning on failure order defaulting to SEQ_CST if not a compile time constant

2021-11-29 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103372 --- Comment #1 from Andrew Pinski --- Confirmed. clang decides (on aarch64 at least) emits a conditional based on the argument, instead of special casing it to SEQ_CST .