1. 11 Jul, 2004 36 commits
  2. 10 Jul, 2004 4 commits
    • trans-decl.c (gfc_create_module_variable): Nothing to do if symbol is in common, because we ... · 9cbf8b41
      fortran/
      * trans-decl.c (gfc_create_module_variable): Nothing to do if
      symbol is in common, because we ...
      (gfc_generate_module_vars): Call gfc_trans_common.
      
      testsuite/
      * gfortran.fortran-torture/execute/common_2.f90: Add check for
      access to common var from module.
      
      From-SVN: r84479
      Tobias Schlüter committed
    • re PR fortran/16336 (ICE with common block in module) · a53334a4
      PR fortran/16336
      * gfortran.fortran-torture/execute/common_2.f90: New test.
      
      From-SVN: r84478
      Tobias Schlüter committed
    • trans-array.c (gfc_build_null_descriptor): New function. · 331c72f3
      	* trans-array.c (gfc_build_null_descriptor): New function.
      	(gfc_trans_static_array_pointer): Use it.
      	* trans-array.h (gfc_build_null_descriptor): Add prototype.
      	* trans-expr.c (gfc_conv_structure): Handle array pointers.
      testsuite/
      	* gfortran.fortran-torture/execute/der_init_5.f90: Enable more tests.
      
      From-SVN: r84477
      Paul Brook committed
    • re PR fortran/16336 (ICE with common block in module) · 53814b8f
      PR fortran/16336
      * decl.c (gfc_match_save): Use-associated common block
      doesn't collide.
      * gfortran.h (gfc_common_head): Add new field 'name'.
      Fix typo in comment after #endif.
      * match.c (gfc_get_common): Add new argument from_common,
      mangle name if flag is set, fill in new field in structure
      gfc_common_head.
      (match_common): Set new arg in call to gfc_get_common,
      use-associated common block doesn't collide.
      * match.h (gfc_get_common): Adapt prototype.
      * module.c (load_commons): Set new arg in call to
      gfc_get_common.
      * symbol.c (free_common_tree): New function.
      (gfc_free_namespace): Call new function.
      * trans-common.c (several functions): Remove argument
      'name', use name from gfc_common_head instead.
      
      From-SVN: r84476
      Tobias Schlüter committed