This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: local variable named register syntax in g++
- From: Ian Lance Taylor <ian at wasabisystems dot com>
- To: b u <bnulbig at yahoo dot com>
- Cc: gcc-help at gcc dot gnu dot org
- Date: 24 Apr 2004 21:09:53 -0400
- Subject: Re: local variable named register syntax in g++
- References: <20040424055214.84015.qmail@web61101.mail.yahoo.com>
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