[PATCH] D39186: LLD: Fix large integer implicitly truncated to unsigned type warning

Brian Sumner via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 23 09:51:37 PDT 2017


b-sumner added a comment.

g++4.8.2 is complaining:

../../../InputSection.h: In constructor 'lld::elf::SectionPiece::SectionPiece(size_t, uint32_t, bool)':
../../../InputSection.h:219:41: error: large integer implicitly truncated to unsigned type [-Werror=overflow]

  Live(Live || !Config->GcSections) {}
                                  ^


https://reviews.llvm.org/D39186





More information about the llvm-commits mailing list