This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]