> You can't know that all compilers will optimize this away, can you? Sure, even Clang won't optimize this at -O0. Basically this patch weakens the check to make a common programming idiom warning-free. http://reviews.llvm.org/D7122 EMAIL PREFERENCES http://reviews.llvm.org/settings/panel/emailpreferences/