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
Require target lra in gcc.dg/pr108095.c
[official-gcc.git]
/
gcc
/
testsuite
/
c-c++-common
/
Wduplicated-branches-13.c
blob
a2ab88706250877f52f2e2a47624d7ef8a073fa0
1
/* PR c/79199 */
2
/* { dg-do compile { target int32plus } } */
3
/* { dg-options "-Wduplicated-branches" } */
4
5
unsigned int
a
,
b
,
c
,
d
,
e
;
6
void
7
fn1
(
void
)
8
{
9
if
(
0
)
/* { dg-warning "this condition has identical branches" } */
10
{
11
if
(
d
>
4294967293U
)
12
(
void
)
5
;
13
c
=
d
;
14
b
=
e
|
a
;
15
}
16
else
17
{
18
if
(
d
>
4294967293U
)
19
(
void
)
5
;
20
c
=
d
;
21
b
=
e
|
a
;
22
}
23
}