OSDN Git Service

* gfortran.h (gfc_use_list): Add where field.
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 29 Aug 2008 18:50:30 +0000 (18:50 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 29 Aug 2008 18:50:30 +0000 (18:50 +0000)
commit51d9479b52f25a120cfcd3245c3c08c08d36b154
tree608299ccb142373813b47b20670e29f7a75ee3c3
parent1a3ef8f6bad65a15eff9ec008b363934e92e3e3e
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@139780 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/fortran/ChangeLog
gcc/fortran/gfortran.h
gcc/fortran/module.c
gcc/fortran/trans-decl.c