https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111929
--- Comment #4 from David Binderman <dcb314 at hotmail dot com> --- Reduced test case seems to be: struct LinearSystem {}; template <typename> void operator<<(int, LinearSystem) { long vars = new long[vars + 2]; }