1 /* PR c/71926 */
2 /* { dg-options "-Wparentheses" }  */
3 
4 int
f(void)5 f (void)
6 {
7   int a = 1, b = 2, c = 3, d = 4;
8   if (a = 2 || (b != 3 && c != 4 && d != 5)) /* { dg-warning "9:suggest parentheses" } */
9     return 1;
10   return 0;
11 }
12