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
Use conditional internal functions in if-conversion
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.target
/
arm
/
attr_thumb-static.c
blob
1ce566f1c154e3da4a47edc7ff80b52118e573dd
1
/* Check that a change mode to a static function is correctly handled. */
2
/* { dg-do run } */
3
4
static void
5
__attribute__
((
__noinline__
))
6
foo
(
void
)
7
{
8
__asm__
(
""
);
9
}
10
11
static void
12
__attribute__
((
__noinline__
))
13
__attribute__
((
target
(
"thumb"
)))
14
bar
(
void
)
15
{
16
__asm__
(
""
);
17
}
18
19
int
20
main
(
void
)
21
{
22
foo
();
23
bar
();
24
return
0
;
25
}