https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86836
Bug ID: 86836 Summary: internal compiler error on structured bindings with shadow parameter on templated function Product: gcc Version: 8.1.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: christian.r.shelton at gmail dot com Target Milestone: --- Created attachment 44495 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44495&action=edit code that produces internal compiler error This is the minimally working example I can get (removing the templates removes the internal compiler error). Note that the code does have an error, but should not give an internal compiler error. Compiled on 8.1.1 with command line "g++ --std=c++17 t2.cpp -o t2"