[Bug c/63420] GCC 4.8.2: Bitshift second operand range not as per manual.

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Oct 6 17:25:00 GMT 2014


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63420

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu.org

--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
What matters is what the C and C++ standards (differs between different
versions thereof) say, the documentation is certainly wrong, but even some
shifts where
shift count is smaller than bitsize can be invalid in some standards (for
signed types)).



More information about the Gcc-bugs mailing list