1 // PR rtl-optimization/80385
2 // { dg-do compile { target { i?86-*-* x86_64-*-* } } }
3 // { dg-options "-Ofast -msse2" }
8 struct A { __m128 b; A (); A (__m128 x) : b(x) {} };
10 A operator- (A) { __m128 c = -a; return c; }
11 A foo (A x) { __m128 d = x.b; return _mm_andnot_ps (d, e); }
13 void bar (B x) { A f = foo (x.n[0]); A g = f + A (); }
14 void baz () { B h; B i; A j; i.n[0] = -j; h = i; B k = h; bar (k); }