https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100986
Bug ID: 100986
Summary: internal compiler error: in finish_expr_stmt, at
cp/semantics.c:681
Product: gcc
Version: 10.3.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: brycelelbach at gmail dot com
Target Milestone: ---
https://godbolt.org/z/7nrdxz3ax
I ran into this when doing stuff with CTAD.
It appears to be fixed in GCC 11, but since it's an ICE, I figured I'd follow a
bug report in case y'all want to bug fix it in the GCC 10.x series (or at least
make it fail more gracefully).