r243100 - in /trunk/gcc: ChangeLog dwarf2out.c ...
jakub@gcc.gnu.org
jakub@gcc.gnu.org
Thu Dec 1 09:24:00 GMT 2016
Author: jakub
Date: Thu Dec 1 09:24:55 2016
New Revision: 243100
URL: https://gcc.gnu.org/viewcvs?rev=243100&root=gcc&view=rev
Log:
PR debug/78587
* dwarf2out.c (loc_descr_plus_const): For negative offset use
uint_loc_descriptor instead of int_loc_descriptor and perform negation
in unsigned HOST_WIDE_INT type.
(scompare_loc_descriptor): Shift UINTVAL left instead of INTVAL.
* gcc.dg/debug/pr78587.c: New test.
Added:
trunk/gcc/testsuite/gcc.dg/debug/pr78587.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/dwarf2out.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-cvs
mailing list