summaryrefslogtreecommitdiffstats
path: root/contrib/gcc/stmt.c
diff options
context:
space:
mode:
authorkan <kan@FreeBSD.org>2006-08-26 21:29:10 +0000
committerkan <kan@FreeBSD.org>2006-08-26 21:29:10 +0000
commitab6c6e434e4ca0bf593007d49dee6eceb73286c0 (patch)
tree843ffc6140f66bf60562adb1bf8d3d82b9739b5e /contrib/gcc/stmt.c
parent8a6911d2bb988a943624cbf4e4041b827d9ade53 (diff)
downloadFreeBSD-src-ab6c6e434e4ca0bf593007d49dee6eceb73286c0.zip
FreeBSD-src-ab6c6e434e4ca0bf593007d49dee6eceb73286c0.tar.gz
Gcc 3.4.6 as of 2006/08/25 #116475.
Diffstat (limited to 'contrib/gcc/stmt.c')
-rw-r--r--contrib/gcc/stmt.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/contrib/gcc/stmt.c b/contrib/gcc/stmt.c
index 3827175..a72e064 100644
--- a/contrib/gcc/stmt.c
+++ b/contrib/gcc/stmt.c
@@ -3353,6 +3353,12 @@ tail_recursion_args (tree actuals, tree formals)
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;
OpenPOWER on IntegriCloud