PR middle-end/21964
* stmt.c (tail_recursion_args): Insert a call to emit_queue.
From-SVN: r102854
+2005-08-08 Richard Sandiford <richard@codesourcery.com>
+
+ PR middle-end/21964
+ * stmt.c (tail_recursion_args): Insert a call to emit_queue.
+
2005-08-08 Richard Sandiford <richard@codesourcery.com>
PR c/22458
argvec[i] = copy_to_reg (argvec[i]);
}
+ /* Insert the pre-call sequence point. This is important in cases
+ where the actual values post-modify the formals: we want the final
+ values of the formals to be the ones that we assign below, not the
+ result of the post-modification. */
+ emit_queue ();
+
/* Store the values of the actuals into the formals. */
for (f = formals, a = actuals, i = 0; f;
+2005-08-08 Richard Sandiford <richard@codesourcery.com>
+
+ PR middle-end/21964
+ * gcc.c-torture/execute/pr21964-1.c: New test.
+
2005-08-08 Richard Sandiford <richard@codesourcery.com>
PR c/22458