From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: X-Archive-Original-Message-ID: <199603252243.PAA32288@koala.azstarnet.com> Date: Mon, 25 Mar 1996 18:01:15 -0500 (EST) From: Erik Troan Subject: Re: gcc-2.7.1 bug In-Reply-To: <199603251948.MAA23990@koala.azstarnet.com> On Mon, 25 Mar 1996, David Mosberger-Tang wrote: > There seems to be an instruction scheduling bug in that version of > gcc. The bug shows if -O2 is used. For example, the X11 library > function XGetRGBColormaps() triggers this problem (the `property' > argument passed to XGetWindowProperty will be wrong because of this). > The result is that a "Bad Atom" error is reported when trying to call > this function. I'll report this bug to the gcc maintainer. In the > meantime, it may be safer to use -O only. Of course, -O2 won't work if you're building something that requires inline functions :-) Erik ------------------------------------------------------------------------------- Always hoped that I'd be an apostle. Knew that I would make it if I tried. Then when we retire we can write the gospels so they'll all talk about us when we die. - "The Last Supper" from Jesus Christ Superstar | Erik Troan = http://sunsite.unc.edu/ewt/ = ewt@sunsite.unc.edu |