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

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to wierton from comment #1)
> This crash seems to be the same cause: https://gcc.godbolt.org/z/6br3xoaKG

Related in the sense redeclaring the variable with a different type changes the
the underlying type of the decl to error_mark_node which the rest of the
compiler is not always ready to handle. (there a few other bug reports which
was caused by the same thing too).

Reply via email to