[Bug c++/97372] Segmentation fault using Tracy 0.7.3 in template class

public at enkore dot de gcc-bugzilla@gcc.gnu.org
Sun Oct 11 20:16:26 GMT 2020


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

--- Comment #2 from marian <public at enkore dot de> ---
Created attachment 49343
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49343&action=edit
CVise reduced reproducer (possibly a different bug)

Attached testcase.ii was produced with CVise from the original reproducer. It
also triggers an ICE, but I suspect it's an entirely different ICE (testcase.ii
is not even syntactically valid C++):

testcase.ii:2:24: internal compiler error: in splice_late_return_type, at
cp/pt.c:29152
    2 | template <class b[]()->a
      |                        ^

$ cat testcase.ii
struct a;
template <class b[]()->a


More information about the Gcc-bugs mailing list