Mail Archives: djgpp/2000/04/11/15:49:44
"Alexei A. Frounze" wrote:
> salvador wrote:
> > > Is it a normal thing, if one instruction that adds something to ESP(or EBP) is
> > > followed by sutracting instruction that works with the same register?
> >
> > ?
>
> When it discards ESP change after a call to subroutine and plus sometimes one
> extra add/sub. But they could be combined altogether to the only one
> instruction.
These things are combined by the optimization.
> > > 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. :))
Preprocess it (using -E) and send the preprocessed output.
> I'll try. But I don't know what's wrong, since it _is_ compiled normally w/o -O
> switch. Strange thingy.
Not so much, I had these kind of problems, and was my fault ;-)
SET
--
Salvador Eduardo Tropea (SET). (Electronics Engineer)
Visit my home page: http://welcome.to/SetSoft or
http://www.geocities.com/SiliconValley/Vista/6552/
Alternative e-mail: set-soft AT usa DOT net set AT computer DOT org
set AT ieee DOT org set-soft AT bigfoot DOT com
Address: Curapaligue 2124, Caseros, 3 de Febrero
Buenos Aires, (1678), ARGENTINA Phone: +(5411) 4759 0013
- Raw text -