[Bug c++/83481] ICE in const-ref structured bindings.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83481 Volker Reichelt changed: What|Removed |Added Status|NEW |RESOLVED CC||reichelt at gcc dot gnu.org Known to work||7.3.0 Resolution|--- |DUPLICATE Target Milestone|--- |7.3 Known to fail||7.1.0 --- Comment #3 from Volker Reichelt --- Let's mark it as duplicate of PR83217, because it's fixed by the corresponding patch. *** This bug has been marked as a duplicate of bug 83217 ***
[Bug c++/83481] ICE in const-ref structured bindings.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83481 Arseny Solokha changed: What|Removed |Added CC||asolokha at gmx dot com --- Comment #2 from Arseny Solokha --- The fix seems to be backported to gcc 7 branch in r255730. Reduced testcase: typedef int b; namespace a { template struct c; template class d; } // namespace a namespace ac { template > class e; template struct h { ad ae; g f; }; template class ag { public: using ah = k; ah operator*(); i operator++(); template bool operator!=(ag); }; template class ak { public: class m; using q = h; using o = ag; using r = ag; class ab : public o {}; class m : public r {}; ab end(); m begin(); }; template class e : ak { using al = ak; public: using al::begin; using al::end; }; } // namespace ac using s = b; using am = class {}; struct ao; struct ap; using aq = a::d; namespace { class ar { void as(const ao &, const aq &) { for (auto & [ a, av ] : at) {} } ac::e at; }; } // namespace
[Bug c++/83481] ICE in const-ref structured bindings.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83481 Martin Liška changed: What|Removed |Added Keywords||ice-on-valid-code, ||needs-reduction Status|UNCONFIRMED |NEW Last reconfirmed||2017-12-20 CC||marxin at gcc dot gnu.org Known to work||8.0 Ever confirmed|0 |1 Known to fail||7.2.0 --- Comment #1 from Martin Liška --- Fixed on trunk in r255702, I can see ICE on gcc 7.x branch.