This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
[gcjx] FYI: Complete comment about TREE_USED in tree_generator::make_block()
- From: Ranjit Mathew <rmathew at gmail dot com>
- To: java-patches at gcc dot gnu dot org
- Date: Mon, 23 Jan 2006 21:20:42 +0530
- Subject: [gcjx] FYI: Complete comment about TREE_USED in tree_generator::make_block()
- Openpgp: url=http://ranjitmathew.hostingzero.com/aa_6C114B8F.txt
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
I committed the attached patch to the gcjx branch when I noticed
an incomplete comment in tree_generator::make_block().
Thanks,
Ranjit.
- --
Ranjit Mathew Email: rmathew AT gmail DOT com
Bangalore, INDIA. Web: http://rmathew.com/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFD1PtSYb1hx2wRS48RAmcvAJ9QISgls1i+1mbINs4D1sxOMz0oeQCgm8Kz
syfUX27bQY3OdXkkDoQwnio=
=kgPR
-----END PGP SIGNATURE-----
Index: ChangeLog
from Ranjit Mathew <rmathew@gcc.gnu.org>
* tree.cc (tree_generator::make_block): Complete comment about
setting the TREE_USED flag on a block.
Index: tree.cc
===================================================================
--- tree.cc (revision 110127)
+++ tree.cc (working copy)
@@ -1,6 +1,6 @@
// Tree generation.
-// Copyright (C) 2004, 2005 Free Software Foundation, Inc.
+// Copyright (C) 2004, 2005, 2006 Free Software Foundation, Inc.
//
// This file is part of GCC.
//
@@ -123,8 +123,11 @@ tree
tree_generator::make_block ()
{
tree b = make_node (BLOCK);
- // This determines
+
+ // This determines whether the debug output routines generate
+ // information for the variables in that block.
TREE_USED (b) = 1;
+
return b;
}