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
libcpp, c, middle-end: Optimize initializers using #embed in C
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
tree-ssa
/
pr71947-2.c
blob
b2c09cbb02119efb4d1dc49ee747cae9c8944fd4
1
/* { dg-do compile } */
2
/* { dg-options "-O2 -fno-tree-vrp -fdump-tree-dom-details" } */
3
4
5
int
f
(
int
x
,
int
y
)
6
{
7
int
ret
;
8
if
(
x
==
y
)
9
ret
=
x
-
y
;
10
else
11
ret
=
1
;
12
13
return
ret
;
14
}
15
16
/* { dg-final { scan-tree-dump "Replaced redundant expr \[^\r\n\]* with .0." "dom2" } } */