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
c++: Fix ICE with #embed/RAW_DATA_CST after list conversion [PR118671]
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
tree-ssa
/
forwprop-34.c
blob
9aadce6a6a32e7bf224e01878c3898c1515c48a1
1
/* { dg-do compile } */
2
/* { dg-options "-O -fdump-tree-cddce1" } */
3
4
unsigned int
5
foo
(
unsigned int
eax
)
6
{
7
unsigned int
edx
=
eax
&
1
;
8
edx
^=
1
;
9
eax
&= -
2
;
10
eax
|=
edx
;
11
return
eax
;
12
}
13
14
/* { dg-final { scan-tree-dump-times " = " 1 "cddce1" } } */
15
/* { dg-final { scan-tree-dump " = eax_\[0-9\]+\\(D\\) \\^ 1;" "cddce1" } } */