local variable named register syntax in g++

Ian Lance Taylor ian@wasabisystems.com
Sun Apr 25 01:10:00 GMT 2004


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



More information about the Gcc-help mailing list