https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91032
Bug ID: 91032 Summary: [9 Regression] ICE in ocp_convert, at cp/cvt.c:766 Product: gcc Version: 9.1.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: doko at debian dot org Target Milestone: --- seen building the clickhouse package, gcc-9 branch r272183 and r272781. $ cat ColumnDefault.ii template <typename a> struct b { a c; }; class d { d(d &); }; struct { const b<d> *operator->(); } e; d f() { auto g = e; return 0 ? g->c : throw } $ g++ -c -std=c++17 -Wall ColumnDefault.ii ColumnDefault.ii: In function 'd f()': ColumnDefault.ii:10:21: internal compiler error: in ocp_convert, at cp/cvt.c:766 10 | return 0 ? g->c : throw | ^~~~~ Please submit a full bug report, with preprocessed source if appropriate.