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
* Mainline merge as of 2006-02-16 (@111136).
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.c-torture
/
compile
/
20040220-1.c
blob
8a4a5ba6d0f020547cd1e269708ad042f6a2f26c
1
/* PR 14194 */
2
3
int
irqs
;
4
5
static
inline
__attribute__
((
always_inline
))
6
int
kstat_irqs
(
void
) {
7
int
i
,
sum
=
0
;
8
for
(
i
=
0
;
i
<
1
;
i
++)
9
if
(
__builtin_expect
(
i
,
0
))
10
sum
+=
irqs
;
11
return
sum
;
12
}
13
14
int
show_interrupts
(
void
) {
15
return
kstat_irqs
();
16
}