trans-decl.c (gfc_get_fake_result_decl): Re-add setting of GFC_DECL_RESULT flag.

* trans-decl.c (gfc_get_fake_result_decl): Re-add setting of
	GFC_DECL_RESULT flag.

From-SVN: r112025
This commit is contained in:
Jakub Jelinek 2006-03-13 22:39:35 +01:00 committed by Jakub Jelinek
parent 5b4fc8fb03
commit 4b8ae4dbb7
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2006-03-13 Jakub Jelinek <jakub@redhat.com>
* trans-decl.c (gfc_get_fake_result_decl): Re-add setting of
GFC_DECL_RESULT flag.
2003-03-11 Roger Sayle <roger@eyesopen.com>
* dependency.c (gfc_dep_compare_expr) <EXPR_OP>: Allow unary and

View File

@ -1800,6 +1800,7 @@ gfc_get_fake_result_decl (gfc_symbol * sym, int parent_flag)
SET_DECL_VALUE_EXPR (var, decl);
DECL_HAS_VALUE_EXPR_P (var) = 1;
GFC_DECL_RESULT (var) = 1;
TREE_CHAIN (this_fake_result_decl)
= tree_cons (get_identifier (sym->name), var,