X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f From: "Daniel Lidström" Newsgroups: comp.os.msdos.djgpp,gnu.gcc.help Subject: Re: GCC 3.03 makes slow code Date: Wed, 16 Jan 2002 22:04:28 +0100 Organization: Solace Computer Society Lines: 13 Message-ID: References: NNTP-Posting-Host: stubo-5-134.student.mh.se X-Trace: news.solace.mh.se 1011215280 16297 10.252.5.134 (16 Jan 2002 21:08:00 GMT) X-Complaints-To: usenet AT news DOT solace DOT mh DOT se NNTP-Posting-Date: Wed, 16 Jan 2002 21:08:00 +0000 (UTC) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com "no spam" wrote... > I was testing the latest GCC 3.03 (djgpp) and compiled an application > using switches -O9 -fomit-frame-pointer -mcpu=pentium -fschedule-insns2 > -fexpensive-optimizations the code it generated run 10-20% slower (on > Celeron-A CPU) compared to a version compiled with GCC 2.95 (using > identical switches). Are you sure there is a optimization switch -O9? When I read the man pages of gcc 2.95.3-5 (cygwin) the -O option only goes to -O3. /Daniel