* tree-ssa-loop-manip.c (split_loop_exit_edge): Return the new block.
[official-gcc.git] / gcc / testsuite / gcc.dg / Wparentheses-1.c
blobd6e86eb489b40f351a418844a363b394b2792c1f
1 /* Copyright (C) 2001 Free Software Foundation, Inc. */
3 /* { dg-do compile } */
4 /* { dg-options -Wparentheses } */
6 /* Source: Neil Booth, 1 Nov 2001. PR 3170, 3422 - bogus warnings
7 about suggesting parentheses. */
9 int foo (int a, int b)
11 int c = (a && b) || 0; /* { dg-bogus "suggest parentheses" } */
12 c = a && b || 0; /* { dg-warning "suggest parentheses" } */
14 return (a && b && 1) || 0; /* { dg-bogus "suggest parentheses" } */