[Bug c++/81167] [8 Regression] ICE on valid C++ code in deferred_printed_type, at cp/error.c:118

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Jan 18 20:11:00 GMT 2018


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

--- Comment #9 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Created attachment 43180
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43180&action=edit
gcc8-pr81167.patch

Untested fix.  This assumes that the type we want as source is always some
class type, which seems to be the case at least in all the testsuite coverage
we have for this.


More information about the Gcc-bugs mailing list