comparison gcc/testsuite/gcc.target/i386/pr94417-1.c @ 152:2b5abeee2509

update gcc11
author anatofuz
date Mon, 25 May 2020 07:50:57 +0900
parents
children
comparison
equal deleted inserted replaced
145:1830386684a0 152:2b5abeee2509
1 /* { dg-do compile } */
2 /* { dg-require-effective-target lp64 } */
3 /* { dg-options "-O2 -fcf-protection -mcmodel=large" } */
4 /* { dg-final { scan-assembler-times {\mendbr} 2 } } */
5
6 extern void ext (void);
7
8 __attribute((noclone, noinline))
9 static
10 void
11 foo (void)
12 {
13 ext ();
14 }
15
16 void
17 bar (void)
18 {
19 foo ();
20 }