target/6522: Incorrect struct offset for unaligned 64-bit fields in debug information

Daniel Jacobowitz drow@mvista.com
Fri Jan 3 03:51:00 GMT 2003


Hmm, I missed the patch going by, and the transition to feedback was
before the testcase was provided.  The problem still exists in HEAD as
of a day or two ago, so this is not fixed.

[Huh.  I didn't realize a 64-bit integer could be misaligned when
placed within a struct that didn't specify packedness.  This is a
property of x86_field_align, in case anyone else gets confused looking
at this testcase.  I've learned my one thing for today.]

On Thu, Jan 02, 2003 at 01:34:20PM -0500, Nathanael Nerode wrote:
> There was a patch to address this a while back.  Can someone confirm that 
> this is fixed in mainline so we can close the bug (now in feedback for >6 
> months)?
> 
> --Nathanael
> 

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer



More information about the Gcc-bugs mailing list