[Bug libstdc++/62258] uncaught_exception() equals to `true' after rethrow_exception()

public at hansmi dot ch gcc-bugzilla@gcc.gnu.org
Mon Jan 26 16:31:00 GMT 2015


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62258

M. Hanselmann <public at hansmi dot ch> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |public at hansmi dot ch

--- Comment #7 from M. Hanselmann <public at hansmi dot ch> ---
Confirmed using GCC 5.0.0 20150125 built from source (see below) and 4.7.2
(Debian 4.7.2-5; Debian Wheezy). Tested using the test case in comment 1.

Output:
$ g++-5-20150125 -std=c++11 -o test62258 test62258.c -Wall && ./test62258
test62258: test62258.c:11: int main(): Assertion `!std::uncaught_exception()'
failed.
Aborted

$ g++-5-20150125 -v
Using built-in specs.
COLLECT_GCC=g++-5-20150125
COLLECT_LTO_WRAPPER=/home/user/gcc50/bin/../libexec/gcc/x86_64-unknown-linux-gnu/5.0.0/lto-wrapper
Target: x86_64-unknown-linux-gnu
Configured with: /home/user/gcc50build/src-gcc-5-20150125/configure
--target=x86_64-unknown-linux-gnu
--prefix=/home/user/gcc50build/target-x86_64-unknown-linux-gnu
--program-suffix=-5-20150125 --disable-nls --enable-c99
--enable-checking=release --enable-gnu-unique-object --enable-gold
--enable-languages=c,c++ --enable-libstdcxx-debug --enable-libstdcxx-time=yes
--enable-linker-build-id --enable-long-long --enable-multiarch
--enable-multilib --enable-shared --enable-targets=all --enable-threads=posix
--with-system-zlib --with-tune=generic
Thread model: posix
gcc version 5.0.0 20150125 (experimental) (GCC)



More information about the Gcc-bugs mailing list