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: 29 Mar 2005 20:03:20 -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-03-29 20:03 -------
This most likely can be reproduced on ia64 too and other targets where alignment is needed for some
loads.
The tree which we produce looks like:
<bb 0>:
if (p->c[0] != 0) goto <L0>; else goto <L2>;
<L0>:;
D.1133 = *((unsigned char *) p + 5B);
p = p + 1B;
if (D.1133 != 0) goto <L0>; else goto <L2>;
--
What |Removed |Added
----------------------------------------------------------------------------
Summary|[4.0 regression] ivopts |[4.0/4.1 regression] ivopts
|produces code that generates|produces code that generates
|"unaligned access exception"|"unaligned access exception"
Target Milestone|--- |4.0.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20625