[Bug debug/84637] gcc/dbxout.c:684:14: runtime error: negation of -9223372036854775808 cannot be represented in type 'long int'; cast to an unsigned type to negate this value to itself
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Apr 17 22:19:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84637
--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Tue Apr 17 22:18:47 2018
New Revision: 259451
URL: https://gcc.gnu.org/viewcvs?rev=259451&root=gcc&view=rev
Log:
PR debug/84637
* dbxout.c (dbxout_int): Perform negation in unsigned int type.
(stabstr_D): Change type of unum from unsigned int to
unsigned HOST_WIDE_INT. Perform negation in unsigned HOST_WIDE_INT
type.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/dbxout.c
More information about the Gcc-bugs
mailing list