[Bug 1830506] Re: internal compiler error: in type_throw_all_p, at cp/except.c:1307

2019-05-25 Thread BaiYang
This seems to be a known and fixed issue: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67870 Can this fix migrate back to the 4.9 branch? Thanks ** Bug watch added: GCC Bugzilla #67870 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67870 -- You received this bug notification because you are

[Bug 1830506] Re: internal compiler error: in type_throw_all_p, at cp/except.c:1307

2019-05-25 Thread BaiYang
If I change `~MyClass()` to `~MyClass() noexcept` than everything is ok. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1830506 Title: internal compiler error: in type_throw_all_p, at

[Bug 1830506] [NEW] internal compiler error: in type_throw_all_p, at cp/except.c:1307

2019-05-25 Thread BaiYang
Public bug reported: ubuntu 16.04, gcc 4.9.4 installed from: ppa:ubuntu-toolchain-r/test When compile a simple test code: /.../__test.cpp:186:3: internal compiler error: in type_throw_all_p, at cp/except.c:1307 {} ^ Please submit a full bug report, The full code is here: