------- Comment #4 from rguenth at gcc dot gnu dot org 2006-07-05 15:06 -------
Reduced testcase, -O -ftree-vrp -fwrapv
extern int foo(const char *);
extern int verbose;
struct newsgroup {
char* name;
};
extern struct newsgroup** stufftoget;
extern char *l;
void checkgroups(int last)
{
int window = 0;
int outstanding = 0;
while (window < last || outstanding) {
while (outstanding < 47 && window < last) {
if (window < last) {
outstanding++;
if (verbose > 1)
foo(stufftoget[window]->name);
foo(stufftoget[window++]->name);
}
}
if (outstanding > 0) {
if (foo(l) < 5 );
}
}
}
--
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-07-05 15:06:20
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28187