1 /* { dg-do compile } */
2 /* { dg-options "-O2 -g -fdump-tree-optimized --param logical-op-non-short-circuit=1" } */
3 
t(int a,int b,int c)4 int t (int a, int b, int c)
5 {
6   if (a > 0 || b > 0 || c > 0)
7       return 0;
8   return 1;
9 }
10 /* { dg-final { scan-tree-dump-times "\\|" 2 "optimized" } } */
11