This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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;
}


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]