1  /* { dg-do run } */
       2  
       3  extern void exit (int);
       4  extern void abort (void);
       5  
       6  void __attribute__((noipa)) foo () { exit (0); }
       7  
       8  void __attribute__((noipa)) blah (int x)
       9  {
      10    while (1) {
      11        if(x) foo();
      12    }
      13  }
      14  
      15  int main()
      16  {
      17    blah (1);
      18    abort ();
      19  }