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
* tree-loop-distribution.c (struct partition): New field recording
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.c-torture
/
compile
/
20010112-1.c
blob
69bbe169e3101bb9cc2a31e0455fd9275e3f7a7e
1
/* Test that putting an initialized variable in a register works. */
2
3
#ifdef __i386__
4
#define REGISTER asm (
"eax"
)
5
#elif defined (__arm__)
6
#define REGISTER asm (
"r0"
)
7
#else
8
/* Put examples for other architectures here. */
9
#define REGISTER
10
#endif
11
12
void
f
() {
13
register
int
i REGISTER
=
3
;
14
}