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
[AArch64] Merge stores of D-register values with different modes
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.c-torture
/
execute
/
pr28778.c
blob
f96a66cd30b7bb54c6d4f0e96b921a7c513deec0
1
extern
void
abort
(
void
);
2
typedef
long
GLint
;
3
void
aglChoosePixelFormat
(
const
GLint
*);
4
5
void
6
find
(
const int
*
alistp
)
7
{
8
const int
*
blist
;
9
int
list
[
32
];
10
if
(
alistp
)
11
blist
=
alistp
;
12
else
13
{
14
list
[
3
] =
42
;
15
blist
=
list
;
16
}
17
aglChoosePixelFormat
((
GLint
*)
blist
);
18
}
19
20
void
21
aglChoosePixelFormat
(
const
GLint
*
a
)
22
{
23
int
*
b
= (
int
*)
a
;
24
if
(
b
[
3
] !=
42
)
25
abort
();
26
}
27
28
int
29
main
(
void
)
30
{
31
find
(
0
);
32
return
0
;
33
}