]> git.ipfire.org Git - thirdparty/gcc.git/commit
* predict.c (test_prediction_value_range): Use -1U instead of -1
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 27 Jun 2017 09:13:53 +0000 (09:13 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 27 Jun 2017 09:13:53 +0000 (09:13 +0000)
commit954a2d23af28ec77b97d9e4bbdb0de1beeb57ec6
tree724db2e4012e6ea190ddc221da0ae94e1d605332
parent74984adf3ac085eaaafcae8ad4cbfd47dbb5031f
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@249683 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/dumpfile.c
gcc/opt-functions.awk
gcc/optc-gen.awk
gcc/predict.c