Message-Id: Comments: Authenticated sender is From: "Salvador Eduardo Tropea (SET)" Organization: INTI To: "elizabeth anne dominy" , djgpp AT delorie DOT com Date: Tue, 14 Apr 1998 13:56:35 +0000 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Re: Strange Assembler errors on compile In-reply-to: <01bd67b4$7c127300$20ab03c4@msunguli.global.co.za> Precedence: bulk wrote: > I have a relatively large, by my standards, (4000+ lines) library of > various routines. It compiles absolutely perfectly when I have no > optimizations on, but as soon as I compile with -O at any level it produces > errors of the form, > > Assembler Errors: > Error : d:/proglang/djgpp/tmp/rhaaaaa.tmp: operands given do not match any > known 386 instruction. > > When I try to open the file (I'm using RHIDE) it opens a blank file. I > figure this is because of the fact that the file is a temporary compiler > file. Is there any way I can actually see what exactly the compiler is > complaining about with reference to MY source? You can compile this module by hand using the -S switch to generate the assembler code (will be stored in a .s file). Additionally you can just undelete the temporal file and take a look to it. I think your problem is related with some inline function expanded only when optimizing. SET ------------------------------------ 0 -------------------------------- Visit my home page: http://set-soft.home.ml.org/ or http://www.geocities.com/SiliconValley/Vista/6552/ Salvador Eduardo Tropea (SET). (Electronics Engineer) Alternative e-mail: set-soft AT usa DOT net set AT computer DOT org ICQ: 2951574 Address: Curapaligue 2124, Caseros, 3 de Febrero Buenos Aires, (1678), ARGENTINA TE: +(541) 759 0013