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

--- Comment #4 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Created attachment 57121
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=57121&action=edit
Gzipped preprocessed source

This ICEs with current trunk, and r14-1 and r13-1 with this error:

gen.cc:14:10: internal compiler error: in canonicalize_component_ref, at
gimplify.cc:3153

With r12-1 it's a bit different, but still ICEs:

/home/jwakely/gcc/14/include/c++/14.0.1/ranges:6116:30: internal compiler
error: in enforce_access, at cp/semantics.c:366

However, anything older than GCC 14.0.0 gives dozens of errors about new C++23
features that aren't understood, so I'm not sure how meaningful anything above
is. It needs reducing.

Reply via email to