2009-07-08 Mark Wielaard <mjw@redhat.com>
commitfbff7494870dcb978e0b6e2aa6519e6859442fe3
authormark <mark@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 8 Jul 2009 18:07:47 +0000 (8 18:07 +0000)
committermark <mark@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 8 Jul 2009 18:07:47 +0000 (8 18:07 +0000)
tree01104f4e6c33221391ecb469d8281e5275c76006
parentfd0652b12729e635dd28a1c7105c9e6e7162f8af
2009-07-08  Mark Wielaard  <mjw@redhat.com>

PR debug/40659
* dwarf2out.c (add_data_member_location_attribute): When we have
only a constant offset don't emit a new location description using
DW_OP_plus_uconst, but just add the constant with add_AT_int, when
dwarf_version > 2.

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