Article View: gnu.gcc.help
Article #52136Optimizing flags
From: Cho Wongyu
Date: Mon, 08 Feb 1993 05:09
Date: Mon, 08 Feb 1993 05:09
21 lines
1505 bytes
1505 bytes
Hello.
I am using gcc2.2.2(?) on my Linux 0.99pl4, and found that my same program
generates different results depending on the optimizing level.
Some program even core dumps if the -g flag is not used.
The same code works well under SPARC2 with gcc. Is this a bug of gcc,
or Linux, or the 'port' of gcc to Linux?
Has anyone encountered this problem before?
I am suspecting gcc, since I used gcc for RS/6000 AIX before and with some
code, if I don't put a dummy printf line, it would core dump, and for
some pattern recognizion program, the -O flag wouldn't generate the same
recognition result as it turned off.
Any kind of comments, helps are appreciated.
Wongyu Cho
--
********
* ******* Wongyu Cho
** ** Computer Science Dept.
*** *** *** *** Korea Advanced Institute of Science and Technology
Technical Details
Message-ID:
<1993Feb8.050928.14576@worak.kaist.ac.kr>Path:
arc1-ca.pugleaf.net!sparky!uunet!ogicse!usenet.coe.montana.edu!saimiri.primate.wisc.edu!ames!kum.kaist.ac.kr!worak!usenetShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,3a469e13f4b7251a,start X-Google-Attributes: gid11318c,public X-Google-ArrivalTime: 1993-02-07 21:09:28 PST Path: arc1-ca.pugleaf.net!sparky!uunet!ogicse!usenet.coe.montana.edu!saimiri.primate.wisc.edu!ames!kum.kaist.ac.kr!worak!usenet From: wgcho@cair.kaist.ac.kr (Cho Wongyu) Newsgroups: gnu.gcc.help Subject: Optimizing flags Message-ID: <1993Feb8.050928.14576@worak.kaist.ac.kr> Date: 8 Feb 93 05:09:28 GMT Article-I.D.: worak.1993Feb8.050928.14576 Sender: usenet@worak.kaist.ac.kr (Usenet) Organization: Center for Artificial Intelligence Research, KAIST. Lines: 22