Include <cmath> for compatibility with gcc 3.0.x (the system compiler on
[oota-llvm.git] / lib / Analysis / AliasSetTracker.cpp
index 0fb419266ce972adaaf3bf8de97a63c7cf704dbe..303d7987b79e3c46e45cb9b72e0bea89fd655317 100644 (file)
@@ -101,7 +101,7 @@ void AliasSet::addCallSite(CallSite CS, AliasAnalysis &AA) {
       return;
     else if (AA.onlyReadsMemory(F)) {
       AliasTy = MayAlias;
-      AccessTy = Refs;
+      AccessTy |= Refs;
       return;
     }
   }