This is the mail archive of the gcc-help@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]
Other format: [Raw text]

Re: local variable named register syntax in g++


b u <bnulbig@yahoo.com> writes:

> The manual gives
>  register int *foo asm ("a5");
> as the method for this.  g++ tries is as an
> assignment.  What is the syntax (if any) for this
> feature in g++?

It's the same syntax.

If it doesn't work, give a complete example, tell us what you expected
to happen, and tell us what did happen that was different.

Ian


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]