1 /* { dg-do compile } */
2 /* { dg-options "-save-temps -O2" } */
3
4 int
5 f1 (int x)
6 {
7 return x < 0 ? x : -x;
8 }
9
10 long long
11 f2 (long long x)
12 {
13 return x < 0 ? x : -x;
14 }
15
16 /* { dg-final { scan-assembler-not "\tneg\tw\[0-9\]*.*" } } */
17 /* { dg-final { scan-assembler-not "\tneg\tx\[0-9\]*.*" } } */