From: newhallw AT escmail DOT orl DOT mmc DOT com Date: Fri, 21 Jun 96 15:48:54 EDT Message-Id: <9606211948.AA12468@cvfive> To: djgpp AT delorie DOT com Subject: Compiler crashes when optimization is turned on I've had this problem with DJGPP for some time and was wondering if it has been solved...I cannot compile my code with optimization(gcc foo.c -O1) because it causes the computer to crash. Windows 95 comes up with its usual cryptic "This program has performed an illegal operation" message and after that the DOS prompt hangs when I try to type in a command. I'm running Windows 95 on a 16 MB 133 Mhz AMD CPU(though the same problem occurs w/Pentium-75 and Cyrix 486-40) My code is heavily laden with floating point math, void pointers(used to act as pointers to functions) and interrupt calls. The code compiles and runs fine without optimization. Any ideas out there what the problem is and how it can be solved? Thanks, William Newhall