predict.c (test_prediction_value_range): Use -1U instead of -1 to avoid narrowing...
authorJakub Jelinek <jakub@redhat.com>
Tue, 27 Jun 2017 09:13:53 +0000 (11:13 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Tue, 27 Jun 2017 09:13:53 +0000 (11:13 +0200)
commitf6b3ca5a1a04285c61283122e96c84563691d161
tree724db2e4012e6ea190ddc221da0ae94e1d605332
parent58b45c4f3f5e83f3e3b7249eddd679c2c576e02e
predict.c (test_prediction_value_range): Use -1U instead of -1 to avoid narrowing conversion warning.

* predict.c (test_prediction_value_range): Use -1U instead of -1
to avoid narrowing conversion warning.
* dumpfile.c (dump_options): Wrap all value into dump_flags_t cast
to avoid narrowing conversion warning.
* opt-functions.awk (var_ref): Return (unsigned short) -1 instead of
-1.
* optc-gen.awk (END): Expect (unsigned short) -1 instead of -1.

From-SVN: r249683
gcc/ChangeLog
gcc/dumpfile.c
gcc/opt-functions.awk
gcc/optc-gen.awk
gcc/predict.c