This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/48418] [4.6/4.7/4.8 Regression] Bit shift operator >>=


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]