[Bug middle-end/105495] `__atomic_compare_exchange` prevents tail-call optimization

2022-05-06 Thread lh_mouse at 126 dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105495 --- Comment #5 from LIU Hao --- This does not trigger the issue: ```c #define __atomic_compare_exchange(p,c,n,w,ms,mf) \ ({ int __temp; \ __builtin_memcpy(&__temp, c, sizeof(*c)); \ _Bool __r = __atomic_compare_exchange(p, (__typ

[Bug middle-end/105495] `__atomic_compare_exchange` prevents tail-call optimization

2022-05-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105495 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement Component|c