1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fdump-tree-optimized" } */
6 void test1(char *signature
)
8 char ch
= signature
[0];
9 if (ch
== 15 || ch
== 3)
16 void test2(char *signature
)
18 char ch
= signature
[0];
19 if (ch
== 15 || ch
== 3)
25 /* { dg-final { scan-tree-dump-times " == 15" 2 "optimized" } } */
26 /* { dg-final { scan-tree-dump-not " == 3" "optimized" } } */
27 /* { dg-final { cleanup-tree-dump "optimized" } } */