2 // Origin: Michal Ostrowski <mostrows@watson.ibm.com>
3 // Testcase by Alan Modra <amodra@bigpond.net.au>
6 // { dg-options "-O -mtune=i686" { target i?86-*-* } }
13 static inline struct thread_info *cti (void) __attribute__ ((const));
14 static inline struct thread_info *cti (void)
19 void fn (void) __attribute__ ((noinline));
22 ++cti()->preempt_count;