[Bug c++/95036] [9/10/11 Regression] ICE with variadic type/nttp template templates

2020-05-12 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95036

Jason Merrill  changed:

   What|Removed |Added

 Status|NEW |ASSIGNED
   Assignee|unassigned at gcc dot gnu.org  |jason at gcc dot gnu.org

[Bug c++/95036] [9/10/11 Regression] ICE with variadic type/nttp template templates

2020-05-10 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95036

Marek Polacek  changed:

   What|Removed |Added

   Priority|P3  |P2

[Bug c++/95036] [9/10/11 Regression] ICE with variadic type/nttp template templates

2020-05-10 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95036

Marek Polacek  changed:

   What|Removed |Added

 CC||jason at gcc dot gnu.org

--- Comment #2 from Marek Polacek  ---
Started with r9-6853-g17838af989014f5e90e3a7ab4e519d495c03e726

namespace a {
template  struct c { static constexpr int d = b; };
template  using f = e;
template  struct g;
template  struct array;
} // namespace a
template  class h> struct i {
  template  class, class = void> struct n;
  template  struct n : a::c {};
  template  class k, class = a::f::d>> void function();
};
template  class... l> struct derived : i... {
  using i::function...;
};
int main() {
  derived m;
  m.function();
}

[Bug c++/95036] [9/10/11 Regression] ICE with variadic type/nttp template templates

2020-05-10 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95036

Marek Polacek  changed:

   What|Removed |Added

   Keywords||ice-on-valid-code
 CC||mpolacek at gcc dot gnu.org
 Ever confirmed|0   |1
   Target Milestone|--- |9.4
   Last reconfirmed||2020-05-11
Summary|ICE with variadic type/nttp |[9/10/11 Regression] ICE
   |template templates  |with variadic type/nttp
   ||template templates
 Status|UNCONFIRMED |NEW

--- Comment #1 from Marek Polacek  ---
Confirmed.