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
/
pr89430-8-mem-ref-size.c
blob
5f93112acf7d38bd7e207b333b7906e9137f444d
1
/* { dg-do compile } */
2
/* { dg-options "-O2 -ftree-cselim -fdump-tree-cselim-details" } */
3
4
int
*
t
;
5
6
int
f1
(
int
tt
)
7
{
8
int
*
t1
=
t
;
9
*
t1
= -
5
;
10
if
(*
t1
<
tt
)
11
*((
unsigned
*)
t1
) =
5
;
12
return
*
t1
;
13
}
14
15
/* { dg-final { scan-tree-dump "Conditional store replacement" "cselim" } } */