From 35e4f0cd0fc0e7f23b10c597f840639199f99eb0 Mon Sep 17 00:00:00 2001 From: John McCall Date: Fri, 26 Aug 2011 00:46:38 +0000 Subject: The allocated exception slot does not alias anything; should fix self-host. llvm-svn: 138615 --- clang/lib/CodeGen/CGException.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'clang/lib/CodeGen/CGException.cpp') diff --git a/clang/lib/CodeGen/CGException.cpp b/clang/lib/CodeGen/CGException.cpp index 263ac63ccc5..0605f62b279 100644 --- a/clang/lib/CodeGen/CGException.cpp +++ b/clang/lib/CodeGen/CGException.cpp @@ -1034,7 +1034,8 @@ static void InitCatchParam(CodeGenFunction &CGF, // Perform the copy construction. CGF.EmitAggExpr(copyExpr, AggValueSlot::forAddr(ParamAddr, Qualifiers(), AggValueSlot::IsNotDestructed, - AggValueSlot::DoesNotNeedGCBarriers)); + AggValueSlot::DoesNotNeedGCBarriers, + AggValueSlot::IsNotAliased)); // Leave the terminate scope. CGF.EHStack.popTerminate(); -- cgit v1.2.3