https://gcc.gnu.org/bugzilla/show_bug.cgi?id=44179
Alexander Monakov <amonakov at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |amonakov at gcc dot gnu.org --- Comment #5 from Alexander Monakov <amonakov at gcc dot gnu.org> --- Warning when sizeof 'x' appears as a term in an addition/subtraction would catch the misuses while leaving instances like assert(sizeof 'x' == 4) be.