* Mainline merge as of 2006-02-16 (@111136).
[official-gcc.git] / gcc / testsuite / gcc.c-torture / compile / 20040220-1.c
blob8a4a5ba6d0f020547cd1e269708ad042f6a2f26c
1 /* PR 14194 */
3 int irqs;
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;
14 int show_interrupts (void) {
15 return kstat_irqs ();