OSDN Git Service

Work around bug in mingw-w64 GCC 8.1.0
authorReid Kleckner <rnk@google.com>
Thu, 19 Jul 2018 20:32:45 +0000 (20:32 +0000)
committerReid Kleckner <rnk@google.com>
Thu, 19 Jul 2018 20:32:45 +0000 (20:32 +0000)
commitb1b35797986f0befce50315b8868534718c4702f
treedd0fe06575270f23b7f99d071e58dec05b50dd27
parent0d0107000d2bd15b983f090697b9f9d531724492
Work around bug in mingw-w64 GCC 8.1.0

This particular version of GCC seems to break bitfields when a method
appears between two bitfield members.

Personally, I think it's nice to keep bitfields close together so that
it's easy to check how things are packed, so I moved the method after
SubClassData.

Fixes PR38168.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@337495 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/IR/GlobalValue.h