https://sourceware.org/bugzilla/show_bug.cgi?id=26415

--- Comment #1 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot 
gnu.org> ---
The master branch has been updated by Alan Modra <amo...@sourceware.org>:

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=b4e125d9351f84233698bef91530743547c87403

commit b4e125d9351f84233698bef91530743547c87403
Author: Alan Modra <amo...@gmail.com>
Date:   Wed Aug 26 11:26:35 2020 +0930

    PR26415 UBSAN: vms-misc.c:636 left shift cannot be represented

    An unsigned short value is promoted to int, thus triggering UB on a
    left shift of a positive value that results in a negative int.

            PR 26415
            * vms-misc.c (vms_time_t_to_vms_time): Don't use unsigned short
vars.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to