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
This commit is contained in:
parent
453eac4a7d
commit
71d082af2f
2 changed files with 10 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue