This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [C++ patch] Fix sharing problem


On Sat, 3 Jan 2004 18:50:31 +0100, Jan Hubicka <jh@suse.cz> wrote:

> !       args = TREE_CHAIN (cxx_unsave_expr_now (TREE_OPERAND (call_expr, 1)));

This is wrong; it will reevaluate any calls in the placement argument.  The
stabilize_call patch on the tree-ssa branch fixes the sharing problem; I
didn't apply it to the trunk because I didn't think it was fixing a bug.
Perhaps I should do so.

Jason


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]