[Bug debug/78839] [6 Regression] DWARF output different between GCC 5 and 6
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Jan 17 20:35:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78839
--- Comment #14 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Tue Jan 17 20:34:58 2017
New Revision: 244555
URL: https://gcc.gnu.org/viewcvs?rev=244555&root=gcc&view=rev
Log:
PR debug/78839
* dwarf2out.c (field_byte_offset): Restore the
PCC_BITFIELD_TYPE_MATTERS behavior for INTEGER_CST DECL_FIELD_OFFSET
and DECL_FIELD_BIT_OFFSET. Use fold_build2 instead of build2 + fold.
(analyze_variants_discr, gen_variant_part): Use fold_build2 instead
of build2 + fold.
Modified:
branches/gcc-6-branch/gcc/ChangeLog
branches/gcc-6-branch/gcc/dwarf2out.c
More information about the Gcc-bugs
mailing list