]> granicus.if.org Git - llvm/commit
Hack around a GCC ICE that was fixed in GCC 6.2
authorBenjamin Kramer <benny.kra@googlemail.com>
Sat, 24 Aug 2019 16:19:32 +0000 (16:19 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Sat, 24 Aug 2019 16:19:32 +0000 (16:19 +0000)
commit4afc3c23cb89d92c27c27c3811529433bc1a9362
tree03fce3085a3941316505009f5e3a3b95ea538c66
parent4f454b07acc1fac06de7b64bfceefda8b48f60cc
Hack around a GCC ICE that was fixed in GCC 6.2

lib/Target/X86/AsmParser/X86AsmParser.cpp: In member function ‘void {anonymous}::X86AsmParser::SwitchMode(unsigned int)’:
lib/Target/X86/AsmParser/X86AsmParser.cpp:927:76:   in constexpr expansion of ‘AllModes.llvm::FeatureBitset::FeatureBitset(std::initializer_list<unsigned int>{((const unsigned int*)(& ._157)), 3u})’
include/llvm/MC/SubtargetFeature.h:56:12:   in constexpr expansion of ‘llvm::FeatureBitset::set(I)’
lib/Target/X86/AsmParser/X86AsmParser.cpp:927:76: internal compiler error: in fold_binary_loc, at fold-const.c:9921
     FeatureBitset AllModes({X86::Mode64Bit, X86::Mode32Bit, X86::Mode16Bit});
                                                                            ^

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@369852 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/MC/SubtargetFeature.h