C/C++ PATCH to implement -Wpointer-compare warning (PR c++/64767)
Jason Merrill
jason@redhat.com
Wed Sep 21 19:55:00 GMT 2016
On Mon, Sep 19, 2016 at 2:49 PM, Jason Merrill <jason@redhat.com> wrote:
> I suppose that an INTEGER_CST of character type is necessarily a
> character constant, so adding a check for !char_type_p ought to do the
> trick.
Indeed it does. I'm checking this in:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: char903.diff
Type: text/x-patch
Size: 918 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20160921/80eb8785/attachment.bin>
More information about the Gcc-patches
mailing list