Re:Missed optimization of C++ code in Clang or bug in GCC?
by detaro on Sunday April 25, 2021 @07:49PM
(#26937855)
neither? clang has decided to inline, gcc hasn't. both are valid.
[ Parent
| on HN ]
Re:Missed optimization of C++ code in Clang or bug in GCC?
by pyler on Sunday April 25, 2021 @07:58PM
(#26937922)
Check this case:
https://godbolt.org/z/hMYY1sxKe
Any idea why we have instructions after ret?