Missed optimization of C++ code in Clang or bug in GCC? · HackerTrans