Article View: gnu.gcc.bug
Article #6057Re: bug in optimizer
From: Mandr
Date: Thu, 12 Dec 1996 00:00
Date: Thu, 12 Dec 1996 00:00
24 lines
1750 bytes
1750 bytes
Mandr (akwong@ee.ualberta.ca) wrote:
> I have written a program that works normally without any optimization
> parameters, but gives incorrect results when any of the -OX optimizer
> option is used. Is this a known bug in the compiler? or do I have
> to program in a certain ways to get around the problem?
sorry guys, figured out that it's some problem in my data structure.
It's true though that this error haven't shown up when the program was
compiled normally. There's a flag I forgot to initialize at the beginning
of the program, which, if is non-zero, will trigger the errorous portion
of the program. That part of the program is not supposed to be verified
until the next stage of development.
sorry again.
Mandr
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
____ Albert Kwong - Computer Engineering - U of Alberta
Mountain-| \ email - akwong@ee.ualberta.ca
| )-Mandr phone - (Edmonton) 403-437-4167 (HK) 852-23622744
River-|____ / www - http://www.ee.ualberta.ca/~akwong
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Technical Details
Message-ID:
<58o0it$163g@pulp.ucs.ualberta.ca>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<58npmg$12r2@pulp.ucs.ualberta.ca>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 113d02,5b6ee777f6d51fca X-Google-Attributes: gid113d02,public From: akwong@ee.ualberta.ca (Mandr) Subject: Re: bug in optimizer Date: 1996/12/12 Message-ID: <58o0it$163g@pulp.ucs.ualberta.ca> X-Deja-AN: 203652303 sender: bug-gcc-request@prep.ai.mit.edu references: <58npmg$12r2@pulp.ucs.ualberta.ca> organization: University of Alberta Electrical Engineering Department x-gateway: relay4.UU.NET from bug-gcc to gnu.gcc.bug; Thu, 12 Dec 1996 01:56:43 EST newsgroups: gnu.gcc.bug