This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/21387] Unaligned writes on MIPSEL systems after typecast
- From: "maarten at contemplated dot nl" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 5 May 2005 11:56:53 -0000
- Subject: [Bug target/21387] Unaligned writes on MIPSEL systems after typecast
- References: <20050504190754.21387.maarten@contemplated.nl>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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