aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran/ChangeLog
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2008-08-29 20:50:30 +0200
committerJakub Jelinek <jakub@gcc.gnu.org>2008-08-29 20:50:30 +0200
commit9268ba9ad692f010dc8447c165404ac201d0a6d4 (patch)
tree608299ccb142373813b47b20670e29f7a75ee3c3 /gcc/fortran/ChangeLog
parentf51d8f1af29a9c5db950dbf4158387067eecce7e (diff)
downloadgcc-9268ba9ad692f010dc8447c165404ac201d0a6d4.zip
gcc-9268ba9ad692f010dc8447c165404ac201d0a6d4.tar.gz
gcc-9268ba9ad692f010dc8447c165404ac201d0a6d4.tar.bz2
gfortran.h (gfc_use_list): Add where field.
* gfortran.h (gfc_use_list): Add where field. * module.c (use_locus): New static variable. (gfc_match_use): Set it. (gfc_use_module): Copy it to gfc_use_list's where field. * trans-decl.c (gfc_generate_module_vars): Call gfc_trans_use_stmts. (gfc_trans_use_stmts): Set backend locus before calling the debug hook. Allow non-VAR_DECLs to be created even for non-external module. Don't emit anything so far for renames from different modules. From-SVN: r139780
Diffstat (limited to 'gcc/fortran/ChangeLog')
-rw-r--r--gcc/fortran/ChangeLog10
1 files changed, 10 insertions, 0 deletions
diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog
index 671ef07..aee3339 100644
--- a/gcc/fortran/ChangeLog
+++ b/gcc/fortran/ChangeLog
@@ -1,5 +1,15 @@
2008-08-29 Jakub Jelinek <jakub@redhat.com>
+ * gfortran.h (gfc_use_list): Add where field.
+ * module.c (use_locus): New static variable.
+ (gfc_match_use): Set it.
+ (gfc_use_module): Copy it to gfc_use_list's where field.
+ * trans-decl.c (gfc_generate_module_vars): Call gfc_trans_use_stmts.
+ (gfc_trans_use_stmts): Set backend locus before calling the debug
+ hook. Allow non-VAR_DECLs to be created even for non-external
+ module. Don't emit anything so far for renames from different
+ modules.
+
PR fortran/24790
* trans-decl.c (create_function_arglist): Set DECL_BY_REFERENCE on
PARM_DECLs with pointer or reference type.