aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.target/i386/pr43671.c
blob: 388cd65e039115d2a5d38822e29d15bffa2cf57b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/* { dg-do run } */
/* { dg-require-effective-target ia32 } */
/* { dg-options "-mtune=i686 -O1 -fpeel-loops -fschedule-insns2 -ftree-vectorize -fsched2-use-superblocks" } */

extern void abort ();

int main ()
{
  struct {
    char ca[16];
  } s;
  int i;

  for (i = 0; i < 16; i++)
    {
      s.ca[i] = 5;
    }


  for (i = 0; i < 16; i++)
    {
      if (s.ca[i] != 5)
        abort ();
    }

  return 0;
}