[Bug target/28138] ext/pb_ds/example/basic_map.cc, etc fail: unaligned accesses at compile time

sje at cup dot hp dot com gcc-bugzilla@gcc.gnu.org
Thu Jun 22 21:22:00 GMT 2006



------- 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



More information about the Gcc-bugs mailing list