[flang] Fix/work around warnings from GCC 11
authorPeter Klausler <pklausler@nvidia.com>
Tue, 1 Feb 2022 19:51:19 +0000 (11:51 -0800)
committerPeter Klausler <pklausler@nvidia.com>
Tue, 1 Feb 2022 19:54:04 +0000 (11:54 -0800)
commit82cf35bc89fcbe666243cd6f9e29af0023016a2d
tree0e8dae00bdb5e0a041bee01d707d0a6fdecdcf44
parentc2b18a3cc5bd6cae49372c2367445b480989db0d
[flang] Fix/work around warnings from GCC 11

Apply part of a pending patch for GCC 11 warnings, and
rework a piece of code, to dodge warnings on flag from
GCC 11 build bots exposed by a recent patch.

Applying without review to get bots working again; changes
also tested against GCC 9.3.0.
flang/lib/Evaluate/host.h
flang/tools/bbc/bbc.cpp