2008-02-19 19:26:12 +01:00
|
|
|
2008-02-19 Daniel Franke <franke.daniel@gmail.com>
|
|
|
|
|
|
|
|
PR fortran/35030
|
|
|
|
* expr.c (gfc_check_pointer_assign): Add type and kind information
|
|
|
|
to type-mismatch message.
|
|
|
|
(gfc_check_assign): Unify error messages.
|
|
|
|
|
2008-02-16 15:10:12 +01:00
|
|
|
2008-02-16 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
|
|
|
|
|
|
|
|
PR fortran/34952
|
|
|
|
* gfortran.texi: Create new section for unimplemented extensions.
|
|
|
|
Add "STRUCTURE and RECORD" and "ENCODE and DECODE statements".
|
|
|
|
Remove "smaller projects" list. Fix a few typos.
|
|
|
|
|
2008-02-15 23:56:37 +01:00
|
|
|
2008-02-15 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
|
|
|
|
|
|
|
|
* intrinsic.texi: Rename INDEX node to avoid clashing with
|
|
|
|
index.html on case-insensitive systems.
|
|
|
|
|
2008-02-15 22:12:24 +01:00
|
|
|
2008-02-15 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
|
|
|
|
|
|
|
|
PR fortran/35150
|
|
|
|
* trans-expr.c (gfc_conv_function_call): Force evaluation of
|
|
|
|
se->expr.
|
|
|
|
|
2008-02-10 16:01:39 +01:00
|
|
|
2008-02-10 Daniel Franke <franke.daniel@gmail.com>
|
|
|
|
|
2008-02-19 19:26:12 +01:00
|
|
|
PR fortran/35019
|
2008-02-10 16:01:39 +01:00
|
|
|
* lang.opt: Allow '-J<dir>' next to '-J <dir>',
|
|
|
|
likewise '-I <dir>' and '-I<dir>'.
|
|
|
|
|
2008-02-06 22:51:24 +01:00
|
|
|
2008-02-06 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
|
|
|
|
|
|
|
|
PR other/35107
|
|
|
|
* Make-lang.in (f951): Add $(GMPLIBS).
|
|
|
|
|
2008-02-05 22:06:32 +01:00
|
|
|
2008-02-05 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
|
|
|
|
|
|
|
|
PR fortran/35037
|
|
|
|
* trans-common.c (build_field): Mark fields as volatile when needed.
|
|
|
|
|
2008-02-05 21:40:45 +01:00
|
|
|
2008-02-05 Tobias Burnus <burnus@net-b.de>
|
|
|
|
|
|
|
|
PR fortran/35093
|
|
|
|
* data.c (gfc_assign_data_value): Only free "size" if
|
|
|
|
it has not already been freed.
|
|
|
|
|
2008-02-05 14:33:35 +01:00
|
|
|
2008-02-05 Paul Thomas <pault@gcc.gnu.org>
|
|
|
|
|
|
|
|
PR fortran/34945
|
|
|
|
* array.c (match_array_element_spec): Remove check for negative
|
|
|
|
array size.
|
|
|
|
(gfc_resolve_array_spec): Add check for negative size.
|
|
|
|
|
2008-02-05 12:16:33 +01:00
|
|
|
2008-02-05 Paul Thomas <pault@gcc.gnu.org>
|
|
|
|
|
|
|
|
PR fortran/32315
|
|
|
|
* data.c (gfc_assign_data_value): Add bounds check for array
|
|
|
|
references.
|
|
|
|
|
2008-02-04 23:29:35 +01:00
|
|
|
2008-02-04 Daniel Franke <franke.daniel@gmail.com>
|
|
|
|
|
|
|
|
* resolve.c (resolve_where): Fix typo.
|
|
|
|
(gfc_resolve_where_code_in_forall): Likewise.
|
|
|
|
|
2008-02-03 12:29:27 +01:00
|
|
|
2008-02-03 Paul Thomas <pault@gcc.gnu.org>
|
|
|
|
|
|
|
|
PR fortran/32760
|
|
|
|
* resolve.c (resolve_allocate_deallocate): New function.
|
|
|
|
(resolve_code): Call it for allocate and deallocate.
|
|
|
|
* match.c (gfc_match_allocate, gfc_match_deallocate) : Remove
|
|
|
|
the checking of the STAT tag and put in above new function.
|
|
|
|
* primary,c (match_variable): Do not fix flavor of host
|
|
|
|
associated symbols yet if the type is not known.
|
|
|
|
|
2008-01-31 23:20:47 +01:00
|
|
|
2008-01-31 Paul Thomas <pault@gcc.gnu.org>
|
|
|
|
|
|
|
|
PR fortran/34910
|
|
|
|
* expr.c (gfc_check_assign): It is an error to assign
|
|
|
|
to a sibling procedure.
|
|
|
|
|
2008-01-30 07:56:10 +01:00
|
|
|
2008-01-30 Paul Thomas <pault@gcc.gnu.org>
|
|
|
|
|
|
|
|
PR fortran/34975
|
|
|
|
* symbol.c (gfc_delete_symtree, gfc_undo_symbols): Rename
|
|
|
|
delete_symtree to gfc_delete_symtree.
|
|
|
|
* gfortran.h : Add prototype for gfc_delete_symtree.
|
|
|
|
* module.c (load_generic_interfaces): Transfer symbol to a
|
|
|
|
unique symtree and delete old symtree, instead of renaming.
|
|
|
|
(read_module): The rsym and the found symbol are the same, so
|
|
|
|
the found symtree can be deleted.
|
|
|
|
|
|
|
|
PR fortran/34429
|
|
|
|
* decl.c (match_char_spec): Remove the constraint on deferred
|
|
|
|
matching of functions and free the length expression.
|
|
|
|
delete_symtree to gfc_delete_symtree.
|
|
|
|
(gfc_match_type_spec): Whitespace.
|
|
|
|
(gfc_match_function_decl): Defer characteristic association for
|
|
|
|
all types except BT_UNKNOWN.
|
|
|
|
* parse.c (decode_specification_statement): Only derived type
|
|
|
|
function matching is delayed to the end of specification.
|
|
|
|
|
2008-01-28 18:25:55 +01:00
|
|
|
2008-01-28 Tobias Burnus <burnus@net-b.de>
|
|
|
|
|
|
|
|
PR libfortran/34980
|
|
|
|
* simplify.c (gfc_simplify_shape): Simplify rank zero arrays.
|
|
|
|
|
2008-01-27 20:38:59 +01:00
|
|
|
2008-01-27 Jerry DeLisle <jvdelisle@gcc.gnu.org>
|
|
|
|
|
|
|
|
PR fortran/34990
|
|
|
|
* array.c (gfc_check_constructor_type): Revert clearing the expression.
|
|
|
|
|
2008-01-26 21:44:49 +01:00
|
|
|
2008-01-26 Tobias Burnus <burnus@net-b.de>
|
|
|
|
|
|
|
|
PR fortran/34848
|
|
|
|
* trans-expr.c (gfc_conv_function_call): Don't call
|
|
|
|
gfc_add_interface_mapping if the expression is NULL.
|
|
|
|
|
2008-01-26 20:01:07 +01:00
|
|
|
2008-01-26 Jerry DeLisle <jvdelisle@gcc.gnu.org>
|
|
|
|
|
|
|
|
PR fortran/31610
|
|
|
|
* trans-array.c (gfc_trans_create_temp_array): Remove call to
|
|
|
|
gcc_assert (integer_zerop (loop->from[n])).
|
|
|
|
|
2008-01-25 22:55:47 +01:00
|
|
|
2008-01-25 Daniel Franke <franke.daniel@gmail.com>
|
|
|
|
|
|
|
|
PR fortran/34661
|
|
|
|
* resolve.c (resolve_where): Added check if user-defined assignment
|
|
|
|
operator is an elemental subroutine.
|
|
|
|
(gfc_resolve_where_code_in_forall): Likewise.
|
|
|
|
|
2008-01-24 22:36:14 +01:00
|
|
|
2008-01-24 Daniel Franke <franke.daniel@gmail.com>
|
|
|
|
|
|
|
|
PR fortran/33375
|
|
|
|
PR fortran/34858
|
|
|
|
* gfortran.h: Revert changes from 2008-01-17.
|
|
|
|
* match.c: Likewise.
|
|
|
|
* symbol.c: Likewise.
|
|
|
|
(gfc_undo_symbols): Undo namespace changes related to common blocks.
|
|
|
|
|
2008-01-24 22:28:20 +01:00
|
|
|
2008-01-24 Daniel Franke <franke.daniel@gmail.com>
|
|
|
|
|
|
|
|
PR fortran/34202
|
|
|
|
* data.c (formalize_structure_cons): Skip formalization on
|
|
|
|
empty structures.
|
|
|
|
|
2008-01-24 19:28:11 +01:00
|
|
|
2008-01-24 Daniel Franke <franke.daniel@gmail.com>
|
|
|
|
|
|
|
|
* gfortran.texi (OpenMP): Extended existing documentation.
|
|
|
|
(contributors): Added major contributors of 2008 that were
|
|
|
|
not listed yet.
|
|
|
|
(proposed extensions): Removed implemented items.
|
|
|
|
|
|
|
|
2008-01-24 Paul Thomas <pault@gcc.gnu.org>
|
|
|
|
|
|
|
|
PR fortran/34872
|
|
|
|
* parse.c (next_statement) : If ST_GET_FCN_CHARACTERISTICS is
|
|
|
|
seen, check for a statement label and, if present, delete it
|
|
|
|
and set the locus to the start of the statement.
|
|
|
|
|
2008-01-22 22:22:13 +01:00
|
|
|
2008-01-22 Paul Thomas <pault@gcc.gnu.org>
|
|
|
|
|
|
|
|
PR fortran/34875
|
|
|
|
* trans-io.c (gfc_trans_transfer): If the array reference in a
|
|
|
|
read has a vector subscript, use gfc_conv_subref_array_arg to
|
|
|
|
copy back the temporary.
|
|
|
|
|
2008-01-22 20:35:49 +01:00
|
|
|
2008-01-22 Tobias Burnus <burnus@net-b.de>
|
|
|
|
|
|
|
|
PR fortran/34848
|
|
|
|
* interface.c (compare_actual_formal): Fix adding type
|
|
|
|
to missing_arg_type for absent optional arguments.
|
|
|
|
|
2008-01-22 17:43:20 +01:00
|
|
|
2008-01-22 Tobias Burnus <burnus@net-b.de>
|
|
|
|
|
|
|
|
PR fortran/34907
|
|
|
|
* parse.c (parse_spec): Change = into ==.
|
|
|
|
|
2008-01-22 13:19:54 +01:00
|
|
|
2008-01-22 Daniel Franke <franke.daniel@gmail.com>
|
|
|
|
|
|
|
|
PR fortran/34915
|
|
|
|
* expr.c (check_elemental): Fix check for valid data types.
|
|
|
|
|
2008-01-22 08:33:46 +01:00
|
|
|
2008-01-22 Tobias Burnus <burnus@net-b.de>
|
|
|
|
|
|
|
|
PR fortran/34899
|
|
|
|
* scanner.c (load_line): Support <tab><digit> continuation lines.
|
|
|
|
* invoke.texi (-Wtabs): Document this.
|
|
|
|
|
2008-01-22 07:01:54 +01:00
|
|
|
2008-01-22 Paul Thomas <pault@gcc.gnu.org>
|
|
|
|
|
|
|
|
PR fortran/34896
|
|
|
|
* module.c (read_module): Set use_rename attribute.
|
|
|
|
|
2008-01-21 19:33:10 +01:00
|
|
|
2007-01-21 Tobias Burnus <burnus@net-b.de>
|
|
|
|
|
|
|
|
PR fortran/34901
|
|
|
|
* interface.c (compare_parameter): Improved error message
|
|
|
|
for arguments of same type and mismatched kinds.
|
|
|
|
|
2008-01-20 17:58:15 +01:00
|
|
|
2008-01-20 Paul Thomas <pault@gcc.gnu.org>
|
|
|
|
|
|
|
|
PR fortran/34861
|
|
|
|
* resolve.c (resolve_entries): Do not do an array bounds check
|
|
|
|
if the result symbols are the same.
|
|
|
|
|
|
|
|
PR fortran/34854
|
|
|
|
* module.c (read_module) : Hide the symtree of the previous
|
|
|
|
version of the symbol if this symbol is renamed.
|
|
|
|
|
2008-01-20 09:22:56 +01:00
|
|
|
2008-01-20 Paul Thomas <pault@gcc.gnu.org>
|
|
|
|
|
|
|
|
PR fortran/34784
|
|
|
|
* array.c (gfc_check_constructor_type): Clear the expression ts
|
|
|
|
so that the checking starts from the deepest level of array
|
|
|
|
constructor.
|
|
|
|
* primary.c (match_varspec): If an unknown type is changed to
|
|
|
|
default character and the attempt to match a substring fails,
|
|
|
|
change it back to unknown.
|
|
|
|
|
|
|
|
PR fortran/34785
|
|
|
|
* trans-array.c (gfc_add_loop_ss_code) : If ss->string_length is
|
|
|
|
NULL for an array constructor, use the cl.length expression to
|
|
|
|
build it.
|
|
|
|
(gfc_conv_array_parameter): Change call to gfc_evaluate_now to
|
|
|
|
a tree assignment.
|
|
|
|
|
2008-01-19 23:47:47 +01:00
|
|
|
2008-01-19 Thomas Koenig <tkoenig@gcc.gnu.org>
|
|
|
|
|
|
|
|
PR fortran/34817
|
|
|
|
PR fortran/34838
|
|
|
|
* iresolve.c (gfc_resolve_all): Remove conversion of mask
|
|
|
|
argument to kind=1 by removing call to resolve_mask_arg().
|
|
|
|
(gfc_resolve_any): Likewise.
|
|
|
|
|
2008-01-19 16:41:04 +01:00
|
|
|
2008-01-19 Tobias Burnus <burnus@net-b.de>
|
|
|
|
|
|
|
|
PR fortran/34760
|
|
|
|
* primary.c (match_variable): Handle FL_UNKNOWN without
|
|
|
|
uneducated guessing.
|
|
|
|
(match_variable): Improve error message.
|
|
|
|
|
2008-01-19 00:46:04 +01:00
|
|
|
2008-01-18 Tobias Burnus <burnus@net-b.de>
|
|
|
|
|
|
|
|
PR fortran/32616
|
|
|
|
* interface.c (get_expr_storage_size): Return storage size
|
|
|
|
for array element designators.
|
|
|
|
(compare_actual_formal): Reject unequal string sizes for
|
|
|
|
assumed-shape dummy arguments. And fix error message for
|
|
|
|
array-sections with vector subscripts.
|
|
|
|
|
2008-01-18 03:08:22 +01:00
|
|
|
2008-01-17 Jerry DeLisle <jvdelisle@gcc.gnu.org>
|
|
|
|
|
|
|
|
PR fortran/34556
|
|
|
|
* simplify.c (is_constant_array_expr): New static function that returns
|
|
|
|
true if the given expression is an array and is constant.
|
|
|
|
(gfc_simplify_reshape): Use new function.
|
|
|
|
|
2008-01-18 02:29:11 +01:00
|
|
|
2008-01-17 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
PR fortran/33375
|
|
|
|
* symbol.c (free_common_tree): Renamed to ...
|
|
|
|
(gfc_free_common_tree): This. Remove static.
|
|
|
|
(gfc_free_namespace): Updated.
|
|
|
|
|
|
|
|
* gfortran.h (gfc_free_common_tree): New.
|
|
|
|
|
|
|
|
* match.c (gfc_match_common): Call gfc_free_common_tree () with
|
|
|
|
gfc_current_ns->common_root and set gfc_current_ns->common_root
|
|
|
|
to NULL on syntax error.
|
|
|
|
|
2008-01-18 01:28:28 +01:00
|
|
|
2008-01-18 Richard Sandiford <rsandifo@nildram.co.uk>
|
|
|
|
|
|
|
|
PR fortran/34686
|
|
|
|
* trans-expr.c (gfc_conv_function_call): Use proper
|
|
|
|
type for returned character pointers.
|
|
|
|
|
2008-01-17 08:19:04 +01:00
|
|
|
2008-01-17 Paul Thomas <pault@gcc.gnu.org>
|
|
|
|
|
|
|
|
PR fortran/34429
|
|
|
|
PR fortran/34431
|
|
|
|
PR fortran/34471
|
|
|
|
* decl.c : Remove gfc_function_kind_locus and
|
|
|
|
gfc_function_type_locus. Add gfc_matching_function.
|
|
|
|
(match_char_length): If matching a function and the length
|
|
|
|
does not match, return MATCH_YES and try again later.
|
|
|
|
(gfc_match_kind_spec): The same.
|
|
|
|
(match_char_kind): The same.
|
|
|
|
(gfc_match_type_spec): The same for numeric and derived types.
|
|
|
|
(match_prefix): Rename as gfc_match_prefix.
|
|
|
|
(gfc_match_function_decl): Except for function valued character
|
|
|
|
lengths, defer applying kind, type and charlen info until the
|
|
|
|
end of specification block.
|
|
|
|
gfortran.h (gfc_statement): Add ST_GET_FCN_CHARACTERISTICS.
|
|
|
|
parse.c (decode_specification_statement): New function.
|
|
|
|
(decode_statement): Call it when a function has kind = -1. Set
|
|
|
|
and reset gfc_matching function, as function statement is being
|
|
|
|
matched.
|
|
|
|
(match_deferred_characteristics): Simplify with a single call
|
|
|
|
to gfc_match_prefix. Do appropriate error handling. In any
|
|
|
|
case, make sure that kind = -1 is reset or corrected.
|
|
|
|
(parse_spec): Call above on seeing ST_GET_FCN_CHARACTERISTICS.
|
|
|
|
Throw an error if kind = -1 after last specification statement.
|
|
|
|
parse.h : Prototype for gfc_match_prefix.
|
|
|
|
|
2008-01-16 08:12:00 +01:00
|
|
|
2008-01-16 Tobias Burnus <burnus@net-b.de>
|
|
|
|
|
|
|
|
PR fortran/34796
|
|
|
|
* interface.c (compare_parameter): Allow AS_DEFERRED array
|
|
|
|
elements and reject attr.pointer array elemenents.
|
|
|
|
(get_expr_storage_size): Return storage size of elements of
|
|
|
|
assumed-shape and pointer arrays.
|
|
|
|
|
2008-01-16 00:45:28 +01:00
|
|
|
2008-01-15 Sebastian Pop <sebastian.pop@amd.com>
|
|
|
|
|
|
|
|
* f95-lang.c (gfc_init_builtin_functions): Initialize GOMP builtins
|
|
|
|
for flag_tree_parallelize_loops.
|
|
|
|
|
re PR libfortran/34671 (any(kind=1) and all(kind=1))
2008-01-15 Thomas Koenig <tkoenig@gcc.gnu.org>
PR libfortran/34671
* gfortran.am: Added _gfortran_all_l1, _gfortran_all_l2,
_gfortran_any_l1, _gfortran_any_l2, -28,15 _gfortran_count_1_l,
_gfortran_count_16_l, _gfortran_count_2_l, _gfortran_count_4_l and
_gfortran_count_8_l Removed _gfortran_count_16_l16,
_gfortran_count_16_l4, _gfortran_count_16_l8,
_gfortran_count_4_l16, _gfortran_count_4_l4, _gfortran_count_4_l8,
_gfortran_count_8_l16, _gfortran_count_8_l4 and
_gfortran_count_8_l8.
* Makefile.am: Added generated/any_l1.c and generated/any_l2.c to
i_any_c. Added generated/all_l1. and generated/all_l2.c to
i_all_c. Removed generated/count_4_l4.c, generated/count_8_l4.c,
generated/count_16_l4.c, generated/count_4_l8.c,
generated/count_8_l8.c, generated/count_16_l8.c,
generated/count_4_l16.c, generated/count_8_l16.c, and
generated/count_16_l16.c from i_count_c. Added count_1_l.c,
count_2_l.c, count_4_l.c, count_8_l.c and count_16_l.c to
i_count_c. I_M4_DEPS2 depends on ifunction_logical.m4, for
any of the files generated from all.m4, any.m4 and count.m4.
* Makefile.in: Regenerated.
* m4/ifunction_logical.m4: New file. Use
GFC_LOGICAL_1 pointer for access to source arrays.
* m4/any.m4: Include ifunction_logical.m4 instead of
ifunction.m4. Don't check atype_name.
* m4/all.m4: Likewise.
* m4/count.m4: Likewise.
* generated/any_l1.c: New file.
* generated/any_l2.c: New file.
* generated/all_l1.c: New file.
* generated/count_1_l.c: New file.
* generated/count_2_l.c: New file.
* generated/count_4_l.c: New file.
* generated/count_8_l.c: New file.
* generated/count_16_l.c: New file.
* generated/any_l4.c: Regenerated.
* generated/any_l8.c: Regenerated.
* generated/any_l16.c: Regenerated.
* generated/all_l4.c: Regenerated.
* generated/all_l8.c: Regenerated.
* generated/all_l16.c: Regenerated.
* generated/count_4_l4.c: Removed.
* generated/count_4_l8.c: Removed.
* generated/count_4_l16.c: Removed.
* generated/count_8_l4.c: Removed.
* generated/count_8_l8.c: Removed.
* generated/count_8_l16.c: Removed.
* generated/count_16_l4.c: Removed.
* generated/count_16_l8.c: Removed.
* generated/count_16_l16.c: Removed.
2008-01-15 Thomas Koenig <tkoenig@gcc.gnu.org>
PR libfortran/34671
* iresolve.c (gfc_resolve_all): Call resolve_mask_arg.
(gfc_resolve_any): Likewise.
(gfc_resolve_count): Likewise. Don't append kind of
argument to function name.
2008-01-15 Thomas Koenig <tkoenig@gcc.gnu.org>
PR libfortran/34671
* gfortran.dg/anyallcount_1.f90: New test.
From-SVN: r131553
2008-01-15 22:22:07 +01:00
|
|
|
2008-01-15 Thomas Koenig <tkoenig@gcc.gnu.org>
|
|
|
|
|
|
|
|
PR libfortran/34671
|
|
|
|
* iresolve.c (gfc_resolve_all): Call resolve_mask_arg.
|
|
|
|
(gfc_resolve_any): Likewise.
|
|
|
|
(gfc_resolve_count): Likewise. Don't append kind of
|
|
|
|
argument to function name.
|
|
|
|
|
2008-01-13 22:35:33 +01:00
|
|
|
2008-01-13 Tobias Burnus <burnus@net-b.de>
|
|
|
|
|
|
|
|
PR fortran/34665
|
|
|
|
* resolve.c (resolve_actual_arglist): For expressions,
|
|
|
|
also check for assume-sized arrays.
|
|
|
|
* interface.c (compare_parameter): Move F2003 character checks
|
|
|
|
here, print error messages here, reject elements of
|
|
|
|
assumed-shape array as argument to dummy arrays.
|
|
|
|
(compare_actual_formal): Update for the changes above.
|
|
|
|
|
2008-01-13 22:29:49 +01:00
|
|
|
2008-01-13 Tobias Burnus <burnus@net-b.de>
|
|
|
|
|
|
|
|
PR fortran/34763
|
|
|
|
* decl.c (contained_procedure): Only check directly preceeding state.
|
|
|
|
|
2008-01-13 22:28:30 +01:00
|
|
|
2008-01-13 Tobias Burnus <burnus@net-b.de>
|
|
|
|
|
|
|
|
PR fortran/34759
|
|
|
|
* check.c (gfc_check_shape): Accept array ranges of
|
|
|
|
assumed-size arrays.
|
|
|
|
|
2008-01-12 09:35:25 +01:00
|
|
|
2008-01-12 Jerry DeLisle <jvdelisle@gcc.gnu.org>
|
|
|
|
|
2008-01-12 09:36:52 +01:00
|
|
|
PR fortran/34432
|
2008-01-12 09:35:25 +01:00
|
|
|
* match.c (gfc_match_name): Don't error if leading character is a '(',
|
|
|
|
just return MATCH_NO.
|
|
|
|
|
2008-01-11 22:15:41 +01:00
|
|
|
2008-01-11 Jerry DeLisle <jvdelisle@gcc.gnu.org>
|
|
|
|
|
|
|
|
PR fortran/34722
|
|
|
|
* trans-io.c (create_dummy_iostat): Commit the symbol.
|
|
|
|
|
2008-01-11 19:25:29 +01:00
|
|
|
2008-01-11 Paul Thomas <pault@gcc.gnu.org>
|
|
|
|
|
|
|
|
PR fortran/34537
|
|
|
|
* simplify.c (gfc_simplify_transfer): Return NULL if the size
|
|
|
|
of the element is unavailable and only assign character length
|
|
|
|
to the result, if 'mold' is constant.
|
|
|
|
|
2008-01-10 20:10:48 +01:00
|
|
|
2008-01-10 Paul Thomas <pault@gcc.gnu.org>
|
|
|
|
|
|
|
|
PR fortran/34396
|
|
|
|
* trans-array.c (gfc_trans_array_ctor_element): Use gfc_trans_string_copy
|
|
|
|
to assign strings and perform bounds checks on the string length.
|
|
|
|
(get_array_ctor_strlen): Remove bounds checking.
|
|
|
|
(gfc_trans_array_constructor): Initialize string length checking.
|
|
|
|
* trans-array.h : Add prototype for gfc_trans_string_copy.
|
|
|
|
|
2008-01-08 22:21:29 +01:00
|
|
|
2008-01-08 Richard Guenther <rguenther@suse.de>
|
|
|
|
|
|
|
|
PR fortran/34706
|
|
|
|
PR tree-optimization/34683
|
|
|
|
* trans-types.c (gfc_get_array_type_bounds): Use an array type
|
|
|
|
with known size for accesses if that is known.
|
|
|
|
|
2008-01-08 16:14:33 +01:00
|
|
|
2008-01-08 Paul Thomas <pault@gcc.gnu.org>
|
|
|
|
|
|
|
|
PR fortran/34476
|
|
|
|
* expr.c (find_array_element): Check that the array bounds are
|
|
|
|
constant before using them. Use lower, as well as upper bound.
|
|
|
|
(check_restricted): Allow implied index variable.
|
|
|
|
|
2008-01-08 16:12:34 +01:00
|
|
|
2008-01-08 Paul Thomas <pault@gcc.gnu.org>
|
|
|
|
|
|
|
|
PR fortran/34681
|
|
|
|
* trans_array.c (gfc_trans_deferred_array): Do not null the
|
|
|
|
data pointer on entering scope, nor deallocate it on leaving
|
|
|
|
scope, if the symbol has the 'save' attribute.
|
|
|
|
|
|
|
|
PR fortran/34704
|
|
|
|
* trans_decl.c (gfc_finish_var_decl): Derived types with
|
|
|
|
allocatable components and an initializer must be TREE_STATIC.
|
|
|
|
|
2008-01-07 17:44:43 +01:00
|
|
|
2008-01-07 Paul Thomas <pault@gcc.gnu.org>
|
|
|
|
|
|
|
|
PR fortran/34672
|
|
|
|
* module.c (write_generic): Rewrite completely.
|
|
|
|
(write_module): Change call to write_generic.
|
|
|
|
|
2008-01-07 03:53:04 +01:00
|
|
|
2008-01-06 Jerry DeLisle <jvdelisle@gcc.gnu.org>
|
|
|
|
|
|
|
|
PR fortran/34659
|
|
|
|
* scanner.c (load_line): Do not count ' ' as printable when checking for
|
|
|
|
continuations.
|
|
|
|
|
2008-01-06 23:00:00 +01:00
|
|
|
2008-01-06 Paul Thomas <pault@gcc.gnu.org>
|
2008-01-06 20:36:44 +01:00
|
|
|
|
2008-01-06 23:00:00 +01:00
|
|
|
PR fortran/34545
|
|
|
|
* module.c (load_needed): If the namespace has no proc_name
|
|
|
|
give it the module symbol.
|
2008-01-06 20:36:44 +01:00
|
|
|
|
2008-01-06 19:19:06 +01:00
|
|
|
2008-01-06 Jerry DeLisle <jvdelisle@gcc.gnu.org>
|
|
|
|
|
|
|
|
PR fortran/34387
|
|
|
|
* trans-expr.c (gfc_conv_missing_dummy): Use a temporary to type convert
|
|
|
|
the dummy variable expression, test for NULL, and pass the variable
|
|
|
|
address to the called function.
|
|
|
|
|
2008-01-06 19:17:14 +01:00
|
|
|
2007-01-06 Tobias Burnus <burnus@net-b.de>
|
|
|
|
|
|
|
|
PR fortran/34658
|
|
|
|
* match.c (gfc_match_common): Remove blank common in
|
|
|
|
DATA BLOCK warning.
|
|
|
|
* resolve.c (resolve_common_vars): New function.
|
|
|
|
(resolve_common_blocks): Move checks to resolve_common_vars
|
|
|
|
and invoke that function.
|
|
|
|
(resolve_types): Call resolve_common_vars for blank commons.
|
|
|
|
|
2008-01-06 19:07:52 +01:00
|
|
|
2008-01-06 Tobias Burnus <burnus@net-b.de>
|
|
|
|
|
|
|
|
PR fortran/34655
|
|
|
|
* resolve.c (resolve_equivalence_derived): Reject derived types with
|
|
|
|
default initialization if equivalenced with COMMON variable.
|
|
|
|
|
2008-01-06 10:21:27 +01:00
|
|
|
2008-01-06 Tobias Burnus <burnus@net-b.de>
|
|
|
|
|
|
|
|
PR fortran/34654
|
|
|
|
* io.c (check_io_constraints): Disallow unformatted I/O for
|
|
|
|
internal units.
|
|
|
|
|
2008-01-06 10:18:43 +01:00
|
|
|
2008-01-06 Tobias Burnus <burnus@net-b.de>
|
|
|
|
|
|
|
|
PR fortran/34660
|
|
|
|
* resolve.c (resolve_formal_arglist): Reject dummy procedure in
|
|
|
|
ELEMENTAL functions.
|
|
|
|
|
2008-01-06 10:07:47 +01:00
|
|
|
2008-01-06 Tobias Burnus <burnus@net-b.de>
|
|
|
|
|
|
|
|
PR fortran/34662
|
|
|
|
* interface.c (compare_actual_formal): Reject parameter
|
|
|
|
actual to intent(out) dummy.
|
|
|
|
|
2008-01-04 10:11:26 +01:00
|
|
|
2008-01-04 Tobias Burnus <burnus@net-b.de>
|
|
|
|
|
|
|
|
PR fortran/34557
|
|
|
|
* primary.c (match_varspec): Gobble whitespace before
|
|
|
|
checking for '('.
|