]>
git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/testsuite/gcc.dg/pr96392.c
1 /* PR tree-optimization/96392 */
2 /* { dg-do compile } */
3 /* { dg-options "-O -fdump-tree-optimized" } */
25 double subtract(int x
)
27 return (double)x
- (double)x
;
30 /* { dg-final { scan-tree-dump-not " \\+ " "optimized" } } */
31 /* { dg-final { scan-tree-dump-not " \\- " "optimized" } } */
32 /* { dg-final { scan-tree-dump-not " \\* " "optimized" } } */