https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84839
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P2 Status|UNCONFIRMED |NEW Last reconfirmed| |2018-03-13 CC| |jakub at gcc dot gnu.org, | |jason at gcc dot gnu.org Target Milestone|--- |6.5 Summary|ICE (Segmentation fault) |[6/7/8 Regression] ICE |when `decltype` is used |(Segmentation fault) when |with parameter pack |`decltype` is used with | |parameter pack Ever confirmed|0 |1 --- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> --- This got rejected still in r182662 pr84839.C: In instantiation of ‘struct S<int>’: pr84839.C:6:17: required from here pr84839.C:3:51: error: expansion pattern ‘int’ contains no argument packs and segfaults already in r182686, don't have the revisions in between, but most likely either r182668 or r182667. The segfault is infinite recursion of tsubst_pack_expansion -> tsubst_decl -> tsubst -> tsubst_decl, wonder why the instantiation depth limits don't catch it.