[PATCH 4/7] Fix invalid left shift of negative value.

Dominik Vogt vogt@linux.vnet.ibm.com
Mon Nov 9 16:22:00 GMT 2015


(Sorry, forgot to send this patch to the list a while ago.  No
wonder nobody comments on it.)

On Fri, Oct 30, 2015 at 03:38:15PM +0100, Dominik Vogt wrote:
> The following series of patches fixes all occurences of
> left-shifting negative constants in C code which is undefined by
> the C standard.  The patches have been tested on s390x, covering
> only a small subset of the changes.

Changes in gdb/.

Ciao

Dominik ^_^  ^_^

-- 

Dominik Vogt
IBM Germany
-------------- next part --------------
gdb/ChangeLog

	* hppa-tdep.c (hppa_sign_extend, hppa_low_hppa_sign_extend)
	(prologue_inst_adjust_sp, hppa_frame_cache): Fix left shift of negative
	value.
	* dwarf2read.c (read_subrange_type): Likewise.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0004-gdb-Fix-left-shift-of-negative-value.patch
Type: text/x-diff
Size: 2534 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20151109/de2f4dc4/attachment.bin>


More information about the Binutils mailing list