summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/compile/20000922-1.c
blob: 0fef966e6763aa0b8bf72cc7aca77a2b2eb3ceef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
extern void doit(int);
void 
quick_doit(int x)
{
#ifdef __OPTIMIZE__
  if (__builtin_constant_p (x)
      && x != 0)
    asm volatile ("%0" : : "i#*X"(x));
  else
#endif
    doit(x);
}