https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67602
--- Comment #3 from Brad Huntting <huntting at glarp dot com> --- Oops. I missed that part. Thanks. brad On Wed, Sep 16, 2015 at 12:56 PM, miyuki at gcc dot gnu.org < gcc-bugzi...@gcc.gnu.org> wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67602 > > --- Comment #2 from Mikhail Maltsev <miyuki at gcc dot gnu.org> --- > (In reply to Brad Huntting from comment #0) > > It should be noted that the C standard appears to allow for undefined > > behavior when E2>=N. > > And so does the C++ standard: > > "... The behavior is undefined if the right operand is negative, or greater > than or equal to the length in bits of the promoted left operand." > [expr.shift] > (5.8.1). > > -- > You are receiving this mail because: > You reported the bug. >