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
tree-optimization/116514 - handle pointer difference in bit-CCP
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
pr83521.c
blob
fc7ca04d1b4b28046ed22e2838b82e57e94fbdbc
1
/* PR tree-optimization/83521 */
2
/* { dg-do compile } */
3
/* { dg-options "-O1 -fno-tree-forwprop" } */
4
5
int
6
foo
(
unsigned int
x
,
int
y
)
7
{
8
int
*
z
= (
int
*)&
x
;
9
return
(
y
==
0
) ?
y
: *
z
;
10
}