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: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to