libstdc++/9756: __verbose_terminate_handler enters infinite loop
stephenw@cryptocard.com
stephenw@cryptocard.com
Wed Feb 19 16:06:00 GMT 2003
>Number: 9756
>Category: libstdc++
>Synopsis: __verbose_terminate_handler enters infinite loop
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Feb 19 16:06:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator: stephenw@cryptocard.com
>Release: unknown-1.0
>Organization:
>Environment:
stephen_[914]> g++ -v
Reading specs from /smw/gnu/lib/gcc-lib/i686-pc-linux-gnu/3.4/specs
Configured with: /home/stephenw/gnu/gcc/configure --prefix=/smw/gnu --enable-threads --enable-languages=c++
Thread model: posix
gcc version 3.4 20030219 (experimental)
>Description:
The following complete program will enter an infinite loop when run, emitting the message
terminate called after throwing an instance of 'int'
int main() { throw 0; }
Note that the error occurs for any exception not caught. This is a regression from 3.2.
>How-To-Repeat:
echo "int main() { throw 0; }" > dc.cpp
g++ -o dc dc.cpp
./dc
^C
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the Gcc-bugs
mailing list