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

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

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

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Doesn't look like hidden to me, I'd say that r265744 has been the right fix for
this.  The diagnose_mismatched_attributes has been simply placed way too early,
before we check if the two decls actually shouldn't be merged because they have
different arguments (and not extern "C").
I'd say we should just say this is fixed for 9 and decide how to fix on release
branches.
Let me prepare a patch with some testcases for trunk.

Reply via email to