summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.target/i386/pr114187.C
blob: 69912a94cef070bf34c0a3704a446f742363952a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* { dg-do compile } */
/* { dg-options "-O2" } */

struct P2d {
    double x, y;
};

double sumxy_p(P2d p) {
    return p.x + p.y;
}

/* { dg-final { scan-assembler-not "movq" } } */
/* { dg-final { scan-assembler-not "xchg" } } */