Date: Mon, 13 Apr 1998 13:33:56 +0300 (IDT) From: Eli Zaretskii To: Olaf van der Spek cc: DJGPP Subject: Re: Question about optimization of DJGPP In-Reply-To: <199804130936.LAA13390@euronet.nl> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk On Mon, 13 Apr 1998, Olaf van der Spek wrote: > I'm quite new to DJGPP. > I've made a little program and when I looked in the disassembler window while > running the program, I saw movl %eax,%eax. Why is this instruction there? Did I > forget to turn on optimization somewhere? If you didn't use -O2 switch (that's a capital o letter), then optimizations were off.