Skip analyzer strndup test on hppa*-*-hpux*
[official-gcc.git] / gcc / testsuite / gcc.dg / pr94920-2.c
bloba2d23324cfac101dcd8f8de6d6012cd9ac10062a
1 /* PR tree-optimization/94920 */
2 /* { dg-do compile } */
3 /* { dg-options "-O2 -fdump-tree-optimized" } */
5 /* Form from PR. */
6 __attribute__((noipa)) unsigned int foo(int x) {
7 return x <= 0 ? -x : 0;
10 /* Changed order. */
11 __attribute__((noipa)) unsigned int bar(int x) {
12 return 0 >= x ? -x : 0;
15 /* { dg-final {scan-tree-dump-times " MAX_EXPR " 2 "optimized" } } */