home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / gnu / gcc / bug / 2277 < prev    next >
Encoding:
Text File  |  1992-09-08  |  1.7 KB  |  42 lines

  1. Newsgroups: gnu.gcc.bug
  2. Path: sparky!uunet!cis.ohio-state.edu!dexter.mi.ORG!jsr
  3. From: jsr@dexter.mi.ORG (Jay S. Rouman)
  4. Subject: gcc 1.41 -O2 bug
  5. Message-ID: <9209080213.AA07363@dexter.mi.org>
  6. Sender: gnulists@ai.mit.edu
  7. Organization: GNUs Not Usenet
  8. Distribution: gnu
  9. Date: Mon, 7 Sep 1992 18:13:50 GMT
  10. Approved: bug-gcc@prep.ai.mit.edu
  11. Lines: 29
  12.  
  13. >Sat Jun  6 15:00:22 1992  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  14. >
  15. >    * toplev.c (main): Accept -O1 and -O2.
  16.  
  17. I think you need to make this change to gcc.c for these to work.
  18. ----------------------cut-----------------cut-------------------
  19. *** gcc.c.orig    Mon Sep  7 22:03:36 1992
  20. --- gcc.c    Mon Sep  7 22:03:55 1992
  21. ***************
  22. *** 262,268 ****
  23.           %i %{!M*:%{!E:%{!pipe:%g.cpp}}}%{E:%W{o*}}%{M*:%W{o*}} |\n\
  24.       %{!M*:%{!E:cc1 %{!pipe:%g.cpp} %1 \
  25.              %{!Q:-quiet} -dumpbase %i %{Y*} %{d*} %{m*} %{f*} %{a}\
  26. !            %{g} %{O} %{W*} %{w} %{pedantic} %{ansi} %{traditional}\
  27.              %{v:-version} %{gg:-symout %g.sym} %{pg:-p} %{p}\
  28.              %{pg:%{fomit-frame-pointer:%e-pg and -fomit-frame-pointer are incompatible}}\
  29.              %{S:%W{o*}%{!o*:-o %b.s}}%{!S:-o %{|!pipe:%g.s}} |\n\
  30. --- 262,268 ----
  31.           %i %{!M*:%{!E:%{!pipe:%g.cpp}}}%{E:%W{o*}}%{M*:%W{o*}} |\n\
  32.       %{!M*:%{!E:cc1 %{!pipe:%g.cpp} %1 \
  33.              %{!Q:-quiet} -dumpbase %i %{Y*} %{d*} %{m*} %{f*} %{a}\
  34. !            %{g} %{O*} %{W*} %{w} %{pedantic} %{ansi} %{traditional}\
  35.              %{v:-version} %{gg:-symout %g.sym} %{pg:-p} %{p}\
  36.              %{pg:%{fomit-frame-pointer:%e-pg and -fomit-frame-pointer are incompatible}}\
  37.              %{S:%W{o*}%{!o*:-o %b.s}}%{!S:-o %{|!pipe:%g.s}} |\n\
  38. ----------------------cut-----------------cut-------------------
  39. -- 
  40. Jay Rouman  (jsr@dexter.mi.org  jsr@ais.org)
  41.  
  42.