1 /* { dg-do compile } */
2 /* { dg-options "-O -ffinite-math-only -fno-signed-zeros -fstrict-overflow -fdump-tree-optimized" } */
3 
g(double a)4 double g (double a)
5 {
6   return (a<-a)?a:-a;
7 }
f(int a)8 int f(int a)
9 {
10   return (a<-a)?a:-a;
11 }
12 
13 /* { dg-final { scan-tree-dump-times "ABS_EXPR" 2 "optimized" } } */
14