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
/
pr44050.c
blob
931eff6ff2c2a9ad3d848d52f27e6efa7fe647ad
1
/* { dg-do run } */
2
/* { dg-options "-fno-tree-pta" } */
3
4
static void
__attribute__
((
noinline
))
5
foo
(
int
*
i
,
int
n
)
6
{
7
*
i
=
n
;
8
}
9
10
int
11
main
(
void
)
12
{
13
int
i
=
0
;
14
foo
(&
i
,
1
);
15
16
if
(
i
!=
1
)
17
__builtin_abort
();
18
19
return
0
;
20
}
21