1 /* { dg-do compile { target { { { i?86-*-* x86_64-*-* } && lp64 } || { arm_thumb2 } } } } */ 2 /* { dg-options "-O2 -fdump-rtl-pro_and_epilogue" } */ 3 4 int foo (int *p1, int *p2); 5 6 int test(int * p1,int * p2)7test (int *p1, int *p2) 8 { 9 int *p; 10 11 for (p = p2; p != 0; p++) 12 { 13 if (!foo (p, p1)) 14 return 0; 15 } 16 17 return 1; 18 } 19 /* { dg-final { scan-rtl-dump "Performing shrink-wrapping" "pro_and_epilogue" } } */ 20