home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / gnu / gcc / bug / 2720 < prev    next >
Encoding:
Text File  |  1992-11-11  |  1.5 KB  |  40 lines

  1. Newsgroups: gnu.gcc.bug
  2. Path: sparky!uunet!charon.amdahl.com!pacbell.com!iggy.GW.Vitalink.COM!cs.widener.edu!eff!sol.ctr.columbia.edu!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!qualcomm.com!jbg
  3. From: jbg@qualcomm.com (Jeff Gehlhaar)
  4. Subject: G++ 2.3.1 bug...
  5. Message-ID: <9211111755.AA17800@harvey>
  6. Sender: gnulists@ai.mit.edu
  7. Organization: GNUs Not Usenet
  8. Distribution: gnu
  9. Date: Wed, 11 Nov 1992 02:55:06 GMT
  10. Approved: bug-gcc@prep.ai.mit.edu
  11. Lines: 27
  12.  
  13. This is g++ 2.3.1 running on Sparc SunOS 4.1
  14.  
  15.  
  16. // Attempting to compile iostream.h with -fshort-enums causes G++ to commit
  17. // suicide.  With the compile line of:
  18. //      g++ -v -Wshadow -fshort-enums bug5.cc
  19. // the result on this program is:
  20. //      Reading specs from /usr/local/lib/gcc-lib/sparc-sun-sunos4.1/2.3.1/specs
  21. //      gcc version 2.3.1
  22. //      /usr/local/lib/g++-include/streambuf.h: In method `ios::ios (struct
  23. streambuf* (=  0 ), class ostream* (=  0 ))':
  24. //      In file included from /usr/local/lib/g++-include/iostream.h:25,
  25. from bug5.cc:11:
  26. //      /usr/local/lib/g++-include/streambuf.h:436: warning: declaration of
  27. `tie' shadows a member of `this'
  28. //      /usr/local/bin/gcc: Internal compiler error: program cc1plus got
  29. fatal signal 6
  30. #include <iostream.h>
  31.  
  32.  
  33. ======================================================
  34. Jeff Gehlhaar           Qualcomm Inc,  
  35. jbg@qualcomm.com        San Diego, CA, USA
  36. (619) 597-5241          "The Elegant Solution...."
  37. ======================================================
  38.  
  39.  
  40.