From 6c4d8e3ee444408eed715308ade4e0b674715cfb Mon Sep 17 00:00:00 2001 From: Duncan Sands Date: Fri, 18 Jul 2008 21:06:02 +0000 Subject: [PATCH] Supress a gcc-4.3 warning. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53771 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Transforms/Scalar/GVN.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Transforms/Scalar/GVN.cpp b/lib/Transforms/Scalar/GVN.cpp index c6645463655..a8b4905a4cf 100644 --- a/lib/Transforms/Scalar/GVN.cpp +++ b/lib/Transforms/Scalar/GVN.cpp @@ -1138,7 +1138,7 @@ bool GVN::runOnFunction(Function& F) { if (EnablePRE) { bool PREChanged = false; - while (PREChanged = performPRE(F)) + while ((PREChanged = performPRE(F))) changed |= PREChanged; }