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
/
pr70484.c
blob
7604c654fbe57fbd74728fc7f172278628f679b7
1
/* { dg-do run } */
2
3
extern
void
abort
(
void
);
4
5
int
__attribute__
((
noinline
,
noclone
))
6
f
(
int
*
pi
,
long
*
pl
)
7
{
8
*
pi
=
1
;
9
*
pl
=
0
;
10
return
*(
char
*)
pi
;
11
}
12
13
int
main
()
14
{
15
union
{
long
l
;
int
i
; }
a
;
16
if
(
f
(&
a
.
i
, &
a
.
l
) !=
0
)
17
abort
();
18
return
0
;
19
}