1  /* { dg-do compile } */
       2  /* { dg-options "--param ggc-min-heapsize=0 --param ggc-min-expand=0" } */
       3  /* This used to ICE because we forgot to update the statement after folding
       4     and the eh info. */
       5  /* PR tree-opt/30385 */
       6  
       7  int f (void);
       8  static inline void g(int t)
       9  {
      10   int a;
      11   while (a < f())
      12    ;
      13  }
      14  void h(int t)
      15  {
      16   g(t);
      17  }