summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/i386/pr43671.c
blob: 958eaff4453418cedbff7a351d7906a619503ae6 (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 ilp32 } */
/* { 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;
}