d0939f62eaf963a6006cda890f53c74821f8550c
[gcc.git] / gcc / testsuite / gcc.c-torture / compile / 981223-1.c
1 /* The problem on IA-64 is that the assembler emits
2
3 Warning: Additional NOP may be necessary to workaround Itanium
4 processor A/B step errata
5
6 This can be fixed by adding "-mb-step" to the command line, which
7 does in fact add the extra nop. */
8 /* { dg-options "-w -mb-step" { target ia64-*-* } } */
9
10 __complex__ float
11 func (__complex__ float x)
12 {
13 if (__real__ x == 0.0)
14 return 1.0;
15 else
16 return 0.0;
17 }