https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58483

--- Comment #25 from dennis luehring <dl.soluz at gmx dot net> ---
(In reply to dennis luehring from comment #24)
> > However if I do not rename main to main2 I get in #0 testcase:
> 
> also with main2 it gets optimized with gcc trunk on gcc.godbolt

correction: it works with -O3 but not with -O2 in godbolt gcc trunk, clang also
optimizes it with -O2

Reply via email to