aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.dg/torture/inline-1.c
blob: c7144ca68e9fdaa8d89008af6712cb963e6ac1b6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/* { dg-do compile } */
/* { dg-options "--param ggc-min-heapsize=0 --param ggc-min-expand=0" } */
/* This used to ICE because we forgot to update the statement after folding
   and the eh info. */
/* PR tree-opt/30385 */

static inline void g(int t)
{
 int a;
 while (a < f())
  ;
}
void h(int t)
{
 g(t);
}