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
Skip analyzer strndup test on hppa*-*-hpux*
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
pr69802.c
blob
27ee02f36b5d54193741f779a0fc4a98e4ee95a0
1
/* PR tree-optimization/69802 */
2
/* { dg-do compile } */
3
/* { dg-options "-O2 -Wall" } */
4
5
struct
S
{
unsigned
f
:
1
; };
6
int
a
,
d
;
7
8
int
9
foo
(
void
)
10
{
11
unsigned
b
=
0
;
12
struct
S c
;
13
d
= ((
1
&&
b
) <
c
.
f
) &
c
.
f
;
/* { dg-warning "is used uninitialized" } */
14
return
a
;
15
}
16
17
int
18
bar
(
_Bool c
)
19
{
20
unsigned
b
=
0
;
21
d
= ((
1
&&
b
) <
c
) &
c
;
22
return
a
;
23
}