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.dg/const-elim-1.c: Remove xfail for xtensa-*-*.
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
20050409-1.c
blob
be85f71a6b78cdcd957adf8d8d9bf17773f550c3
1
/* This used to ICE due to a regmove problem on s390. */
2
3
/* { dg-do compile { target s390*-*-* } } */
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