[LLVMbugs] [Bug 23532] New: RuntimeDyldELF.cpp:389:53: warning: left shift of negative value

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu May 14 23:50:41 PDT 2015


https://llvm.org/bugs/show_bug.cgi?id=23532

            Bug ID: 23532
           Summary: RuntimeDyldELF.cpp:389:53: warning: left shift of
                    negative value
           Product: new-bugs
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: octoploid at yandex.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Seen when compiling trunk with gcc-6:

In file included from
/home/trippels/gcc_test/usr/local/include/c++/6.0.0/cassert:43:0,
                 from
/home/trippels/llvm/include/llvm/Support/TargetRegistry.h:26,
                 from
/home/trippels/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp:26:
/home/trippels/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp: In
member function ‘void llvm::RuntimeDyldELF::resolveAArch64Relocation(const
llvm::SectionEntry&, uint64_t, uint64_t, uint32_t, int64_t)’:
/home/trippels/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp:389:53:
warning: left shift of negative value [-Wshift-negative-value]
     assert(static_cast<int64_t>(Result) >= (-1LL << 32) &&
                                                     ^
[ 19%] Building CXX object lib/Support/CMakeFiles/LLVMSu

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20150515/faf0e32b/attachment.html>


More information about the llvm-bugs mailing list