[Bug debug/71668] certain bitfields get negative DW_AT_bit_offset

2016-06-26 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71668 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug debug/71668] certain bitfields get negative DW_AT_bit_offset

2016-06-26 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71668 --- Comment #3 from Andrew Pinski --- bug 71669 for using DW_AT_data_bit_offset .

[Bug debug/71668] certain bitfields get negative DW_AT_bit_offset

2016-06-26 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71668 --- Comment #2 from Andrew Pinski --- (In reply to Andrew Pinski from comment #1) > Is this on a little-endian or big-endian target? It is little-endian. Note that dwarf issues explains this fully. Basically DW_AT_bit_offset is defined nicely

[Bug debug/71668] certain bitfields get negative DW_AT_bit_offset

2016-06-26 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71668 --- Comment #1 from Andrew Pinski --- Is this on a little-endian or big-endian target? Read http://www.dwarfstd.org/ShowIssue.php?issue=081130.1 on why DW_AT_bit_offset is deprecated in DWARF Version 4.