[Bug c++/88294] [9 Regression] ICE on (invalid) C++11 code: in tsubst_copy, at cp/pt.c:15391

mpolacek at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Feb 20 17:05:00 GMT 2019


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88294

--- Comment #6 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
A similar test crashes:

bool b;

template<typename> struct A
{
  void g () noexcept (b) { }
};

int main ()
{
  A<int> a;
  a.g ();
}

but that's PR88987.


More information about the Gcc-bugs mailing list