This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Use double_ints when computing field_byte_offset (PR debug/41048)


On 05/25/2010 12:17 PM, Jakub Jelinek wrote:
With 32-bit HWI cc1 we emit incorrect DW_AT_data_member_location
in structs for fields at offsets above 0x08000000.
The following patch fixes it by using double_int computation instead
HWI.

How much slower does that make things? I wonder if it would be better to do track the byte offset directly and then bit offset relative to that. But perhaps it isn't worth the trouble. OK.


Jason


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]