This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: release status and optimization/8334
- From: Joe Buck <jbuck at synopsys dot com>
- To: drow at mvista dot com (Daniel Jacobowitz)
- Cc: hjl at lucon dot org (H. J. Lu), Joe dot Buck at synopsys dot COM (Joe Buck), gcc at gcc dot gnu dot org
- Date: Thu, 31 Oct 2002 13:36:02 -0800 (PST)
- Subject: Re: release status and optimization/8334
> It also worked on 20021002, and it also works for me on 20021030. Can
> you still reproduce this, Joe?
In my reply to HJ I said I'd spotted it in 20021024, it was actually
20021025. However, it is gone in 20021031. So I'll close it. However,
it seems wise to have a regression test.
Would someone with appropriate write permission please create a regression
test with the following code? We're just testing for successful
compilation (though the test could be extended to verify that the correct
results are computed).
----------------------------------------
/* { dg-do compile } */
/* { dg-options "-O2" } */
/* origin: test case for PR 8334, from kargl@apl.washington.edu */
void ice(int m, int n, double *f) {
int i, j, k;
k = 1; /* ICE */
for (j = 0; j < n; j++) {
for (i = k; i < m; i++) {
f[i] = (double) (i * j);
f[i + j] = (double) ((i + 1) * j);
}
}
}
----------------------------------------