mirror of
https://gcc.gnu.org/git/gcc.git
synced 2024-11-27 05:44:15 +08:00
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:
parent
5b4fc8fb03
commit
4b8ae4dbb7
@ -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
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user