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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu.org

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
I wonder whether for such redeclarations it wouldn't be better to keep
TREE_TYPE of the VAR_DECL as it was on the older decl, rather than setting it
to error_mark_node.  The middle-end is unprepared to see NOP_EXPRs or
arithmetics with such VAR_DECLs.

Reply via email to