From: Nate Eldredge Newsgroups: comp.os.msdos.djgpp Subject: Re: inefficiency of GCC output code & -O problem Date: 10 Apr 2000 22:38:01 -0700 Organization: InterWorld Communications Lines: 21 Message-ID: <83zor18afa.fsf@mercury.st.hmc.edu> References: <38F20E7A DOT 3330E9A4 AT mtu-net DOT ru> <38F23A21 DOT A59621A1 AT inti DOT gov DOT ar> <38F2AA36 DOT 33206DD9 AT mtu-net DOT ru> NNTP-Posting-Host: mercury.st.hmc.edu Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: nntp1.interworld.net 955431710 14424 134.173.45.219 (11 Apr 2000 05:41:50 GMT) X-Complaints-To: usenet AT nntp1 DOT interworld DOT net NNTP-Posting-Date: 11 Apr 2000 05:41:50 GMT User-Agent: Gnus/5.0802 (Gnus v5.8.2) Emacs/20.5 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com "Alexei A. Frounze" writes: > > > an error encounters: > > > "Error: Error: Missing ')' assumed" > > > "Error: Error: Ignoring junk `(%ebp))' after expression")? > > > W/o the -O2 switch it's compiled fine. Isn't it a little bit strange? > > > > Can you show a small example? I guess that's an error in your > > inline assembler code, but I can't know without the actual code. > > 21KB of a C file that depends on 3 other modules. :)) I'll try. But > I don't know what's wrong, since it _is_ compiled normally w/o -O > switch. Strange thingy. Probably just the function that causes the error is sufficient. It doesn't have to be a complete program, just a valid source file. -- Nate Eldredge neldredge AT hmc DOT edu