summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/compile/981223-1.c
blob: b62894807496eae66f17a7082997c19e79b39ef5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/* The problem on IA-64 is that the assembler emits

   Warning: Additional NOP may be necessary to workaround Itanium
   processor A/B step errata  */

/* { dg-prune-output "Assembler messages" } */
/* { dg-prune-output "Additional NOP may be necessary" } */


__complex__ float
func (__complex__ float x)
{
    if (__real__ x == 0.0)
	return 1.0;
    else
	return 0.0;
}