This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
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 This message was sent by XFMail ----------------------------------
Attachment:
hibashort.f
Description: Binary data
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |