[PATCH] Update TREE_USED bit on blocks

Eric Botcazou ebotcazou@adacore.com
Fri Apr 17 18:38:00 GMT 2009


Hi,

in the patch at http://gcc.gnu.org/ml/gcc-patches/2009-02/msg01025.html, Jan 
surreptitiously removed a test on TREE_USED from dbxout.c without realizing 
that the idiom is present in other debug back-ends as well.  I think that a 
better approach is to update TREE_USED instead.

Tested (GCC, GDB) on i586-suse-linux, OK for mainline?


2009-04-17  Eric Botcazou  <ebotcazou@adacore.com>

	* dbxout.c (dbxout_block): Reinstate test on TREE_USED.
	* tree-ssa-live.c (remove_unused_scope_block_p): Update TREE_USED bit.


-- 
Eric Botcazou
-------------- next part --------------
A non-text attachment was scrubbed...
Name: p.diff
Type: text/x-diff
Size: 927 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20090417/2c1ef547/attachment.bin>


More information about the Gcc-patches mailing list