Fix gcc build.

llvm-svn: 140073
diff --git a/clang/lib/Lex/PreprocessingRecord.cpp b/clang/lib/Lex/PreprocessingRecord.cpp
index b1c0c71..a4315b7 100644
--- a/clang/lib/Lex/PreprocessingRecord.cpp
+++ b/clang/lib/Lex/PreprocessingRecord.cpp
@@ -111,7 +111,8 @@
   }
 
   SourceLocation getLoc(PreprocessedEntity *PPE) const {
-    return (PPE->getSourceRange().*getRangeLoc)();
+    SourceRange Range = PPE->getSourceRange();
+    return (Range.*getRangeLoc)();
   }
 };