1/* PR target/62312  */
2
3typedef struct { unsigned int arg[100]; } *FunctionCallInfo;
4typedef struct { int day; int month; } Interval;
5void* palloc (unsigned int);
6int bar (void);
7void baz (void);
8
9void
10interval_pl (FunctionCallInfo fcinfo)
11{
12  Interval *span1 = ((Interval *) ((char *) ((fcinfo->arg[0]))));
13  Interval *span2 = ((Interval *) ((char *) ((fcinfo->arg[1]))));
14  Interval *result = (Interval *) palloc (sizeof (Interval));
15
16  if ((((span1->month) < 0) == ((span2->month) < 0))
17      && !(((result->month) < 0) == ((span1->month) < 0)))
18    do {
19      if (bar ())
20	baz ();
21    } while(0);
22  result->day = span1->day + span2->day;
23}
24