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 target/17108] Missed opportunity for strength reduction


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-11-03 15:33 -------
Corresponding code which gives what is wantted here is:
void foo(float *data, float d) {
   long i;

   data--;
   for (i = 0; i < 8; i++)
     {
      data[1] = d;
      data++;
     }
}

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|2004-08-19 15:25:53         |2004-11-03 15:33:17
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17108


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