This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/17108] Missed opportunity for strength reduction
- 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: 3 Nov 2004 15:33:18 -0000
- Subject: [Bug target/17108] Missed opportunity for strength reduction
- References: <20040819145911.17108.steinmtz@us.ibm.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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