repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Require target lra in gcc.dg/pr108095.c
[official-gcc.git]
/
gcc
/
testsuite
/
gdc.dg
/
attr_alwaysinline1.d
blob
8fbe25cdfc1fe4cdaba982ebe5a6fe3534aee168
1
// { dg-do compile }
2
// { dg-options "-O0" }
3
4
import
gcc
.
attributes
;
5
6
int
func
()
7
{
8
int
nested_function
()
@always_inline
9
{
10
return
13
;
11
}
12
return
nested_function
();
13
}
14
15
@always_inline
int
var
=
0
;
// { dg-warning ".always_inline. attribute ignored" }
16
17
// { dg-final { scan-assembler-not "nested_function" } }