re PR debug/78839 (DWARF output different between GCC 5 and 6)
authorJakub Jelinek <jakub@redhat.com>
Tue, 17 Jan 2017 18:32:13 +0000 (19:32 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Tue, 17 Jan 2017 18:32:13 +0000 (19:32 +0100)
commit1e0424d998298dc3f290309c4c72108c4271de3c
tree170abd4b9d4290fbd2968269f752e237ae875729
parent8ddfdbc265cfe0da5b727559d3736876d0198afb
re PR debug/78839 (DWARF output different between GCC 5 and 6)

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.

From-SVN: r244545
gcc/ChangeLog
gcc/dwarf2out.c