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
/
andnegcmp-1.c
blob
6f16783f169169a5bc3a7966d9645221ae212130
1
/* { dg-do compile } */
2
/* { dg-options "-O2 -fdump-tree-optimized" } */
3
/* PR tree-optimization/92342 */
4
5
int
6
f
(
int
m1
,
int
m2
,
int
c
)
7
{
8
int
d
=
m1
==
m2
;
9
d
= -
d
;
10
int
e
=
d
&
c
;
11
return
e
;
12
}
13
14
/* { dg-final { scan-tree-dump-times "\\? c_\[0-9\]\\(D\\) : 0" 1 "optimized" } } */