[llvm-bugs] [Bug 38168] New: mingw-w64 GCC 8.1.0 after D43029: unexpected GlobalValue size growth

via llvm-bugs llvm-bugs at lists.llvm.org
Sat Jul 14 05:38:15 PDT 2018


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

            Bug ID: 38168
           Summary: mingw-w64 GCC 8.1.0 after D43029: unexpected
                    GlobalValue size growth
           Product: new-bugs
           Version: trunk
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: mati865 at gmail.com
                CC: llvm-bugs at lists.llvm.org

After upgrading mingw-builds[0] GCC from 6.3.0  to 8.1.0 with latest trunk I'm
seeing error:


C:/projects/rust/src/llvm/lib/IR/Globals.cpp:37:35: error: static assertion
failed: unexpected GlobalValue size growth
static_assert(sizeof(GlobalValue) ==
               ~~~~~~~~~~~~~~~~~~~~^~
                   sizeof(Constant) + 2 * sizeof(void *) + 2 *
sizeof(unsigned),
                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


I have bisected this error to D43029 [1]

[0]
https://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win32/Personal%20Builds/mingw-builds/
[1] https://reviews.llvm.org/D43029

-- 
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/20180714/8ce978ea/attachment.html>


More information about the llvm-bugs mailing list