www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/03/11/02:11:23

Date: Mon, 11 Mar 1996 08:01:01 +0100 (MET)
From: erik AT tntnhb3 DOT tn DOT tudelft DOT nl (Erik Luijten)
Subject: Re: paranoia
To: djgpp AT delorie DOT com (djgpp)
Message-id: <9603110701.AA12496@tntnhb3.tn.tudelft.nl>

Morten Welinder wrote:

> This is a bug in the paranoia program.  The job that paranoia seeks
> to perform cannot be done within well-defined C.  The assumptions
> that paranoia puts on the compiler are not present in the C standard.
> 
> Paranoia assumes that there is a one-to-one correspondence between
> operations ("+", "-", ...) at source level and operations at the
> target language level ("FADD", ...).  This is not required by the
> C standard and it is not so for gcc, probably not even with
> "optimizations off".
> 
> Things are different in fortran where parentheses have more than
> syntactic meaning.

OK, thanks for your reply. So there seems no reason to worry?
BTW, using the Fortran version of paranoia and converting it with f2c won't
be a workaround, I suppose?

Erik


- Raw text -


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