delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/04/14/12:54:51

Message-Id: <m0yP8vO-000S3GC@inti.gov.ar>
Comments: Authenticated sender is <salvador AT natacha DOT inti DOT gov DOT ar>
From: "Salvador Eduardo Tropea (SET)" <salvador AT inti DOT gov DOT ar>
Organization: INTI
To: "elizabeth anne dominy" <msunguli AT global DOT co DOT za>, djgpp AT delorie DOT com
Date: Tue, 14 Apr 1998 13:56:35 +0000
MIME-Version: 1.0
Subject: Re: Strange Assembler errors on compile
In-reply-to: <01bd67b4$7c127300$20ab03c4@msunguli.global.co.za>

<msunguli AT global DOT co DOT za> 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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019