c++/3391: The compiler gives a Segmentation Fault when debug option is passed (-g)
Kriang Lerdsuwanakij
lerdsuwa@users.sourceforge.net
Wed Oct 17 07:21:00 GMT 2001
Hi
I'll look at your exception handling problem (probably during this weekend or
early next week). About gcc 3.0.x, now it's rather limited to fixing
regressions
of earlier gcc 3.0 or gcc 2.95. So my patch won't be appear in 3.0.x (but you
can always patch gcc 3.0.x yourself :).
--Kriang
At 14:31 16/10/01 +0200, Rafael Jesus Alcantara Perez wrote:
>On 13 Oct 2001 13:23:25 -0000
>lerdsuwa@gcc.gnu.org wrote:
>
> > Synopsis: The compiler gives a Segmentation Fault when debug option is
>passed (-g)
> >
> > State-Changed-From-To: analyzed->closed
> > State-Changed-By: lerdsuwa
> > State-Changed-When: Sat Oct 13 06:23:24 2001
> > State-Changed-Why:
> > Fixed in the main trunk.
> >
> > http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=3391&database=gcc
>I have tried the GCC from CVS using:
>cvs -z9 checkout gcc
>
>And I've found that it does the right thing (good job, believe me, I was
>waiting this a long time, so *good job* again), but I have found that the
>exceptions are not catched. So I have seen the version and it is 3.1:
>
>Reading specs from /usr/lib/gcc-lib/i386-unknown-linux-gnu/3.1/specs
>Configured with: /usr/src/redhat/BUILD/gcc-20011014/configure
>--enable-languages=c,c++,objc,f77 --prefix=/usr --enable-shared
>--enable-threads --without-cvs i386-unknown-linux-gnu
>Thread model: posix
>gcc version 3.1 20011014 (experimental)
>
>Then, I tested the 3.0.2 and I have found the old behavior. So, the final
>question is, will the patches, you have sent, be integrated in the 3.0.2
>version? or they will exist only in the 3.1 trunk?
>
>Thanks again.
>Rafael.
>--
>+----------
>| Rafael Jesus Alcantara Perez.<rafa@dedalo-ing.com>
>| Teléfono fijo: 952 602 959
>| Dedalo Ingenieros, S.L.: http://www.dedalo-ing.com/
>| Usuario de Linux Registrado: #45989
>+---------------------
>"For every complex problem there is a solution that is concise, clear,
>simple, and wrong."
>(H. L. Mencken)
More information about the Gcc-bugs
mailing list