2018-03-08 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / pr22585.c
blobe5f027ce862e78c5c770abad24181d8e652c174f
1 /* PR target/22585 */
2 /* Testcase reduced by Volker Reichelt */
3 /* { dg-do compile } */
4 /* { dg-options "-march=i386 -O -ffast-math" } */
5 /* { dg-require-effective-target ia32 } */
7 int
8 foo (long double d, int i)
10 if (d == (long double) i)
11 return 1;