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
Add _FloatN, _FloatNx tests for __builtin_fpclassify.
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
torture
/
pr45967-3.c
blob
1a23a773b17a163ce65b4b3e0e73e96b5c775dc0
1
/* { dg-do run } */
2
3
extern
void
abort
(
void
);
4
void
5
foo
(
void
*
p_
)
6
{
7
int
*
p
;
8
int
i
;
9
for
(
i
=
0
;
i
<
sizeof
(
int
*); ++
i
)
10
((
char
*)&
p
)[
i
] = ((
char
*)
p_
)[
i
];
11
*
p
=
1
;
12
}
13
int
main
()
14
{
15
int
i
=
0
;
16
int
*
p
= &
i
;
17
foo
(&
p
);
18
if
(
i
!=
1
)
19
abort
();
20
return
0
;
21
}