trans-stmt.c (gfc_trans_label_assign): Don't set DECL_ARTIFICIAL flag to zero on label_tree.

2005-03-15  Feng Wang  <fengwang@nudt.edu.cn>

	* trans-stmt.c (gfc_trans_label_assign): Don't set DECL_ARTIFICIAL flag
        to zero on label_tree.

From-SVN: r96468
This commit is contained in:
Feng Wang 2005-03-15 03:26:09 +00:00 committed by Feng Wang
parent ce2df7c64a
commit 223c815892
2 changed files with 5 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2005-03-15 Feng Wang <fengwang@nudt.edu.cn>
* trans-stmt.c (gfc_trans_label_assign): Don't set DECL_ARTIFICIAL flag
to zero on label_tree.
2005-03-15 Feng Wang <fengwang@nudt.edu.cn>
PR fortran/18827

View File

@ -120,8 +120,6 @@ gfc_trans_label_assign (gfc_code * code)
if (code->label->defined == ST_LABEL_TARGET)
{
/* Shouldn't need to set this flag. Reserve for optimization bug. */
DECL_ARTIFICIAL (label_tree) = 0;
label_tree = gfc_build_addr_expr (pvoid_type_node, label_tree);
len_tree = integer_minus_one_node;
}