Xref: news2.mv.net comp.os.msdos.djgpp:7705 From: Randall Defauw Newsgroups: comp.os.msdos.djgpp Subject: Optimization flag Date: Tue, 20 Aug 1996 16:32:59 -0400 Organization: University of Michigan - Dearborn Lines: 13 Message-ID: <321A20FB.41C67EA6@umich.edu> NNTP-Posting-Host: primus.umd.umich.edu Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Hello, I am trying to use the -O1 or -O2 optimization flag on djgpp v2.0. When I use these flags, my program crashes with a floating point exception error. When I skip the optimization flags, the program works fine. Since one version of the program works, I haven't been able to trace down why the optimized version crashes. Does anybody have any suggestions regarding the optimization flag? If anybody responds to this, I'd appreciate it if you would cc the message to rrdefauw AT umich DOT edu. Thanks! Regards Randall DeFauw