aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.dg/torture/pr57393-1.c
blob: e62d44df4849b0c10f033ac25c5f6bc9806b5f11 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* PR middle-end/57393 */
/* { dg-do compile } */
/* { dg-additional-options "-g -ffast-math" } */

extern void bar (double);

struct S { int n; };
  
void
foo (struct S s, double a, int i, int j, int k)
{
  struct S t;
  bar (s.n * a * i * j);
  t.n = s.n * a * i * k;
}