|
From: | cvs-commit at gcc dot gnu.org |
Subject: | [Bug binutils/26510] UBSAN error: gas/config/tc-z8k.c:1191:19: |
Date: | Mon, 31 Aug 2020 11:00:40 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=26510 --- 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=06de2e0da24a0f0fdc9b38f8308ec909453c4ee8 commit 06de2e0da24a0f0fdc9b38f8308ec909453c4ee8 Author: Alan Modra <amodra@gmail.com> Date: Mon Aug 31 17:34:39 2020 +0930 PR26510 UBSAN: tc-z8k.c left shift of negative value This also fixes the packing of the nibble buffer, which contains rubbish in the top 4 bits of each element. PR 26510 * config/tc-z8k.c (buffer): Use unsigned char. (apply_fix): Use unsigned char* pointers. (build_bytes): Likewise and mask nibbles when packing. -- You are receiving this mail because: You are on the CC list for the bug.
[Prev in Thread] | Current Thread | [Next in Thread] |