diff options
author | Jakub Jelinek <jakub@redhat.com> | 2016-12-01 10:24:55 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2016-12-01 10:24:55 +0100 |
commit | d26b3eb7658b48e6dadec752755f864652f19591 (patch) | |
tree | f3854e70ac4403b06fc4365497d9de9c5d72f937 /gcc/memory-block.h | |
parent | 43d0b501eec49d6d4092fe0e5299aedf1d743124 (diff) | |
download | gcc-d26b3eb7658b48e6dadec752755f864652f19591.zip gcc-d26b3eb7658b48e6dadec752755f864652f19591.tar.gz gcc-d26b3eb7658b48e6dadec752755f864652f19591.tar.bz2 |
re PR debug/78587 (dwarf2out.c:1517:45: runtime error: negation of -9223372036854775808 cannot be represented in type 'long int [4]'; cast to an unsigned type to negate this value to itself)
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.
From-SVN: r243100
Diffstat (limited to 'gcc/memory-block.h')
0 files changed, 0 insertions, 0 deletions