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
i386: Utilize VCOMSBF16 for BF16 Comparisons with AVX10.2
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
warn
/
Wparentheses-30.C
blob
ea7c74135abd992d07669c44be85c0d9190d0d85
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 "9:suggest parentheses" } */
9
return 1;
10
return 0;
11
}