Article View: gnu.g++.bug
Article #1123Re: Segmentation Fault
From: Mike Stump
Date: Tue, 10 Nov 1992 20:49
Date: Tue, 10 Nov 1992 20:49
32 lines
1701 bytes
1701 bytes
This problem has been fixed, and should not exist in the release after
next of gcc.
Yes, it could be added, but Richard Stallman does not want the
compiler to do this. In our comercial product of gcc, we by default
let the user know where in the user source code the code lies that the
compiler dies on. By default, gcc does not give you a clue what in
the user source code caused the fault.
If you would like to see this functionality added, please him
<rms@prep.ai.mit.edu> know that the behaviour is desirable.
> Message-Id: <9210121639.AA01071@solace.me.uiuc.edu>
> From: Mike Tiller <tiller@solace.me.uiuc.edu>
> To: bug-g++@prep.ai.mit.edu
> Date: Mon, 12 Oct 92 11:39:45 -0500
> The following code although erroneous should trigger an error not a
> segmentation fault. This brings me to an additional point...would
> it be possible to add a debugging flag to g++ and gcc so you can
> find out what line they are one when they die this most horrible
> kind of death. Most of the time it is an error that compiler can't
> digest and would be easily recognizable. In other words, most of
> the time it is something I could fix...If I only knew where it was.
> template<class T>
> class Array
> {
> int size;
> };
> enum Source { Scalar, Array, Function };
Technical Details
Message-ID:
<9211102049.AA25113@cygnus.com>Path:
arc1-ca.pugleaf.net!sparky!uunet!convex!linac!pacific.mps.ohio-state.edu!cis.ohio-state.edu!cygnus.com!mrsShow Full Headers
Complete Article Headers
Newsgroups: gnu.g++.bug Path: arc1-ca.pugleaf.net!sparky!uunet!convex!linac!pacific.mps.ohio-state.edu!cis.ohio-state.edu!cygnus.com!mrs From: mrs@cygnus.com (Mike Stump) Subject: Re: Segmentation Fault Message-ID: <9211102049.AA25113@cygnus.com> Sender: gnulists@ai.mit.edu Organization: GNUs Not Usenet Distribution: gnu Date: Tue, 10 Nov 1992 20:49:06 GMT Approved: bug-g++@prep.ai.mit.edu Lines: 33