aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.c-torture/compile/pr38621.c
blob: 746d32836be3c2bd06bc001d494398589879cbd4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/* PR target/38621  */
struct s
{
  char a[512];
  int b;
  int c;
};

long long
foo (struct s *p, int m, int r)
{
  if (r == m)
    p->b = 3;
  p->c = 1;
  return m;
}