Missed optimization of C++ code in Clang or bug in GCC?
1–4 of 4 posts
Re: Missed optimization of C++ code in Clang or bug in GCC?
#2This is very interesting. C++ optimization is super importnat. Thanks for sharing.
Re: Missed optimization of C++ code in Clang or bug in GCC?
#3neither? clang has decided to inline, gcc hasn't. both are valid.
Re: Missed optimization of C++ code in Clang or bug in GCC?
#4neither? clang has decided to inline, gcc hasn't. both are valid.
Check this case:
https://godbolt.org/z/hMYY1sxKe
Any idea why we have instructions after ret?