aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/torture/inline-1.c
blob: 30bf91ece885c61943f31fd81f8e05b3244872e6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/* { 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 */

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