expr.c (eval_token): Append "evaluates to 0" to Wundef diagnostic.
authorPrathamesh Kulkarni <prathamesh.kulkarni@linaro.org>
Fri, 19 Aug 2016 13:17:09 +0000 (13:17 +0000)
committerPrathamesh Kulkarni <prathamesh3492@gcc.gnu.org>
Fri, 19 Aug 2016 13:17:09 +0000 (13:17 +0000)
commitfcf830abf7b3fc12d6127ca500d04405ef0efe54
tree75ec25af5dae2c4d482f058f1db7a9e65768c87b
parent1f4ed04ed884437842977fa03e0c1d014723559b
expr.c (eval_token): Append "evaluates to 0" to Wundef diagnostic.

2016-08-19  Prathamesh Kulkarni  <prathamesh.kulkarni@linaro.org>

libcpp/
* expr.c (eval_token): Append "evaluates to 0" to Wundef diagnostic.

testsuite/
* gcc.dg/cpp/warn-undef.c: Append "evaluates to 0" to dg-error.
* gcc.dg/cpp/warn-undef-2.c: Likewise.

From-SVN: r239609
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/cpp/warn-undef-2.c
gcc/testsuite/gcc.dg/cpp/warn-undef.c
libcpp/ChangeLog
libcpp/expr.c