summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/compile/20080628-1.c
blob: aca4ff82777c8c48b826c45a3781aaa58397d6f6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
void f (long double, long double);

struct s {
  char c;
  struct s *p;
} *p;

void
g (void)
{
  long double ld;
  p->p->c = 1;
  ld = p->p->c;
  f (ld, 1.0L);
}