1 /* PR tree-optimization/21643 */
2 /* { dg-do compile } */
3 /* { dg-options "-O2 -fdump-tree-reassoc1-details --param logical-op-non-short-circuit=1" } */
8 if (c
== 0x22 || c
== 0x20 || c
< 0x20)
16 if (c
== 0x22 || c
<= 0x20)
36 if (c
== 0x22 || c
== 0x20 || c
< 0x20)
44 if (c
== 0x22 || c
<= 0x20)
64 if (c
!= 0x22 && c
!= 0x20 && c
>= 0x20)
72 if (c
== 0x22 && c
<= 0x20)
89 /* Note with match being able to simplify this, optimizing range tests is no longer needed here. */
90 /* Equivalence: _7 | _2 -> c_5(D) <= 32 */
91 /* old test: dg-final scan-tree-dump-times "Optimizing range tests c_\[0-9\]*.D. -.0, 31. and -.32, 32.\[\n\r\]* into" 6 "reassoc1" */
92 /* { dg-final { scan-tree-dump-times "Equivalence: _\[0-9\]+ \\\| _\[0-9\]+ -> c_\[0-9\]+.D. <= 32" 5 "reassoc1" } } */
93 /* { dg-final { scan-tree-dump-times "Equivalence: _\[0-9\]+ \& _\[0-9\]+ -> c_\[0-9\]+.D. > 32" 1 "reassoc1" } } */