public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [committed, treelang] Wrap param variable inside enable checking
@ 2004-10-25  3:51 James Morrison
  0 siblings, 0 replies; only message in thread
From: James Morrison @ 2004-10-25  3:51 UTC (permalink / raw)
  To: gcc-patches


 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))

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-10-25  3:03 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-10-25  3:51 [committed, treelang] Wrap param variable inside enable checking James Morrison

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).