This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug debug/66728] [5/6 Regression] CONST_WIDE_INT causes corrupted DWARF debug info


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]