bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug binutils/26449] UBSAN error: opcodes/frv-ibld.c:135:30:


From: cvs-commit at gcc dot gnu.org
Subject: [Bug binutils/26449] UBSAN error: opcodes/frv-ibld.c:135:30:
Date: Fri, 28 Aug 2020 14:37:46 +0000

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

--- 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 <amodra@sourceware.org>:

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

commit a1e60a1bdce8f555f45b5f94c059d83abf883567
Author: Alan Modra <amodra@gmail.com>
Date:   Fri Aug 28 23:43:16 2020 +0930

    PR26449, PR26450 UBSAN: frv-ibld.c:135 left shift

    Eh well, I guess the code didn't quite live up to the comment.

            PR 26449
            PR 26450
            * cgen-ibld.in (insert_1): Use 1UL in forming mask.
            (extract_normal): Likewise.
            (insert_normal): Likewise, and move past zero length test.
            (put_insn_int_value): Handle mask for zero length, use 1UL.
            * bpf-ibld.c, * epiphany-ibld.c, * fr30-ibld.c, * frv-ibld.c,
            * ip2k-ibld.c, * iq2000-ibld.c, * lm32-ibld.c, * m32c-ibld.c,
            * m32r-ibld.c, * mep-ibld.c, * mt-ibld.c, * or1k-ibld.c,
            * xc16x-ibld.c, * xstormy16-ibld.c: Regenerate.

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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]