delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1992/02/17/03:29:56

Date: Mon, 17 Feb 92 08:56:42 GMT
From: kuku AT acds DOT physik DOT rwth-aachen DOT de (Christoph Kukulies)
To: djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: gcc -O ?
Status: O

>pstephan AT mcs DOT kent DOT edu posted a problem (with sample code) producing
>wrong results when compiled with -O

I just tested your example andI'm getting the correct
results in either case, with and without -O.

(djgpp 1.05, gcc -o tes tes.c -lm -lc  , gcc -O -o tes tes.c -lm -lc)

Which version of djgpp are you using? Is your include path adjusted
correctly?

--Chris

- Raw text -


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