[Bug target/21387] Unaligned writes on MIPSEL systems after typecast

maarten at contemplated dot nl gcc-bugzilla@gcc.gnu.org
Thu May 5 11:56:00 GMT 2005


------- Additional Comments From maarten at contemplated dot nl  2005-05-05 11:56 -------
(In reply to comment #2)

Reading your reply further, I understand that the behavior I observere is
correct and related to the fact that the 'int32_t' type is assumed to be aligned. 

It is not a bug then, but merely a bit of a problem for me. Is there a typecast
to tell the compiler that the adress references an unaligned integer, i.e.
something like int32_unaligned_t?

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |SUSPENDED


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21387



More information about the Gcc-bugs mailing list