[llvm] 0e3d7e6 - Fix gcc build after de3a485d9 due to a gcc bug: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92598

Douglas Yung via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 16 22:01:57 PST 2021


Author: Douglas Yung
Date: 2021-02-16T21:57:12-08:00
New Revision: 0e3d7e61867d69721b28e557272bdf4b66010327

URL: https://github.com/llvm/llvm-project/commit/0e3d7e61867d69721b28e557272bdf4b66010327
DIFF: https://github.com/llvm/llvm-project/commit/0e3d7e61867d69721b28e557272bdf4b66010327.diff

LOG: Fix gcc build after de3a485d9 due to a gcc bug: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92598

This should fix gcc based builders such as http://lab.llvm.org:8011/#/builders/76/builds/1683

Added: 
    

Modified: 
    llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp b/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
index f3c909fb2abb..711c72ba5b39 100644
--- a/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
+++ b/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
@@ -83,7 +83,7 @@ using namespace llvm::XCOFF;
 // This specialization is needed here because that type is used as keys in the
 // map representing TOC entries.
 template <>
-struct DenseMapInfo<std::pair<const MCSymbol *, MCSymbolRefExpr::VariantKind>> {
+struct llvm::DenseMapInfo<std::pair<const MCSymbol *, MCSymbolRefExpr::VariantKind>> {
   using TOCKey = std::pair<const MCSymbol *, MCSymbolRefExpr::VariantKind>;
 
   static inline TOCKey getEmptyKey() {


        


More information about the llvm-commits mailing list