repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Let tree_single_nonzero_warnv_p use range information
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
Wparentheses-14.c
blob
36dedf714768702ac96927a2d3607dfa710bdf08
1
/* PR c/71926 */
2
/* { dg-options "-Wparentheses" } */
3
4
int
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 "7:suggest parentheses" } */
9
return
1
;
10
return
0
;
11
}