summaryrefslogtreecommitdiff
path: root/gcc/treelang
diff options
context:
space:
mode:
authorphython <phython@138bc75d-0d04-0410-961f-82ee72b054a4>2004-10-25 03:03:24 +0000
committerphython <phython@138bc75d-0d04-0410-961f-82ee72b054a4>2004-10-25 03:03:24 +0000
commit5e0bff2661799f710b42844ac52df4284071b69c (patch)
tree9fd150a42086c11f63a8cc3a8f8a01c8ebade660 /gcc/treelang
parent7aafe47ca2eb82a5c8ced9a8206614594a637591 (diff)
downloadgcc-5e0bff2661799f710b42844ac52df4284071b69c.tar.gz
2004-10-24 James A. Morrison <phython@gcc.gnu.org>
* treetree.c (tree_code_generate_return): Wrap param declaration in ENABLE_CHECKING. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@89520 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/treelang')
-rw-r--r--gcc/treelang/ChangeLog5
-rw-r--r--gcc/treelang/treetree.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/treelang/ChangeLog b/gcc/treelang/ChangeLog
index 810d492490d..00980a15d3b 100644
--- a/gcc/treelang/ChangeLog
+++ b/gcc/treelang/ChangeLog
@@ -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
diff --git a/gcc/treelang/treetree.c b/gcc/treelang/treetree.c
index adcda4398a8..b7a99a9087c 100644
--- a/gcc/treelang/treetree.c
+++ b/gcc/treelang/treetree.c
@@ -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))