Mercurial > hg > CbC > GCC_original
annotate gcc/testsuite/c-c++-common/patchable_function_entry-default.c @ 19:2b5abeee2509 default tip
update gcc11
author | anatofuz |
---|---|
date | Mon, 25 May 2020 07:50:57 +0900 |
parents | 1830386684a0 |
children |
rev | line source |
---|---|
18 | 1 /* { dg-do compile { target { ! { nvptx*-*-* visium-*-* } } } } */ |
16 | 2 /* { dg-options "-O2 -fpatchable-function-entry=3,1" } */ |
18 | 3 /* { dg-additional-options "-fno-pie" { target sparc*-*-* } } */ |
4 /* { dg-final { scan-assembler-times "nop|NOP" 3 { target { ! { alpha*-*-* } } } } } */ | |
16 | 5 /* { dg-final { scan-assembler-times "bis" 3 { target alpha*-*-* } } } */ |
6 | |
7 extern int a; | |
8 | |
9 /* Nothing declared must not mean anything. */ | |
10 int f3 (void); | |
11 | |
12 /* F3 should get a default-sized NOP area. */ | |
13 int | |
14 __attribute__((noinline)) | |
15 f3 (void) | |
16 { | |
17 return 5*a; | |
18 } |