[Bug debug/66728] [5 Regression] CONST_WIDE_INT causes corrupted DWARF debug info
mrs at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Nov 9 18:28:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66728
--- Comment #11 from mrs at gcc dot gnu.org <mrs at gcc dot gnu.org> ---
Author: mrs
Date: Mon Nov 9 18:27:43 2015
New Revision: 230039
URL: https://gcc.gnu.org/viewcvs?rev=230039&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:
branches/gcc-5-branch/gcc/ChangeLog
branches/gcc-5-branch/gcc/dwarf2out.c
branches/gcc-5-branch/gcc/rtl.h
More information about the Gcc-bugs
mailing list