view gcc/testsuite/gcc.dg/vect/pr37730.c @ 131:84e7813d76e9

gcc-8.2
author mir3636
date Thu, 25 Oct 2018 07:37:49 +0900
parents 04ced10e8804
children
line wrap: on
line source

/* PR middle-end/37730 */
/* { dg-do compile } */

void sdp_seq_alloc (void *);

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);
}