summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/pr70700.c
blob: 613cd29fc1f1415e51f984e356b90339dc1a7221 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* { dg-do compile } */
/* { dg-options "-O3 -fdump-tree-ealias-graph" } */

struct S
{
  long m;
};

struct S
fn1 (struct S *a)
{
  if (a->m)
    a->m |= 2;
  return *a;
}