[Bug c/102867] [12 Regression] Waddress complaint in readelf.c
rguenth at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Oct 21 06:32:22 GMT 2021
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102867
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever confirmed|0 |1
Last reconfirmed| |2021-10-21
--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> ---
Confirmed. I wonder if it is possible to omit the warning from chained
conditions that are from the same macro expansion. That is, warn when
the macro is just
#define SECTION_NAME_VALID(X) ((X) != NULL)
but not when there's additional conditions on it.
More information about the Gcc-bugs
mailing list