[Lldb-commits] [PATCH] D32137: [Utility] Placate another GCC warning

Davide Italiano via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Wed Apr 19 11:40:59 PDT 2017


davide added a comment.

I'm getting more convinced the warning emitted by GCC is bogus

  /home/davide/work/llvm-lldb/tools/lldb/source/Plugins/Process/Utility/RegisterContextPOSIX_mips64.cpp:58:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     assert(m_num_registers == m_registers_count[gpr_registers_count] +
            ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                               m_registers_count[fpr_registers_count] +
                               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                               m_registers_count[msa_registers_count]);
                               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


https://reviews.llvm.org/D32137





More information about the lldb-commits mailing list