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
/
torture
/
pr111818.c
blob
a7a91111d717f49509cc9f3c87076d2fc22e727d
1
/* { dg-do compile } */
2
3
static void
foo
(
const
volatile
unsigned int
x
,
void
*
p
)
4
{
5
__builtin_memcpy
(
p
, (
void
*)&
x
,
sizeof
x
);
6
}
7
8
void
bar
(
void
*
number
)
9
{
10
foo
(
0
,
number
);
11
}