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

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

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

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Shifting a negative value left is well defined in C++20, but undefined in C++11
.. C++17.
I guess one possibility would be to cast to poly_uint64 and back, another one
would be to do (a.parm_offset - parm_offset) * BITS_PER_UNIT and let the
compiler optimize it.

Reply via email to