This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[C++ Patch] PR 45278


Hi,

here submitter remarks that, inconsistently with the documentation, with -Wextra the C++ front-end doesn't warn for ordered comparison of pointer with integer zero. Thus I simply adapted the warning in the C front-end. Is the patch Ok?

Tested x86_64-linux.

Paolo.

/////////////////


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]