[Bug c++/89285] [8/9 Regression] ICE after casting the this pointer in the constructor in C++17 mode
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Feb 12 14:06:00 GMT 2019
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89285
--- Comment #12 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Created attachment 45671
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45671&action=edit
gcc9-pr89285-wip.patch
Updated version that handles the above mentioned C++ stmt trees.
That said, there are still various regressions:
/usr/src/gcc/obj/x86_64-pc-linux-gnu/libstdc++-v3/include/bits/vector.tcc:636:48:
in 'constexpr' expansion of 'std::vector<int, std::allocator<int>
>::_S_use_relocate()'
/usr/src/gcc/obj/x86_64-pc-linux-gnu/libstdc++-v3/include/bits/vector.tcc:636:8:
error: modification of '#'result_decl' not supported by dump_expr#<expression
error>' is not a constant expression
etc.
More information about the Gcc-bugs
mailing list