Older GCCs don't have vector::data().


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@78519 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/CodeGen/CGCXX.cpp b/lib/CodeGen/CGCXX.cpp
index 82813f5..c16ca36 100644
--- a/lib/CodeGen/CGCXX.cpp
+++ b/lib/CodeGen/CGCXX.cpp
@@ -106,7 +106,7 @@
                            "__cxx_global_initialization", &TheModule);
  
   CodeGenFunction(*this).GenerateCXXGlobalInitFunc(Fn,
-                                                   CXXGlobalInits.data(),
+                                                   &CXXGlobalInits[0],
                                                    CXXGlobalInits.size());
   AddGlobalCtor(Fn);
 }