PR testsuite/52641
[official-gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / 20040408-1.c
blob6578be543a0e1357ce95627324cece7ac107bf46
1 /* { dg-do compile } */
2 /* { dg-options "-O2" } */
3 /* Make sure that when a variable with an NMT is marked for renaming
4 that the NMT's aliases are also marked for renaming. */
6 static int eiisnan (short unsigned int *x)
8 int i;
10 if( x[i] != 0 )
11 return(1);
14 static int eiisinf (unsigned short *x)
16 if (eiisnan (x))
17 return (0);
19 if ((x[1] & 0x7fff) == 0x7fff)
20 return (1);
23 static void toe64(short unsigned int *a, short unsigned int *b)
25 register unsigned short *p, *q;
26 unsigned short i;
28 q = b + 4;
30 if (eiisinf (a));
32 for( i=0; i<4; i++ )
33 *q-- = *p++;
36 static int asctoeg(short unsigned int *y, int oprec)
38 unsigned short yy[13];
39 char *s;
41 while( *s == ' ' )
42 ++s;
44 toe64( yy, y );
47 long double _strtold (char *s, char **se)
49 long double x;
50 asctoeg( (unsigned short *)&x, 64 );