Add _FloatN, _FloatNx tests for __builtin_fpclassify.
[official-gcc.git] / gcc / testsuite / gcc.dg / torture / ipa-pta-3.c
blobc3ef3682f2b286572ad819fc5ff29eb9ccf64294
1 /* { dg-do run } */
2 /* { dg-additional-options "-fipa-pta" } */
4 extern void abort (void);
5 extern void *malloc (__SIZE_TYPE__);
7 static int *p;
8 static void __attribute__((noinline,noclone)) foo ()
10 p = (int *) malloc (24);
11 *p = 2;
13 int main()
15 foo ();
16 if (*p != 2)
17 abort ();
18 return 0;