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
2018-04-30 Richard Biener <rguenther@suse.de>
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
tree-ssa
/
ssa-fre-53.c
blob
34d1ac6b5234f157532cd94dd56c72d5cc0d2338
1
/* { dg-do compile } */
2
/* { dg-options "-O -fno-tree-forwprop -fdump-tree-fre1" } */
3
4
const int
a
[]={
1
,
2
,
3
};
5
int
f
(){
6
int
*
b
=
__builtin_malloc
(
12
);
7
__builtin_memcpy
(
b
,
a
,
12
);
8
return
b
[
0
];
9
}
10
11
/* { dg-final { scan-tree-dump "return 1;" "fre1" } } */