This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/28162] ICE in set_value_range, at tree-vrp.c:157
- From: "rguenth at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 25 Jun 2006 10:30:15 -0000
- Subject: [Bug tree-optimization/28162] ICE in set_value_range, at tree-vrp.c:157
- References: <bug-28162-9596@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from rguenth at gcc dot gnu dot org 2006-06-25 10:30 -------
Reduced testcase, still needs -O3 (and checking enabled):
void Lag_max_wght(float corr[], long wght_flg)
{
float t0, max;
const float *ww;
long i;
if ( wght_flg > 0 ) {
for ( i = 143; i >= 20; i-- ) {
t0 = corr[ - i] * *ww--;
if ( t0 >= max )
max = t0;
}
}
}
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2006-06-25 10:30:15
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28162