From b58d211dbb18f54f1e389b0ad180d22fdc4ebaa3 Mon Sep 17 00:00:00 2001 From: Duncan Sands Date: Wed, 25 Jun 2008 16:31:18 +0000 Subject: [PATCH] Pacify gcc-4.3. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52723 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Transforms/IPO/DeadArgumentElimination.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Transforms/IPO/DeadArgumentElimination.cpp b/lib/Transforms/IPO/DeadArgumentElimination.cpp index 4f05f4887a0..54f086ff95b 100644 --- a/lib/Transforms/IPO/DeadArgumentElimination.cpp +++ b/lib/Transforms/IPO/DeadArgumentElimination.cpp @@ -613,7 +613,7 @@ bool DAE::RemoveDeadStuffFromFunction(Function *F) { ++NumRetValsEliminated; Changed = true; } - if (RetTypes.size() > 1 || STy && STy->getNumElements() == RetTypes.size()) + if (RetTypes.size() > 1 || (STy && STy->getNumElements()==RetTypes.size())) // More than one return type? Return a struct with them. Also, if we used // to return a struct and didn't change the number of return values, // return a struct again. This prevents changing {something} into something