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
2018-03-08 Richard Biener <rguenther@suse.de>
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.target
/
i386
/
pr47602.c
blob
fa5f5bd7d3516358814a9fa292cd818d6baffd4d
1
/* { dg-do compile } */
2
/* { dg-require-effective-target ia32 } */
3
/* { dg-options "-fPIC" } */
4
5
/* Test verifies that %ebx is no longer fixed when generating PIC code on i686. */
6
7
int
a
,
b
,
c
;
8
9
void
10
foo
(
void
)
11
{
12
asm
volatile
(
"movl $0,%%ebx"
: : :
"ebx"
);
13
}