https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121434
--- Comment #7 from Jonathan Wakely <redi at gcc dot gnu.org> --- (In reply to Jean-Yves Lefort from comment #5) > Clang surely isn't a panacea, at all, but you guys do whatever you do with > the standard or whatever your interpretation of it is. We're done with gcc, > we drop support. What a silly reaction. This has nothing to do with GCC interpreting the standard differently from Clang. GCC correctly evaluates the arguments left-to-right in this case, there's just a false positive warning. I agree with comment 6 that the warning is incorrect and unhelpful, harmful even.