Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
gcc.dg
/
tree-ssa
/
ssa-fre-53.c
blob: 34d1ac6b5234f157532cd94dd56c72d5cc0d2338 [
file
] [
log
] [
blame
]
/* { dg-do compile } */
/* { dg-options "-O -fno-tree-forwprop -fdump-tree-fre1" } */
const
int
a
[]={
1
,
2
,
3
};
int
f
(){
int
*
b
=
__builtin_malloc
(
12
);
__builtin_memcpy
(
b
,
a
,
12
);
return
b
[
0
];
}
/* { dg-final { scan-tree-dump "return 1;" "fre1" } } */