home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: gnu.gcc.bug
- Path: sparky!uunet!cis.ohio-state.edu!dexter.mi.ORG!jsr
- From: jsr@dexter.mi.ORG (Jay S. Rouman)
- Subject: gcc 1.41 -O2 bug
- Message-ID: <9209080213.AA07363@dexter.mi.org>
- Sender: gnulists@ai.mit.edu
- Organization: GNUs Not Usenet
- Distribution: gnu
- Date: Mon, 7 Sep 1992 18:13:50 GMT
- Approved: bug-gcc@prep.ai.mit.edu
- Lines: 29
-
- >Sat Jun 6 15:00:22 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
- >
- > * toplev.c (main): Accept -O1 and -O2.
-
- I think you need to make this change to gcc.c for these to work.
- ----------------------cut-----------------cut-------------------
- *** gcc.c.orig Mon Sep 7 22:03:36 1992
- --- gcc.c Mon Sep 7 22:03:55 1992
- ***************
- *** 262,268 ****
- %i %{!M*:%{!E:%{!pipe:%g.cpp}}}%{E:%W{o*}}%{M*:%W{o*}} |\n\
- %{!M*:%{!E:cc1 %{!pipe:%g.cpp} %1 \
- %{!Q:-quiet} -dumpbase %i %{Y*} %{d*} %{m*} %{f*} %{a}\
- ! %{g} %{O} %{W*} %{w} %{pedantic} %{ansi} %{traditional}\
- %{v:-version} %{gg:-symout %g.sym} %{pg:-p} %{p}\
- %{pg:%{fomit-frame-pointer:%e-pg and -fomit-frame-pointer are incompatible}}\
- %{S:%W{o*}%{!o*:-o %b.s}}%{!S:-o %{|!pipe:%g.s}} |\n\
- --- 262,268 ----
- %i %{!M*:%{!E:%{!pipe:%g.cpp}}}%{E:%W{o*}}%{M*:%W{o*}} |\n\
- %{!M*:%{!E:cc1 %{!pipe:%g.cpp} %1 \
- %{!Q:-quiet} -dumpbase %i %{Y*} %{d*} %{m*} %{f*} %{a}\
- ! %{g} %{O*} %{W*} %{w} %{pedantic} %{ansi} %{traditional}\
- %{v:-version} %{gg:-symout %g.sym} %{pg:-p} %{p}\
- %{pg:%{fomit-frame-pointer:%e-pg and -fomit-frame-pointer are incompatible}}\
- %{S:%W{o*}%{!o*:-o %b.s}}%{!S:-o %{|!pipe:%g.s}} |\n\
- ----------------------cut-----------------cut-------------------
- --
- Jay Rouman (jsr@dexter.mi.org jsr@ais.org)
-
-