This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/28138] ext/pb_ds/example/basic_map.cc, etc fail: unaligned accesses at compile time
- From: "sje at cup dot hp dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 22 Jun 2006 21:16:45 -0000
- Subject: [Bug target/28138] ext/pb_ds/example/basic_map.cc, etc fail: unaligned accesses at compile time
- References: <bug-28138-133@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from sje at cup dot hp dot com 2006-06-22 21:16 -------
I see these failures too, they appear to have started with SVN version 114783.
I don't think that patch is buggy, it just preterbed the allocation setup
enough to make something that was accidentally aligned to be accidentaly
unaligned.
If I am reading the assembly correctly the unaligned access is happening in
build_string (tree.c) with the inlining of memcpy. Why GCC would be assuming
something more than char/byte alignment, I don't know.
--
sje at cup dot hp dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |sje at cup dot hp dot com
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2006-06-22 21:16:45
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28138