Date: Tue, 1 Sep 1998 11:34:48 +0300 (IDT) From: Eli Zaretskii To: GAMMELJL AT SLU DOT EDU cc: djgpp AT delorie DOT com Subject: Re: passing arguments in registers In-Reply-To: <01J19GJU8Q9U94JXNE@SLU.EDU> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk On Mon, 31 Aug 1998 GAMMELJL AT SLU DOT EDU wrote: > Eli Zareteskii has told me that > passing them in registers requires > __attribute__((regparm=2)) > and that the information about this is in the GCC docs. Please: > someone expert in searching these docs tell me exactly where this > attribute statement goes in the C++ code below and exactly what the > correct syntax is. To search efficiently, use the `i' command inside Info. It asks for a string and then looks up that string in the indices. If the first place it shows is not what you want, press `,' (comma) repeatedly until you find it. In this case, "i regparm" failed, but "i attribite" succeded on the second hit.