c++/258
Mark-Oliver Wolter
mow@contact.de
Mon May 29 10:26:00 GMT 2000
The following reply was made to PR c++/258; it has been noted by GNATS.
From: Mark-Oliver Wolter <mow@contact.de>
To: martin@loewis.home.cs.tu-berlin.de, gcc-gnats@gcc.gnu.org,
HPENNER@de.ibm.com, nobody@gcc.gnu.org
Cc:
Subject: Re: c++/258
Date: Mon, 29 May 2000 19:27:04 +0200
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=258&database=gcc
Is this the same problem or a different one?
System:
mow@stadler$ uname -a
HP-UX stadler B.10.20 A 9000/782 2006364459 two-user license
Source:
mow@stadler$ cat test.cc
#include <stdio.h>
class xcv { public: xcv()
{ printf( "Halo...\n" );
}
int x; };
int
main( void )
{
printf( "Hallo\n" );
try
{
throw xcv();
}
catch( xcv )
{
printf( "Hallo2\n" );
}
printf( "blabla\n" );
}
Output 1:
mow@stadler$ /tools/gnu/gcc-2.8.1/bin/g++ -g test.cc -Wl,+s -lcma -o test-2.8.1
mow@stadler$ test-2.8.1
Hallo
Halo...
Hallo2
blabla
Output 2:
mow@stadler$ /tools/gnu/gcc-2.95.2/bin/g++ -g test.cc -Wl,+s -lcma -o test-2.95
.2
mow@stadler$ test-2.95.2
Hallo
Halo...
Segmentation fault (core dumped)
--
MfG MOW []-)
Mark-Oliver Wolter
CONTACT Software GmbH work: email: mow@contact.de
Wiener Str. 1-3 phone: +49 421 20153 0
D-28359 Bremen fax: +49 421 20153 41
http://www.contact.de/ home: phone: +49 421 3962607
handy: +49 177 2503055
More information about the Gcc-prs
mailing list