https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117198 Bug ID: 117198 Summary: Why are there differences using -Wredundant-decls, is bug or not? Product: gcc Version: 14.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: ...
[Bug c/117198] Why are there differences using -Wredundant-decls, is bug or not?hanwei62 at huawei dot com via Gcc-bugs Thu, 17 Oct 2024 23:36:00 -0700 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117198 --- Comment #2 from hanwei (K) <hanwei62 at huawei dot com> --- ...
[Bug c/117198] Why are there differences using -Wredundant-decls, is bug or not?pinskia at gcc dot gnu.org via Gcc-bugs Thu, 17 Oct 2024 23:19:15 -0700 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117198 --- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> --...
In the macro case the declaration with weak/alias is after the declaration without. While in the non macro case it is the opposite order. In the non-macro case it is redundant since it does not change anything while in the macro case the macro adds the weak/alias attribute....