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
gcc/
[official-gcc.git]
/
gcc-4_9-branch
/
gcc
/
testsuite
/
gcc.target
/
s390
/
20050409-1.c
blob
4763afad36ec8d36345f598d09781fae00f97ff5
1
/* This used to ICE due to a regmove problem on s390. */
2
3
/* { dg-do compile } */
4
/* { dg-options "-O2" } */
5
6
7
extern
void
abort
(
void
);
8
extern
void
**
alloc
(
void
);
9
10
void
*
test
(
void
)
11
{
12
void
**
p
=
alloc
();
13
if
(!
p
)
abort
();
14
15
__builtin_set_thread_pointer
(
p
);
16
return
*
p
;
17
}
18