Commit a2d0c46d by Andrew Pinski Committed by Andrew Pinski

re PR rtl-optimization/7003 ([ppc] address of array loaded int register twice without any need)

2007-09-27  Andrew Pinski  <andrew_pinski@playstation.sony.com>

        PR middle-end/7003
        * gcc.target/powerpc/gcse-1.c: New test.

From-SVN: r128856
parent 7cefcade
2007-09-27 Andrew Pinski <andrew_pinski@playstation.sony.com>
PR middle-end/7003
* gcc.target/powerpc/gcse-1.c: New test.
2007-09-27 Tobias Schlter <tobi@gcc.gnu.org>
* gfortran.dg/array_initializer_3.f90: Adapt error annotations for
/* { dg-do compile { target { *-*-linux* && ilp32 } } } */
/* { dg-options "-O2" } */
/* { dg-final { scan-assembler-times "@ha" 1 } } */
/* Test for PR 7003, address of array loaded int register
twice without any need. */
extern const char flags [256];
unsigned char * f (unsigned char * s) {
while (flags[*++s]);
while (!flags[*++s]);
return s;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment