1 /* { dg-do compile } */ 2 /* { dg-options "-O2 -march=k8 -mfpmath=sse" } */ 3 /* { dg-final { scan-assembler "cvtsi2sd" } } */ 4 /* Check that conversions will get folded. */ 5 double t(short a)6 t(short a) 7 { 8 float b=a; 9 return b; 10 } 11