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

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

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

--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
I don't see any inconsistency or problem.
In the f1 case, you are forward declaring the same parameter twice (no problem)
and then declaring it.
In the f2 case, you are declaring y, then forward declaring another y and
declaring another y.  That is the same error as if you do void f2a (int y, int
y);.

Reply via email to