Date: Thu, 1 Jul 1999 12:31:34 +0300 (IDT) From: Eli Zaretskii X-Sender: eliz AT is To: Jan Hubicka cc: djgpp-workers AT delorie DOT com, salvador Subject: Re: Regparm and asm statements.. what now? In-Reply-To: <19990629185744.C4792@tabor.ta.jcu.cz> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp-workers AT delorie DOT com X-Mailing-List: djgpp-workers AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Tue, 29 Jun 1999, Jan Hubicka wrote: > > According to ANSI C, users can legitimately do that, and still assume > > they get a working program. > You will get broken program with regparm anyways I wasn't talking about programs that use regparm. I was talking about programs like this: extern int puts (); int main (void) { puts ("Hello world!"); } If the library is compiled with non-default parameter-passing, this program will crash if compiled with no special switches. ANSI C says it should work.