]> git.ipfire.org Git - thirdparty/gcc.git/blame - gcc/testsuite/gcc.dg/pg-override.c
replace ISL with isl
[thirdparty/gcc.git] / gcc / testsuite / gcc.dg / pg-override.c
CommitLineData
a86507b2
AK
1/* Test -fprofile override */
2/* { dg-do compile } */
2bfbb861 3/* { dg-options "-fprofile" { target i?86-*-linux* x86_64-*-linux* } } */
a86507b2
AK
4/* { dg-final { scan-assembler-not "mcount" } } */
5/* Origin: Andi Kleen */
6extern void foobar(const char *);
7
8__attribute__((no_instrument_function)) void func(void)
9{
10 foobar ("Hello world\n");
11}
12
13__attribute__((no_instrument_function)) void func2(void)
14{
15 int i;
16 for (i = 0; i < 10; i++)
17 foobar ("Hello world");
18}