FSF GCC merge 02/23/03
[official-gcc.git] / gcc / testsuite / gcc.dg / i386-fpcvt-4.c
blob9b35c5acc6cd5ddb8e8f7f81ebd51f869bc5808a
1 /* { dg-do compile { target i?86-*-* x86_64-*-* } } */
2 /* { dg-options "-O2 -march=k8 -mfpmath=sse" } */
3 /* { dg-final { scan-assembler "cvtsi2sd" } } */
4 /* Check that conversions will get folded. */
5 double
6 t(short a)
8 float b=a;
9 return b;