OSDN Git Service

PR rtl-optimization/42889
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.dg / verbose-asm.c
1 /* Test whether -fverbose-asm works.  */
2 /* { dg-do compile } */
3 /* { dg-options "-fverbose-asm" } */
4
5 void foo (int *x)
6 {
7   (*x)++;
8 }
9
10 int bar (int *y)
11 {
12   int a, b;
13   b = 10;
14   a = 26;
15   foo (&a);
16   a += 10;
17   foo (&a);
18   *y--;
19   return b;
20 }
21    
22 int
23 main (int argc, char *argv [])
24 {
25   bar (&argc);
26   return 0;
27 }