PR c/65040
commit46173d1b4fdbd7a0df69ff2d0e05802bd5be595b
authormpolacek <mpolacek@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 13 Feb 2015 07:56:14 +0000 (13 07:56 +0000)
committermpolacek <mpolacek@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 13 Feb 2015 07:56:14 +0000 (13 07:56 +0000)
tree749b780b2047e9aab9e7b593ac410e7335f5586d
parent02acb8f313c9ecf0fe3f47562a32c9dc34f305bd
PR c/65040
* c-format.c (check_format_types): Don't warn about different
signedness if the original value is in the range of WANTED_TYPE.

* c-c++-common/pr65040.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@220677 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/c-family/ChangeLog
gcc/c-family/c-format.c
gcc/testsuite/ChangeLog
gcc/testsuite/c-c++-common/pr65040.c [new file with mode: 0644]