Re: [RFA]: Java Inferior Call Take 2

Andrew Haley
2004-06-21T15:17:07Z

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