Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/gcc.target/aarch64/pr94697.c @ 152:2b5abeee2509
update gcc11
author | anatofuz |
---|---|
date | Mon, 25 May 2020 07:50:57 +0900 |
parents | |
children |
rev | line source |
---|---|
152 | 1 /* { dg-do compile } */ |
2 /* { dg-require-effective-target lp64 } */ | |
3 /* { dg-options "-O2 -mbranch-protection=standard" } */ | |
4 /* { dg-final { check-function-bodies "**" "" } } */ | |
5 | |
6 void bar (int *); | |
7 void *addr; | |
8 | |
9 /* | |
10 ** foo: | |
11 ** hint (25|34|38) // (paciasp|bti c|bti jc) | |
12 ** ... | |
13 */ | |
14 int foo (int x) | |
15 { | |
16 label: | |
17 addr = &&label; | |
18 bar (&x); | |
19 return x; | |
20 } |