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

--- Comment #3 from Michal Hocko <mhocko at kernel dot org> ---
(In reply to Manuel López-Ibáñez from comment #2)
[...]
> > Moreover the warning itself is quite inconsistent. E.g. the following warns
> > about the explicit &m but not for n. So I believe this is more of a
> > suboptimal warning implementation than real intention.
> 
> This is because the warning is given in the front-end, which does not know
> the value of n. Not that it matters much, this is really trying to catch a
> typo, not the actual value of a pointer.

Would it be possible to skip the warning for macros at least?

Reply via email to