This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[committed, treelang] Wrap param variable inside enable checking


 Hi,

  I've commited this as obvious.  I've bootstrapped and tested it on ppc-linux
with checking and without checking.

Jim

Index: ChangeLog
===================================================================
RCS file: /cvs/gcc/gcc/gcc/treelang/ChangeLog,v
retrieving revision 1.98
diff -u -p -r1.98 ChangeLog
--- ChangeLog	6 Oct 2004 04:47:42 -0000	1.98
+++ ChangeLog	25 Oct 2004 02:59:51 -0000
@@ -1,3 +1,8 @@
+2004-10-24  James A. Morrison  <phython@gcc.gnu.org>
+
+	* treetree.c (tree_code_generate_return): Wrap param declaration in
+	ENABLE_CHECKING.
+
 2004-10-05  Zack Weinberg  <zack@codesourcery.com>
 
 	* parse.y: Add list of diagnostic messages to insulate
Index: treetree.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/treelang/treetree.c,v
retrieving revision 1.49
diff -u -p -r1.49 treetree.c
--- treetree.c	2 Oct 2004 18:38:29 -0000	1.49
+++ treetree.c	25 Oct 2004 02:59:51 -0000
@@ -601,9 +601,9 @@ void
 tree_code_generate_return (tree type, tree exp)
 {
   tree setret;
+#ifdef ENABLE_CHECKING
   tree param;
 
-#ifdef ENABLE_CHECKING
   for (param = DECL_ARGUMENTS (current_function_decl);
        param;
        param = TREE_CHAIN (param))


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]