[Bug lto/40754] lto1 dies with SIGBUS/SIGSEGV on Solaris 11/SPARC
rguenth at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Wed Sep 16 13:18:00 GMT 2009
------- Comment #2 from rguenth at gcc dot gnu dot org 2009-09-16 13:17 -------
It looks like this:
/* Read in lto_in_decl_state objects. */
data_ptr = (const uint32_t *) ((const char*) data + decl_offset);
data_end =
(const uint32_t *) ((const char*) data_ptr + header->decl_state_size);
num_decl_states = *data_ptr++;
may be the reason.
I don't know what's easier - trying to properly align things or properly
accessing things.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40754
More information about the Gcc-bugs
mailing list