aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.dg/pr60704.c
blob: 8a9af39fffa1dc16395f6fdad7d1fa88350a1d2d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* { dg-do compile } */
/* { dg-options "-flive-range-shrinkage" } */
/* { dg-additional-options "-march=amdfam10" { target { i?86-*-* x86_64-*-* } } } */

struct S
{
  int n;
};

int
foo (struct S s, double a)
{
  return s.n * a;
}