[Bug target/121022] Suboptimal code generation for atomic_thread_fence

2025-07-10 Thread mmyangfl at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121022 --- Comment #1 from Yangfl --- The motivation: #include #include bool refcnt_release(atomic_int *refcnt) { int orig = atomic_fetch_sub_explicit(refcnt, 1, memory_order_release); if (orig > 1) { return false; } // atomic_thread_fe

[Bug target/121022] New: Suboptimal code generation for atomic_thread_fence

2025-07-09 Thread mmyangfl at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121022 Bug ID: 121022 Summary: Suboptimal code generation for atomic_thread_fence Product: gcc Version: 15.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Compon

[Bug target/104914] [MIPS] wrong comparison with scrabbled int value

2022-03-14 Thread mmyangfl at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104914 --- Comment #1 from Yangfl --- Original issue: https://github.com/matplotlib/matplotlib/issues/21789

[Bug target/104914] New: [MIPS] wrong comparison with scrabbled int value

2022-03-14 Thread mmyangfl at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104914 Bug ID: 104914 Summary: [MIPS] wrong comparison with scrabbled int value Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: