1 /* Test -mnop-mcount */
2 /* { dg-do compile { target { { *-*-linux* } && nonpic } } } */
3 /* { dg-options "-pg -mfentry -mrecord-mcount -mnop-mcount" } */
4 /* { dg-final { scan-assembler-not "__fentry__" } } */
5 /* Origin: Andi Kleen */
6 extern void foobar(char *);
10 foobar ("Hello world\n");
16 for (i
= 0; i
< 10; i
++)
17 foobar ("Hello world");
23 foobar("Hello world");