aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/tree-ssa/pr71185.c
blob: c2e246f1cd0c3a201c876f76585e18098b346ee3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* { dg-do compile } */
/* { dg-options "-O3" } */
/* { dg-options "-O3 -march=barcelona" { target x86_64-*-* i?86-*-* } } */

union U { struct S { int l; int m; } p; long long a; } b;
int a, c;

void
foo ()
{
  for (; b.p.m; b.a += c)
    a = b.p.l / 65536.0 * 65536.0;
}