mips.h (ISA_HAS_DSP, [...]): New macros.
[official-gcc.git] / gcc / testsuite / gcc.dg / loop-7.c
blob0457add9c7964caea2763fae3216c98a343afb9c
1 /* PR rtl-optimization/31360 */
3 /* { dg-do compile { target { powerpc*-*-* } } } */
4 /* { dg-options "-O1 -fdump-rtl-loop2_invariant" } */
6 void f(int *a)
8 int i;
9 for (i = 0;i<100;i++)
10 a[i] = 0;
13 /* Load of 0 is moved out of the loop. */
14 /* { dg-final { scan-rtl-dump-times "Decided" 1 "loop2_invariant" } } */
15 /* { dg-final { cleanup-rtl-dump "loop2_invariant" } } */