[Bug debug/66728] [5/6 Regression] CONST_WIDE_INT causes corrupted DWARF debug info
mrs at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Nov 6 20:16:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66728
--- Comment #8 from mrs at gcc dot gnu.org <mrs at gcc dot gnu.org> ---
Author: mrs
Date: Fri Nov 6 20:16:06 2015
New Revision: 229885
URL: https://gcc.gnu.org/viewcvs?rev=229885&root=gcc&view=rev
Log:
PR debug/66728
* dwarf2out.c (get_full_len): Return a value based upon the actual
precision needed for the value.
(add_const_value_attribute): Use a maximal wide-int for
CONST_WIDE_INTs, not VOIDmode.
(output_die): Don't ever output NULL with printf.
* rtl.h (get_precision of rtx_mode_t): Ensure we never process
BLKmode nor VOIDmode values.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/dwarf2out.c
trunk/gcc/rtl.h
More information about the Gcc-bugs
mailing list