OSDN Git Service

2008-01-15 Thomas Koenig <tkoenig@gcc.gnu.org>
[pf3gnuchains/gcc-fork.git] / gcc / fortran / ChangeLog
1 2008-01-15  Thomas Koenig  <tkoenig@gcc.gnu.org>
2
3         PR libfortran/34671
4         * iresolve.c (gfc_resolve_all):  Call resolve_mask_arg.
5         (gfc_resolve_any):  Likewise.
6         (gfc_resolve_count):  Likewise.  Don't append kind of
7         argument to function name.
8
9 2008-01-13  Tobias Burnus  <burnus@net-b.de>
10
11         PR fortran/34665
12         * resolve.c (resolve_actual_arglist): For expressions,
13         also check for assume-sized arrays.
14         * interface.c (compare_parameter): Move F2003 character checks
15         here, print error messages here, reject elements of
16         assumed-shape array as argument to dummy arrays.
17         (compare_actual_formal): Update for the changes above.
18
19 2008-01-13  Tobias Burnus  <burnus@net-b.de>
20
21         PR fortran/34763
22         * decl.c (contained_procedure): Only check directly preceeding state.
23
24 2008-01-13  Tobias Burnus  <burnus@net-b.de>
25
26         PR fortran/34759
27         * check.c (gfc_check_shape): Accept array ranges of
28         assumed-size arrays.
29
30 2008-01-12  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
31
32         PR fortran/34432
33         * match.c (gfc_match_name): Don't error if leading character is a '(',
34         just return MATCH_NO.
35
36 2008-01-11  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
37
38         PR fortran/34722
39         * trans-io.c (create_dummy_iostat): Commit the symbol.
40
41 2008-01-11  Paul Thomas  <pault@gcc.gnu.org>
42
43         PR fortran/34537
44         * simplify.c (gfc_simplify_transfer): Return NULL if the size
45         of the element is unavailable and only assign character length
46         to the result, if 'mold' is constant.
47
48 2008-01-10  Paul Thomas  <pault@gcc.gnu.org>
49
50         PR fortran/34396
51         * trans-array.c (gfc_trans_array_ctor_element):  Use gfc_trans_string_copy
52         to assign strings and perform bounds checks on the string length.
53         (get_array_ctor_strlen): Remove bounds checking.
54         (gfc_trans_array_constructor): Initialize string length checking.
55         * trans-array.h : Add prototype for gfc_trans_string_copy.
56
57 2008-01-08  Richard Guenther  <rguenther@suse.de>
58
59         PR fortran/34706
60         PR tree-optimization/34683
61         * trans-types.c (gfc_get_array_type_bounds): Use an array type
62         with known size for accesses if that is known.
63
64 2008-01-08  Paul Thomas  <pault@gcc.gnu.org>
65
66         PR fortran/34476
67         * expr.c (find_array_element): Check that the array bounds are
68         constant before using them.  Use lower, as well as upper bound.
69         (check_restricted): Allow implied index variable.
70
71 2008-01-08  Paul Thomas  <pault@gcc.gnu.org>
72
73         PR fortran/34681
74         * trans_array.c (gfc_trans_deferred_array): Do not null the
75         data pointer on entering scope, nor deallocate it on leaving
76         scope, if the symbol has the 'save' attribute.
77
78         PR fortran/34704
79         * trans_decl.c (gfc_finish_var_decl): Derived types with
80         allocatable components and an initializer must be TREE_STATIC.
81
82 2008-01-07  Paul Thomas  <pault@gcc.gnu.org>
83
84         PR fortran/34672
85         * module.c (write_generic): Rewrite completely.
86         (write_module): Change call to write_generic.
87
88 2008-01-06  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
89
90         PR fortran/34659
91         * scanner.c (load_line): Do not count ' ' as printable when checking for
92         continuations.
93
94 2008-01-06  Paul Thomas  <pault@gcc.gnu.org>
95
96         PR fortran/34545
97         * module.c (load_needed): If the namespace has no proc_name
98         give it the module symbol.
99
100 2008-01-06  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
101
102         PR fortran/34387
103         * trans-expr.c (gfc_conv_missing_dummy): Use a temporary to type convert
104         the dummy variable expression, test for NULL, and pass the variable
105         address to the called function.
106
107 2007-01-06  Tobias Burnus  <burnus@net-b.de>
108
109         PR fortran/34658
110         * match.c (gfc_match_common): Remove blank common in
111         DATA BLOCK warning.
112         * resolve.c (resolve_common_vars): New function.
113         (resolve_common_blocks): Move checks to resolve_common_vars
114         and invoke that function.
115         (resolve_types): Call resolve_common_vars for blank commons.
116
117 2008-01-06  Tobias Burnus  <burnus@net-b.de>
118
119         PR fortran/34655
120         * resolve.c (resolve_equivalence_derived): Reject derived types with
121         default initialization if equivalenced with COMMON variable.
122
123 2008-01-06  Tobias Burnus  <burnus@net-b.de>
124
125         PR fortran/34654
126         * io.c (check_io_constraints): Disallow unformatted I/O for
127         internal units.
128
129 2008-01-06  Tobias Burnus  <burnus@net-b.de>
130
131         PR fortran/34660
132         * resolve.c (resolve_formal_arglist): Reject dummy procedure in
133         ELEMENTAL functions.
134
135 2008-01-06  Tobias Burnus  <burnus@net-b.de>
136
137         PR fortran/34662
138         * interface.c (compare_actual_formal): Reject parameter
139         actual to intent(out) dummy.
140
141 2008-01-04  Tobias Burnus  <burnus@net-b.de>
142
143         PR fortran/34557
144         * primary.c (match_varspec): Gobble whitespace before
145         checking for '('.