http://llvm.org/bugs/show_bug.cgi?id=13722
Jordan Rose <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #2 from Jordan Rose <[email protected]> 2012-08-28 20:15:19 CDT --- Basically, a recent change of mine started treating all CXXConstructExprs not tied to a variable or field as living on the stack. But of course, values returned from functions don't live on /this/ stack frame...they live on the /previous/ stack frame. If the object has a non-trivial destructor, though, the return expression gets wrapped in an ExprWithCleanups node, and I was failing to account for that. Should be fixed in r162817. Thanks for catching all these newer bugs, Roland. -- Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. _______________________________________________ LLVMbugs mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs
