trans-decl.c (gfc_build_label_decl): Set DECL_ARTIFICAL and TREE_USED for all labels.
authorSteven Bosscher <stevenb@suse.de>
Thu, 27 Jan 2005 00:58:11 +0000 (00:58 +0000)
committerSteven Bosscher <steven@gcc.gnu.org>
Thu, 27 Jan 2005 00:58:11 +0000 (00:58 +0000)
commitc006df4eecdd0b1abbaca7728893d3729df10e65
tree4960857b959a431ea43e5af1b1a42bcea50d741c
parent2f0a3aa2db103da5125827aad01c97359c62b81e
trans-decl.c (gfc_build_label_decl): Set DECL_ARTIFICAL and TREE_USED for all labels.

* trans-decl.c (gfc_build_label_decl): Set DECL_ARTIFICAL and
TREE_USED for all labels.
(gfc_trans_entry_master_switch): Use it instead of building a
label by hand.
* trans-io.c (add_case): Likewise.
* trans-stmt.c (gfc_trans_integer_select): Likewise.

From-SVN: r94299
gcc/fortran/ChangeLog
gcc/fortran/trans-decl.c
gcc/fortran/trans-io.c
gcc/fortran/trans-stmt.c