[Bug rtl-optimization/9553] No induction variable elimination

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sun Sep 12 01:53:00 GMT 2004


------- 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



More information about the Gcc-bugs mailing list