This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH: mis-preconditioning while unrolling
- From: Dale Johannesen <dalej at apple dot com>
- To: Richard Henderson <rth at redhat dot com>
- Cc: Dale Johannesen <dalej at apple dot com>, gcc-patches at gcc dot gnu dot org
- Date: Wed, 2 Jan 2002 17:59:33 -0800
- Subject: Re: PATCH: mis-preconditioning while unrolling
On Wednesday, January 2, 2002, at 05:51 PM, Richard Henderson wrote:
> On Wed, Jan 02, 2002 at 04:15:16PM -0800, Dale Johannesen wrote:
>> The bootstrap-and-test isn't done yet, but does this look like the
>> right approach? (I know, I need a ChangeLog entry too.)
>
> Probably; I'll look at it in detail later. Got a standalone test case?
Not one that aborts nicely when it fails, but I can make one.
If you're willing to look at assembly code this shows the
problem (ppc Darwin, but I doubt the bug is target-dependent):
extern int a[];
int foo() {
int i;
for (i=198; i>=0; i--)
a[i] = i;
}