aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/compile/20191108-1.c
blob: 7929751bb06065d4d89a98617aea74ed5a11f83b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* PR target/92095 */
/* Testcase by Sergei Trofimovich <slyfox@inbox.ru> */

typedef union {
  double a;
  int b[2];
} c;

double d(int e)
{
  c f;
  (&f)->b[0] = 15728640;
  return e ? -(&f)->a : (&f)->a;
}