http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48418
--- Comment #9 from Jakub Jelinek <jakub at gcc dot gnu.org> 2013-01-08 14:44:51 UTC --- Created attachment 29104 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=29104 gcc48-pr48418.patch Untested fix. To avoid warning twice, this warns in c_fully_fold_internal only if orig_op1 isn't INTEGER_CST, but op1 is. And on the testcase I found that in 4.8 my SIZEOF_EXPR C++ changes regressed the testcase too.