Fix a difference of behavior between GCC and Clang.