[Bug c++/104846] [10/11/12 Regression] ICE: tree check: expected function_decl, have field_decl in grokmethod, at cp/decl.cc:17999
mpolacek at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Mar 8 21:52:38 GMT 2022
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104846
Marek Polacek <mpolacek at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |mpolacek at gcc dot gnu.org
Last reconfirmed| |2022-03-08
Ever confirmed|0 |1
Target Milestone|--- |10.4
Status|UNCONFIRMED |NEW
--- Comment #1 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Confirmed. Started with r10-2475-g777e426772f80c. It would be trivial to
bring back the grokmethod hunk to fix this ICE, but we should be more helpful
and say that operator delete[] must return type void, which I think
[basic.stc.dynamic.deallocation]#3 says.
More information about the Gcc-bugs
mailing list