Skip analyzer strndup test on hppa*-*-hpux*
[official-gcc.git] / gcc / testsuite / gcc.dg / pr96392.c
blobfb7de217f966b7152656e3ab2a6c65c783835ca6
1 /* PR tree-optimization/96392 */
2 /* { dg-do compile } */
3 /* { dg-options "-O -fdump-tree-optimized" } */
5 double plus0(int x)
7 return x + 0.0;
10 double sub0(int x)
12 return x - 0.0;
15 double negate(int x)
17 return 0.0 - x;
20 double subtract(int x)
22 return (double)x - (double)x;
25 /* { dg-final { scan-tree-dump-not " \\+ " "optimized" } } */
26 /* { dg-final { scan-tree-dump-not " \\- " "optimized" } } */