[Bug c++/88857] [7/8/9 Regression] ICE in build_value_init

will at benfold dot com gcc-bugzilla@gcc.gnu.org
Tue Jan 15 13:58:00 GMT 2019


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

--- Comment #3 from Will Benfold <will at benfold dot com> ---
(In reply to Marek Polacek from comment #2)
> Started with r202612.

Is that just because before r202612, there was no support for 'auto' in a
function declaration?

I see the ICE with every release down to 4.7.1 (the earliest version I have
access to), if I change g to:

template<typename>
void g ()
{
  f({});
}


More information about the Gcc-bugs mailing list