]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR c/60036 (Spurious signedness conversion warning with relational operator)
authorMarek Polacek <polacek@redhat.com>
Tue, 4 Feb 2014 18:05:29 +0000 (18:05 +0000)
committerMarek Polacek <mpolacek@gcc.gnu.org>
Tue, 4 Feb 2014 18:05:29 +0000 (18:05 +0000)
commit66f206041a2088880a65063e1bfa18b9ef86f4e4
tree6cf58a0f991d5dd49ba9587ef28fd3e70e804bf3
parent8472fa801bfcc8cfcbd8848b0c86c3527a984fe9
re PR c/60036 (Spurious signedness conversion warning with relational operator)

PR c/60036
c-family/
* c-common.c (conversion_warning): Unwrap C_MAYBE_CONST_EXPR and/or
SAVE_EXPR.
testsuite/
* gcc.dg/pr60036.c: New test.

From-SVN: r207481
gcc/c-family/ChangeLog
gcc/c-family/c-common.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr60036.c [new file with mode: 0644]