This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug other/38995] lto1 uses unaligned data accesses
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 28 Jan 2009 01:20:17 -0000
- Subject: [Bug other/38995] lto1 uses unaligned data accesses
- References: <bug-38995-50@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from pinskia at gcc dot gnu dot org 2009-01-28 01:20 -------
data_ptr = (const uint32_t *) ((const char*) data + decl_offset);
num_decl_states = *data_ptr++;
So either decl_offset is unaligned. Are we storing this packed?
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |dnovillo at gcc dot gnu dot
| |org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38995