Skip analyzer strndup test on hppa*-*-hpux*
[official-gcc.git] / gcc / testsuite / gcc.dg / loop-9.c
blob44f720653f28a5afde851a670d100c583c35556a
1 /* { dg-do compile } */
2 /* { dg-options "-O1 -fdump-rtl-loop2_invariant" } */
3 /* { dg-additional-options "-fno-pie" { target pie } } */
5 void
6 f (double *a)
8 int i;
9 for (i = 0; i < 100; i++)
10 a[i] = 18.4242;
13 /* Load of x is moved out of the loop. */
14 /* { dg-final { scan-rtl-dump "Decided" "loop2_invariant" } } */
15 /* { dg-final { scan-rtl-dump "without introducing a new temporary register" "loop2_invariant" } } */