aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.dg/vect/pr37730.c
blob: 876f5499ea8b2af0518f8693363098143b58c78d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/* PR middle-end/37730 */
/* { dg-do compile } */

void
add_opush (void)
{
  unsigned char formats[] = { 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0xff };
  void *dtds[sizeof (formats)];
  unsigned int i;
  unsigned char dtd = 0x08;
  for (i = 0; i < sizeof (formats); i++)
    dtds[i] = &dtd;
  sdp_seq_alloc (dtds);
}

/* { dg-final { cleanup-tree-dump "vect" } } */