This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
# gcc -S -O2 fs.c
fs.c: In function `foo':
fs.c:5: invalid lvalue in asm statement
--
H.J. Lu (hjl@gnu.org)
---
int
foo ()
{
int x;
__asm__("mov %%fs,%0":"=r" ((unsigned short) x));
return x;
}
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |