https://gcc.gnu.org/bugzilla/show_bug.cgi?id=124542
--- Comment #2 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
static bool
recursive_lazy (unsigned snum = ~0u)
{
if (lazy_snum)
{
error_at (input_location, "recursive lazy load");
return true;
}
...
}
An easy way to fix it would be to use the new emitting_diagnostic_p. But there
could be a better way too.
