re PR c/51294 (spurious warning from -Wconversion in C and C++ in conditional express...
authorManuel López-Ibáñez <manu@gcc.gnu.org>
Wed, 7 Nov 2012 16:58:03 +0000 (16:58 +0000)
committerManuel López-Ibáñez <manu@gcc.gnu.org>
Wed, 7 Nov 2012 16:58:03 +0000 (16:58 +0000)
commit3f46d6a577819e7db2c77fa369d5364afeaac9b0
tree0971d353c36c1931f05e569bcfda7a563741f4f0
parentdc2d3c67bcc032989d86c9c4637b24157912d34a
re PR c/51294 (spurious warning from -Wconversion in C and C++ in conditional expressions)

2012-11-07  Manuel López-Ibáñez  <manu@gcc.gnu.org>

PR c/51294
c-family/
* c-common.c (conversion_warning): Handle conditional expressions.
testsuite/
* c-c++-common/pr51294.c: New.

From-SVN: r193301
gcc/c-family/ChangeLog
gcc/c-family/c-common.c
gcc/testsuite/ChangeLog
gcc/testsuite/c-c++-common/pr51294.c [new file with mode: 0644]