delorie.com/archives/browse.cgi | search |
Date: | Mon, 28 Apr 2003 08:44:20 -0500 |
From: | Eric Rudd <rudd AT cyberoptics DOT com> |
Organization: | CyberOptics |
User-Agent: | Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.3) Gecko/20030312 |
X-Accept-Language: | en,pdf |
MIME-Version: | 1.0 |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: Bug 00314 -- div() still broken |
References: | <3e9c6920$0$21928$afc38c87@> <fA9pa.20115$1s1 DOT 299825 AT newsfeeds DOT bigpond DOT com> <3EA5477F DOT 2020901 AT cyberoptics DOT com> <SzSpa.21592$1s1 DOT 332473 AT newsfeeds DOT bigpond DOT com> <3ea85d95$0$12489$4c41069e AT reader1 DOT ash DOT ops DOT us DOT uu DOT net> <Ah9qa.22112$1s1 DOT 343387 AT newsfeeds DOT bigpond DOT com> <3ea97d4c$0$19415$4c41069e AT reader1 DOT ash DOT ops DOT us DOT uu DOT net> <xvvqa.22796$1s1 DOT 351097 AT newsfeeds DOT bigpond DOT com> |
In-Reply-To: | <xvvqa.22796$1s1.351097@newsfeeds.bigpond.com> |
Lines: | 38 |
Message-ID: | <3ead3016$0$19039$4c41069e@reader0.ash.ops.us.uu.net> |
NNTP-Posting-Host: | 65.214.98.62 |
X-Trace: | 1051537430 reader0.ash.ops.us.uu.net 19039 65.214.98.62 |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
Ben Peddell wrote: > GCC 3.2.1 (the gcc I have under DJGPP) does not optimize the div_t > into a long long when given -O3 or -fomit-frame-pointer. > In fact, -fomit-frame-pointer does nothing. You must mean only that gcc 3.2.1 returns the struct in memory in either case; -fomit-frame-pointer has never "done nothing." For instance, if you compile the "do-nothing" subroutine void nothing(void) {} without using -fomit-frame-pointer, you'll get pushl %ebp movl %esp, %ebp popl %ebp ret With -fomit-frame-pointer, you'll get simply ret This has always been the case, as far as I know. > I went to www.delorie.com to get gcc 3.2.2, and had a look at your bug > report whilst I was there. > What command line did you use? I use gcc -O2 -march=pentium -Wall I had been using -fomit-frame-pointer, but I have temporarily removed it because of these problems. -Eric
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |