* gcc.dg/const-elim-1.c: Remove xfail for xtensa-*-*.
[official-gcc.git] / gcc / testsuite / gcc.dg / 20020201-3.c
blob66a48022b16e81d3e8a53493033588e95ba6da26
1 /* This testcase ICEd because a SFmode variable was given a MMX register
2 for which there is no movsf exists. */
3 /* { dg-do compile { target i?86-*-* } } */
4 /* { dg-skip-if "" { i?86-*-* } { "-m64" } { "" } } */
5 /* { dg-options "-O2 -march=i686 -mmmx -fno-strict-aliasing" } */
7 struct A { unsigned int a, b; };
9 void foo (struct A *x, int y, int z)
11 const float d = 1.0;
12 float e = (float) y + z;
14 x->a = *(unsigned int *) &d;
15 x->b = *(unsigned int *) &e;