[patch] calls: Make stack_arg_under_construction static.

Kazu Hirata kazu@cs.umass.edu
Mon Mar 7 03:14:00 GMT 2005


Hi,

Attached is a patch to make stack_arg_under_construction static as it
is used only in calls.c.

Tested on i686-pc-linux-gnu.  OK to apply?

Kazu Hirata

2005-03-07  Kazu Hirata  <kazu@cs.umass.edu>

	* calls (stack_arg_under_construction): Make it static.

Index: calls.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/calls.c,v
retrieving revision 1.379
diff -u -d -p -r1.379 calls.c
--- calls.c	28 Feb 2005 18:18:20 -0000	1.379
+++ calls.c	5 Mar 2005 21:04:06 -0000
@@ -119,7 +119,7 @@ static sbitmap stored_args_map;
    returns a BLKmode struct) and expand_call must take special action
    to make sure the object being constructed does not overlap the
    argument list for the constructor call.  */
-int stack_arg_under_construction;
+static int stack_arg_under_construction;
 
 static void emit_call_1 (rtx, tree, tree, tree, HOST_WIDE_INT, HOST_WIDE_INT,
 			 HOST_WIDE_INT, rtx, rtx, int, rtx, int,



More information about the Gcc-patches mailing list