home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: gnu.gcc.bug
- 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
- From: jbg@qualcomm.com (Jeff Gehlhaar)
- Subject: G++ 2.3.1 bug...
- Message-ID: <9211111755.AA17800@harvey>
- Sender: gnulists@ai.mit.edu
- Organization: GNUs Not Usenet
- Distribution: gnu
- Date: Wed, 11 Nov 1992 02:55:06 GMT
- Approved: bug-gcc@prep.ai.mit.edu
- Lines: 27
-
- This is g++ 2.3.1 running on Sparc SunOS 4.1
-
-
- // Attempting to compile iostream.h with -fshort-enums causes G++ to commit
- // suicide. With the compile line of:
- // g++ -v -Wshadow -fshort-enums bug5.cc
- // the result on this program is:
- // Reading specs from /usr/local/lib/gcc-lib/sparc-sun-sunos4.1/2.3.1/specs
- // gcc version 2.3.1
- // /usr/local/lib/g++-include/streambuf.h: In method `ios::ios (struct
- streambuf* (= 0 ), class ostream* (= 0 ))':
- // In file included from /usr/local/lib/g++-include/iostream.h:25,
- from bug5.cc:11:
- // /usr/local/lib/g++-include/streambuf.h:436: warning: declaration of
- `tie' shadows a member of `this'
- // /usr/local/bin/gcc: Internal compiler error: program cc1plus got
- fatal signal 6
- #include <iostream.h>
-
-
- ======================================================
- Jeff Gehlhaar Qualcomm Inc,
- jbg@qualcomm.com San Diego, CA, USA
- (619) 597-5241 "The Elegant Solution...."
- ======================================================
-
-
-