PR debug/78839
commit3ec2becbe57e79e9b59358a946cafbd37e3d0f7f
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 17 Jan 2017 18:32:13 +0000 (17 18:32 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 17 Jan 2017 18:32:13 +0000 (17 18:32 +0000)
tree170abd4b9d4290fbd2968269f752e237ae875729
parente395357f8d759c7c86b06bd02414e8927f94a766
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@244545 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/dwarf2out.c