This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/20625] [4.0/4.1 regression] ivopts produces code that generates "unaligned access exception"
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 5 May 2005 19:22:49 -0000
- Subject: [Bug target/20625] [4.0/4.1 regression] ivopts produces code that generates "unaligned access exception"
- References: <20050324165328.20625.tsv@solvo.ru>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-05-05 19:22 -------
(In reply to comment #19)
> Should not be some warning to be generated?
There is a warning if going directly from char * to the union pointer but since you go through a void
pointer, the warning is gone.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20625