This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/9553] No induction variable elimination
- 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: 12 Sep 2004 01:53:24 -0000
- Subject: [Bug rtl-optimization/9553] No induction variable elimination
- References: <20030203201601.9553.binsh00@hotmail.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-09-12 01:53 -------
It is only semi fixed on the mainline:
ivtmp.7 = &b[0];
<L0>:;
*(ivtmp.7 - &b[0] + &a[0]) = *ivtmp.7;
ivtmp.7 = ivtmp.7 + 4B;
T.22 = &b[0] + 80B;
if (ivtmp.7 != T.22) goto <L0>; else goto <L2>;
See how we use the same IV over and over and have it offsetof b instead of by 0.
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |rakdver at gcc dot gnu dot
| |org
Status|SUSPENDED |NEW
Last reconfirmed|2004-06-13 14:42:45 |2004-09-12 01:53:22
date| |
Target Milestone|lno |---
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=9553