Snippets for llvm 22.1.8 from Alpine armv7
Sourced from https://build.alpinelinux.org/buildlogs/build-edge-armv7/main/llvm22/llvm22-22.1.8-r1.log.
-
/home/buildozer/aports/main/llvm22/src/llvm-project-22.1.8.src/llvm/lib/Support/BLAKE3/blake3.c:365:10: warning: unused variable 'num_cvs' [-Wunused-variable] 365 | size_t num_cvs = blake3_compress_subtree_wide(input, input_len, key, | ^~~~~~~ -
/home/buildozer/aports/main/llvm22/src/llvm-project-22.1.8.src/llvm/lib/Transforms/Vectorize/VPlanPatternMatch.h:332:61: warning: parameter 'P' set but not used [-Wunused-but-set-parameter] 332 | bool all_of_tuple_elements(std::index_sequence<Is...>, Fn P) const { | ~~~^ -
/home/buildozer/aports/main/llvm22/src/llvm-project-22.1.8.src/llvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp:6316:40: warning: enumerated and non-enumerated type in conditional expression [-Wextra] 6316 | (Opcode == TargetOpcode::G_ASHR) ? TargetOpcode::G_LSHR : Opcode; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
/usr/include/fortify/string.h:57:32: warning: 'void* __builtin_memcpy(void*, const void*, unsigned int)' specified bound 4294967292 exceeds maximum object size 2147483647 [-Wstringop-overflow=] 57 | return __builtin_memcpy(__od, __os, __n); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ -
/usr/include/c++/15.2.0/bits/atomic_base.h:501:31: warning: 'unsigned int __atomic_load_4(const volatile void*, int)' writing 4 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=] 501 | return __atomic_load_n(&_M_i, int(__m)); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ -
/home/buildozer/aports/main/llvm22/src/llvm-project-22.1.8.src/llvm/include/llvm/CodeGen/SelectionDAG.h:324:27: warning: storing the address of local variable 'Listener' in '*this.llvm::SelectionDAG::UpdateListeners' [-Wdangling-pointer=] 324 | DAG.UpdateListeners = this; | ~~~~~~~~~~~~~~~~~~~~^~~~~~ -
/usr/include/c++/15.2.0/bits/unique_ptr.h:93:9: warning: 'void operator delete(void*, std::size_t)' called on unallocated object '{anonymous}::B' [-Wfree-nonheap-object] 93 | delete __ptr; | ^~~~~~~~~~~~ -
/home/buildozer/aports/main/llvm22/src/llvm-project-22.1.8.src/third-party/unittest/googletest/include/gtest/gtest.h:1379:11: warning: comparison of integer expressions of different signedness: 'const unsigned int' and 'const int' [-Wsign-compare] 1379 | if (lhs == rhs) { | ~~~~^~~~~~ -
/home/buildozer/aports/main/llvm22/src/llvm-project-22.1.8.src/llvm/unittests/Option/OptionParsingTest.cpp:258:20: warning: moving 'AL' of type 'llvm::opt::InputArgList' to itself [-Wself-move] 258 | AL = std::move(AL); | ^ -
/home/buildozer/aports/main/llvm22/src/llvm-project-22.1.8.src/third-party/unittest/googletest/include/gtest/gtest.h:1465:28: warning: comparison of integer expressions of different signedness: 'const int' and 'const unsigned int' [-Wsign-compare] 1465 | GTEST_IMPL_CMP_HELPER_(GT, >) | ^ -
/home/buildozer/aports/main/llvm22/src/llvm-project-22.1.8.src/third-party/unittest/googletest/include/gtest/gtest.h:1461:28: warning: comparison of integer expressions of different signedness: 'const int' and 'const unsigned int' [-Wsign-compare] 1461 | GTEST_IMPL_CMP_HELPER_(LT, <) | ^ -
/home/buildozer/aports/main/llvm22/src/llvm-project-22.1.8.src/third-party/unittest/googletest/include/gtest/gtest.h:1379:11: warning: comparison of integer expressions of different signedness: 'const int' and 'const unsigned int' [-Wsign-compare] 1379 | if (lhs == rhs) { | ~~~~^~~~~~ -
/home/buildozer/aports/main/llvm22/src/llvm-project-22.1.8.src/llvm/include/llvm/CodeGen/SelectionDAG.h:518:53: warning: storing the address of local variable 'FlagsInserter' in '*DAG.llvm::SelectionDAG::Inserter' [-Wdangling-pointer=] 518 | void setFlagInserter(FlagInserter *FI) { Inserter = FI; } | ~~~~~~~~~^~~~ -
/home/buildozer/aports/main/llvm22/src/llvm-project-22.1.8.src/llvm/include/llvm/ADT/APInt.h:193:18: warning: 'void operator delete [](void*)' called on a pointer to an unallocated object '7' [-Wfree-nonheap-object] 193 | delete[] U.pVal; | ^~~~ -
/usr/include/c++/15.2.0/bits/move.h:236:11: warning: 'DstResources' is used uninitialized [-Wuninitialized] 236 | __a = _GLIBCXX_MOVE(__b); | ^ -
/home/buildozer/aports/main/llvm22/src/llvm-project-22.1.8.src/third-party/unittest/googletest/include/gtest/gtest.h:1457:28: warning: comparison between two arrays [-Warray-compare] 1457 | GTEST_IMPL_CMP_HELPER_(NE, !=) | ^ -
/home/buildozer/aports/main/llvm22/src/llvm-project-22.1.8.src/llvm/unittests/ADT/StringMapTest.cpp:665:55: warning: conversion from 'long long unsigned int' to 'size_t' {aka 'unsigned int'} changes value from '4294967296' to '0' [-Woverflow] 665 | LargeValue = std::numeric_limits<unsigned>::max() + 1ULL; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ -
/home/buildozer/aports/main/llvm22/src/llvm-project-22.1.8.src/llvm/unittests/ADT/StringMapTest.cpp:684:55: warning: conversion from 'long long unsigned int' to 'size_t' {aka 'unsigned int'} changes value from '4294967296' to '0' [-Woverflow] 684 | LargeValue = std::numeric_limits<unsigned>::max() + 1ULL; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ -
/home/buildozer/aports/main/llvm22/src/llvm-project-22.1.8.src/llvm/unittests/ADT/CountCopyAndMove.h:34:58: warning: '<unnamed>.._anon_165::__Counter.llvm::CountCopyAndMove::val' is used uninitialized [-Wuninitialized] 34 | CountCopyAndMove(CountCopyAndMove &&other) : val(other.val) { | ~~~~~~^~~