Daily bump.
[official-gcc.git] / gcc / testsuite / gcc.target / arm / epilog-1.c
blobf97f1ebeaaf3e751d75baf9a6311621d8b78443d
1 /* Register liveness information from epilgoue enables peephole optimization. */
2 /* { dg-do compile } */
3 /* { dg-options "-mthumb -Os" } */
4 /* { dg-require-effective-target arm_thumb2_ok } */
6 volatile int g_k;
7 extern void bar(int, int, int, int);
9 int foo(int a, int b, int c, int d)
11 if (g_k & 4) c++;
12 bar (a, b, c, d);
13 return 0;
16 /* { dg-final { scan-assembler-times "lsls.*#29" 1 } } */
17 /* { dg-final { scan-assembler-not "tst" } } */