bug in g77 with optimization

Tim Prince tprince@computer.org
Mon Sep 30 21:46:00 GMT 2002


Since I happen to be running Windows 2000 at the moment, with gcc-3.3 version 20020923 installed, I use that, and g77 does what you
say it should do.
----- Original Message -----
From: "Pal Karoly Ferenc" <kfpal@hal.atomki.hu>
To: <gcc-bugs@gcc.gnu.org>
Sent: Monday, September 30, 2002 8:06 AM
Subject: bug in g77 with optimization


> Dear Sir/Madame,
> I am sending a code as an attachment that is misinterpreted by
> g77 with option -O2 or -O3. Other compilers I tried give correct
> result. The g77 gives also correct result without optimization,
> or if one of the variables is monitored (the value is written
> out at some stage). The code itself is short, almost trivial.
> It is the 'backbone' of a longer code that actually intended
> to do something useful (e.g. the 'generates new value' [see
> comment in code] was something much more involved than adding
> one to the previous value). I tried to siplify the code as far
> I could such that it still shows the symptom.
> Best wishes Karoly Pal
> ----------------------------------
> E-Mail: Pal Karoly Ferenc <kfpal@hal.atomki.hu>
> Date: 30-Sep-02
> Time: 16:51:35




More information about the Gcc-bugs mailing list