This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: [RFA]: Java Inferior Call Take 2
- From: Andrew Haley <aph at redhat dot com>
- To: Daniel Jacobowitz <drow at false dot org>
- Cc: Jeff Johnston <jjohnstn at redhat dot com>, gdb-patches at sources dot redhat dot com, java at gcc dot gnu dot org, gcc-patches at gcc dot gnu dot org
- Date: Mon, 21 Jun 2004 16:15:03 +0100
- Subject: Re: [RFA]: Java Inferior Call Take 2
- References: <40A9264C.4060404@redhat.com><20040617030603.GC23443@nevyn.them.org><40D20494.2020608@redhat.com><20040619235857.GA18759@nevyn.them.org>
D'oh!
Andrew.
2004-06-21 Andrew Haley <aph@redhat.com>
* java-gimplify.c (java_gimplify_block): set TREE_USED on the new
block.
Index: java-gimplify.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/java/java-gimplify.c,v
retrieving revision 1.4
diff -p -2 -c -r1.4 java-gimplify.c
*** java-gimplify.c 14 May 2004 02:29:32 -0000 1.4
--- java-gimplify.c 21 Jun 2004 15:13:41 -0000
*************** java_gimplify_block (tree java_block)
*** 178,181 ****
--- 178,186 ----
block = make_node (BLOCK);
BLOCK_VARS (block) = decls;
+
+ /* The TREE_USED flag on a block determines whether the debug ouput
+ routines generate info for the variables in that block. */
+ TREE_USED (block) = 1;
+
if (outer != NULL_TREE)
{