Commit 71d082af by Andrew Haley Committed by Tom Tromey

re PR libgcj/8945 (StringTokenizer)

2002-12-18  Andrew Haley  <aph@redhat.com>

	* parse.y (patch_invoke): Force evaluation order when `check' is
	set.  For PR libgcj/8945.

From-SVN: r60290
parent 453eac4a
2002-12-18 Andrew Haley <aph@redhat.com>
* parse.y (patch_invoke): Force evaluation order when `check' is
set. For PR libgcj/8945.
2002-12-16 Mark Mitchell <mark@codesourcery.com>
* gcj.texi: Change version number to 3.4.
......
......@@ -10793,7 +10793,11 @@ patch_invoke (patch, method, args)
is NULL. */
if (check != NULL_TREE)
{
patch = build (COMPOUND_EXPR, TREE_TYPE (patch), check, patch);
/* We have to call force_evaluation_order now because creating a
COMPOUND_EXPR wraps the arg list in a way that makes it
unrecognizable by force_evaluation_order later. Yuk. */
patch = build (COMPOUND_EXPR, TREE_TYPE (patch), check,
force_evaluation_order (patch));
TREE_SIDE_EFFECTS (patch) = 1;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment