Mail Archives: djgpp/1997/06/17/14:34:42
> From: dzierzaw AT elektryk DOT ie DOT pwr DOT wroc DOT pl (Springman) wrote:
> Strange problem. My program works perfectly well when compiled
> with no optimizations and crashes with `Page fault at...., error 0004'
> when compiled with `-O1' or `-O2'. The function it stops at performs
> rotation of points. It does use some inline assembly, but everything
> is `volatile', so shouldn't be messed with by the compiler. Any ideas what
> it's all about? It's not likely I've found a bug, is it?
99% is that you aren't indicating all the registers that you are using in the
clobber section. 1% you hit one of the bugs in gcc (look my home page, I have a
list of at least 6 bugs).
Czesc, SET
------------------------------------ 0 --------------------------------
Visit my home page: http://www.geocities.com/SiliconValley/Vista/6552/
Salvador Eduardo Tropea (SET). (Electronics Engineer)
Address: Curapaligue 2124, Caseros, 3 de Febrero
Buenos Aires, (1678), ARGENTINA
TE: +(541) 759 0013
- Raw text -