*BSD News Article 8677


Return to BSD News archive

Newsgroups: comp.unix.bsd
Path: sserve!manuel.anu.edu.au!munnari.oz.au!news.hawaii.edu!ames!haven.umd.edu!uunet!pipex!pavo.csi.cam.ac.uk!camcus!pc123
From: pc123@cus.cam.ac.uk (Pete Chown)
Subject: Re: [386BSD] Possible optimizer bugs in 0.1's gcc: wish, tcl et al
In-Reply-To: karl@NeoSoft.com's message of Sat, 5 Dec 1992 06:46:54 GMT
Message-ID: <PC123.92Dec5175113@apus.cus.cam.ac.uk>
Sender: news@infodev.cam.ac.uk (USENET news)
Nntp-Posting-Host: apus.cus.cam.ac.uk
Organization: U of Cambridge, England
References: <ByrxIA.L6D@NeoSoft.com>
Date: Sat, 5 Dec 1992 17:51:17 GMT
Lines: 20

In article <ByrxIA.L6D@NeoSoft.com> karl@NeoSoft.com (Karl Lehenbauer)
writes:

   The Tk toolkit shell, Wish, seems to work better and pass more of
   the tests if compiled without optimization.

   People who are having weird problems with other packages may want
   to compile without "-O".

Or get a new version of gcc.

If you use gcc with no optimisation, that is what it means.  There
will be no register variables except for ones declared explicitly
register.  No intermediate values will be kept in registers.  In other
words, it gets "a bit" inefficient.  Much better to just update your
compiler...
--
---------------------------------------------+ "A tight hat can be stretched.
Pete Chown, pc123@phx.cam.ac.uk (Internet)   |  First damp the head with steam
            pc123@uk.ac.cam.phx (Janet :-)  -+  from a boiling kettle."