* c-decl.c (finish_decl): Don't set DECL_C_HARD_REGISTER for non-register variables. * extend.texi: Document that asm-specifications do not make sense for non-static local variables. From-SVN: r42403
11 lines
149 B
C
11 lines
149 B
C
/* { dg-do compile { target i?86-*-* } } */
|
|
/* { dg-options "-w" } */
|
|
|
|
void f ()
|
|
{
|
|
int i __asm__ ("%eax");
|
|
__asm__ volatile ("" : "=a" (i));
|
|
}
|
|
|
|
|