]>
Commit | Line | Data |
---|---|---|
df8652dc SK |
1 | 2005-12-17 Steven G. Kargl <kargls@comcast.net> |
2 | ||
3 | * decl.c (gfc_match_old_kind_spec,match_type_spec): Use gfc_std_notify | |
4 | to report nonstandard intrinsic type declarations. | |
5 | ||
1c8745ce JD |
6 | 2005-12-16 Jerry DeLisle <jvdelisle@gcc.gnu.org> |
7 | ||
8 | PR fortran/24268 | |
9 | * io.c (format_lex): Allow whitespace within text of format specifier. | |
10 | ||
8a8f7eca SK |
11 | 2005-12-16 Steven G. Kargl <kargls@comcast.net> |
12 | ||
13 | PR fortran/25106 | |
14 | PR fortran/25055 | |
15 | * match.c (gfc_match_small_literal_int): Add cnt argument; | |
16 | (gfc_match_st_label,gfc_match_stopcode): Account for cnt argument. | |
17 | * match.h (gfc_match_small_literal_int): Update prototype. | |
18 | * decl.c (match_char_length,gfc_match_old_kind_spec): Account for cnt. | |
19 | * parse.c (next_free): Ditto. | |
20 | * primary.c (match_kind_param): Ditto. | |
21 | ||
3380b802 RG |
22 | 2005-12-16 Richard Guenther <rguenther@suse.de> |
23 | ||
24 | * trans.h (tree): Remove declaration of gfc_build_function_call. | |
25 | * trans.c (gfc_build_function_call): Remove. | |
26 | (gfc_build_array_ref): Use build_function_call_expr. | |
27 | (gfc_trans_runtime_check): Likewise. | |
28 | * trans-array.c (gfc_trans_allocate_array_storage): Likewise. | |
29 | (gfc_grow_array): Likewise. | |
30 | (gfc_trans_array_ctor_element): Likewise. | |
31 | (gfc_trans_array_constructor_value): Likewise. | |
32 | (gfc_array_allocate): Likewise. | |
33 | (gfc_array_deallocate): Likewise. | |
34 | (gfc_trans_auto_array_allocation): Likewise. | |
35 | (gfc_trans_dummy_array_bias): Likewise. | |
36 | (gfc_conv_array_parameter): Likewise. | |
37 | * trans-expr.c (gfc_conv_power_op): Likewise. | |
38 | (gfc_conv_string_tmp): Likewise. | |
39 | (gfc_conv_concat_op): Likewise. | |
40 | (gfc_conv_expr_op): Likewise. | |
41 | (gfc_trans_string_copy): Likewise. | |
42 | * trans-decl.c (build_entry_thunks): Likewise. | |
43 | (gfc_generate_function_code): Likewise. | |
44 | (gfc_generate_constructors): Likewise. | |
45 | * trans-io.c (gfc_trans_open): Likewise. | |
46 | (gfc_trans_close): Likewise. | |
47 | (build_filepos): Likewise. | |
48 | (gfc_trans_inquire): Likewise. | |
49 | (transfer_namelist_element): Likewise. | |
50 | (build_dt): Likewise. | |
51 | (gfc_trans_dt_end): Likewise. | |
52 | (transfer_expr): Likewise. | |
53 | (transfer_array_desc): Likewise. | |
54 | * trans-stmt.c (gfc_trans_pause): Likewise. | |
55 | (gfc_trans_stop): Likewise. | |
56 | (gfc_trans_character_select): Likewise. | |
57 | (gfc_do_allocate): Likewise. | |
58 | (gfc_trans_assign_need_temp): Likewise. | |
59 | (gfc_trans_pointer_assign_need_temp): Likewise. | |
60 | (gfc_trans_forall_1): Likewise. | |
61 | (gfc_trans_where): Likewise. | |
62 | (gfc_trans_allocate): Likewise. | |
63 | (gfc_trans_deallocate): Likewise. | |
64 | * trans-intrinsic.c (gfc_conv_intrinsic_aint): Likewise. | |
65 | (gfc_conv_intrinsic_lib_function): Likewise. | |
66 | (gfc_conv_intrinsic_exponent): Likewise. | |
67 | (gfc_conv_intrinsic_abs): Likewise. | |
68 | (gfc_conv_intrinsic_sign): Likewise. | |
69 | (gfc_conv_intrinsic_ctime): Likewise. | |
70 | (gfc_conv_intrinsic_fdate): Likewise. | |
71 | (gfc_conv_intrinsic_ttynam): Likewise. | |
72 | (gfc_conv_intrinsic_ishftc): Likewise. | |
73 | (gfc_conv_intrinsic_len_trim): Likewise. | |
74 | (gfc_conv_intrinsic_index): Likewise. | |
75 | (gfc_conv_intrinsic_size): Likewise. | |
76 | (gfc_conv_intrinsic_strcmp): Likewise. | |
77 | (gfc_conv_intrinsic_adjust): Likewise. | |
78 | (gfc_conv_associated): Likewise. | |
79 | (gfc_conv_intrinsic_scan): Likewise. | |
80 | (gfc_conv_intrinsic_verify): Likewise. | |
81 | (call_builtin_clz): Likewise. | |
82 | (gfc_conv_intrinsic_si_kind): Likewise. | |
83 | (gfc_conv_intrinsic_sr_kind): Likewise. | |
84 | (gfc_conv_intrinsic_trim): Likewise. | |
85 | (gfc_conv_intrinsic_repeat): Likewise. | |
86 | (gfc_conv_intrinsic_iargc): Likewise. | |
87 | ||
38611275 RG |
88 | 2005-12-16 Richard Guenther <rguenther@suse.de> |
89 | ||
90 | * trans.h (gfc_build_indirect_ref): Remove declaration. | |
91 | * trans.c (gfc_build_indirect_ref): Remove. | |
92 | * trans-array.c (gfc_trans_array_ctor_element): Use | |
93 | build_fold_indirect_ref instead of gfc_build_indirect_ref. | |
94 | (gfc_trans_array_constructor_value): Likewise. | |
95 | (gfc_conv_array_index_offset): Likewise. | |
96 | (gfc_conv_scalarized_array_ref): Likewise. | |
97 | (gfc_conv_array_ref): Likewise. | |
98 | (gfc_trans_dummy_array_bias): Likewise. | |
99 | (gfc_conv_expr_descriptor): Likewise. | |
100 | (gfc_conv_array_parameter): Likewise. | |
101 | * trans-decl.c (gfc_finish_cray_pointee): Likewise. | |
102 | (gfc_get_symbol_decl): Likewise. | |
103 | * trans-expr.c (gfc_conv_substring): Likewise. | |
104 | (gfc_conv_component_ref): Likewise. | |
105 | (gfc_conv_variable): Likewise. | |
106 | (gfc_add_interface_mapping): Likewise. | |
107 | (gfc_conv_function_call): Likewise. | |
108 | * trans-intrinsic.c (gfc_conv_intrinsic_ichar): Likewise. | |
109 | (gfc_conv_intrinsic_transfer): Likewise. | |
110 | * trans-io.c (nml_get_addr_expr): Likewise. | |
111 | (transfer_namelist_element): Likewise. | |
112 | (transfer_expr): Likewise. | |
113 | * trans-stmt.c (gfc_trans_nested_forall_loop): Likewise. | |
114 | (allocate_temp_for_forall_nest_1): Likewise. | |
115 | (gfc_trans_forall_1): Likewise. | |
116 | ||
488ce07b RG |
117 | 2005-12-16 Richard Guenther <rguenther@suse.de> |
118 | ||
5adb25cf RB |
119 | * trans-array.c (gfc_conv_descriptor_data_addr): Use |
120 | build_fold_addr_expr where appropriate. | |
488ce07b RG |
121 | (gfc_trans_allocate_array_storage): Likewise. |
122 | (gfc_trans_array_constructor_value): Likewise. | |
123 | (gfc_conv_array_data): Likewise. | |
124 | (gfc_conv_expr_descriptor): Likewise. | |
125 | (gfc_conv_array_parameter): Likewise. | |
5adb25cf | 126 | * trans-expr.c (gfc_conv_variable): Likewise. |
488ce07b RG |
127 | (gfc_conv_function_val): Likewise. |
128 | (gfc_conv_function_call): Likewise. | |
129 | (gfc_conv_expr_reference): Likewise. | |
5adb25cf | 130 | * trans-intrinsic.c (gfc_conv_intrinsic_ctime): Likewise. |
488ce07b RG |
131 | (gfc_conv_intrinsic_fdate): Likewise. |
132 | (gfc_conv_intrinsic_ttynam): Likewise. | |
133 | (gfc_conv_intrinsic_si_kind): Likewise. | |
134 | (gfc_conv_intrinsic_trim): Likewise. | |
5adb25cf | 135 | * trans-io.c (set_parameter_ref): Likewise. |
488ce07b RG |
136 | (gfc_convert_array_to_string): Likewise. |
137 | (gfc_trans_open): Likewise. | |
138 | (gfc_trans_close): Likewise. | |
139 | (build_filepos): Likewise. | |
140 | (gfc_trans_inquire): Likewise. | |
141 | (nml_get_addr_expr): Likewise. | |
142 | (transfer_namelist_element): Likewise. | |
143 | (build_dt): Likewise. | |
144 | (gfc_trans_dt_end): Likewise. | |
145 | (transfer_array_component): Likewise. | |
146 | (transfer_expr): Likewise. | |
147 | (transfer_array_desc): Likewise. | |
148 | (gfc_trans_transfer): Likewise. | |
5adb25cf | 149 | * trans-stmt.c (gfc_trans_allocate): Likewise. |
488ce07b RG |
150 | (gfc_trans_deallocate): Likewise. |
151 | ||
8a6c4339 KH |
152 | 2005-12-16 Kazu Hirata <kazu@codesourcery.com> |
153 | ||
154 | * dependency.c, resolve.c, trans-array.c: Fix comment typos. | |
155 | * gfortran.texi: Fix typos. | |
156 | ||
e46aceff EE |
157 | 2005-12-14 Erik Edelmann <eedelman@gcc.gnu.org> |
158 | ||
159 | PR fortran/18197 | |
160 | * resolve.c (resolve_formal_arglist): Remove code to set | |
161 | the type of a function symbol from it's result symbol. | |
162 | ||
93fc8073 RG |
163 | 2005-12-13 Richard Guenther <rguenther@suse.de> |
164 | ||
165 | * trans-expr.c (gfc_conv_substring): Use fold_build2 and | |
166 | build_int_cst. | |
167 | ||
1524f80b RS |
168 | 2005-12-13 Richard Sandiford <richard@codesourcery.com> |
169 | ||
170 | * Make-lang.in (fortran/trans-resolve.o): Depend on | |
171 | fortran/dependency.h. | |
172 | * gfortran.h (gfc_expr): Add an "inline_noncopying_intrinsic" flag. | |
173 | * dependency.h (gfc_get_noncopying_intrinsic_argument): Declare. | |
174 | (gfc_check_fncall_dependency): Change prototype. | |
175 | * dependency.c (gfc_get_noncopying_intrinsic_argument): New function. | |
176 | (gfc_check_argument_var_dependency): New function, split from | |
177 | gfc_check_fncall_dependency. | |
178 | (gfc_check_argument_dependency): New function. | |
179 | (gfc_check_fncall_dependency): Replace the expression parameter with | |
180 | separate symbol and argument list parameters. Generalize the function | |
181 | to handle dependencies for any type of expression, not just variables. | |
182 | Accept a further argument giving the intent of the expression being | |
183 | tested. Ignore intent(in) arguments if that expression is also | |
184 | intent(in). | |
185 | * resolve.c: Include dependency.h. | |
186 | (find_noncopying_intrinsics): New function. | |
187 | (resolve_function, resolve_call): Call it on success. | |
188 | * trans-array.h (gfc_conv_array_transpose): Declare. | |
189 | (gfc_check_fncall_dependency): Remove prototype. | |
190 | * trans-array.c (gfc_conv_array_transpose): New function. | |
191 | * trans-intrinsic.c (gfc_conv_intrinsic_function): Don't use the | |
192 | libcall handling if the expression is to be evaluated inline. | |
193 | Add a case for handling inline transpose()s. | |
194 | * trans-expr.c (gfc_trans_arrayfunc_assign): Adjust for the new | |
195 | interface provided by gfc_check_fncall_dependency. | |
196 | ||
d0497a65 SK |
197 | 2005-12-12 Steven G. Kargl <kargls@comcast.net> |
198 | ||
199 | PR fortran/25078 | |
200 | * match.c (gfc_match_equivalence): Count number of objects. | |
201 | ||
1005cc9c AH |
202 | 2005-12-11 Aldy Hernandez <aldyh@redhat.com> |
203 | ||
204 | * lang.opt: Add RejectNegative to ffixed-form and ffree-form. | |
205 | ||
418a78fa FXC |
206 | 2005-12-10 Francois-Xavier Coudert <coudert@clipper.ens.fr> |
207 | ||
208 | PR fortran/25068 | |
209 | * io.c (resolve_tag): Add correct diagnostic for F2003 feature. | |
210 | ||
181c9f4a TK |
211 | 2005-12-10 Thomas Koenig <Thomas.Koenig@online.de> |
212 | ||
213 | PR fortran/23815 | |
214 | * io.c (top level): Add convert to io_tag. | |
215 | (resolve_tag): convert is GFC_STD_GNU. | |
216 | (match_open_element): Add convert. | |
217 | (gfc_free_open): Likewise. | |
218 | (gfc_resolve_open): Likewise. | |
219 | (gfc_free_inquire): Likewise. | |
220 | (match_inquire_element): Likewise. | |
221 | * dump-parse-tree.c (gfc_show_code_node): Add | |
222 | convet for open and inquire. | |
223 | gfortran.h: Add convert to gfc_open and gfc_inquire. | |
224 | * trans-io.c (gfc_trans_open): Add convert. | |
225 | (gfc_trans_inquire): Likewise. | |
226 | * ioparm.def: Add convert to open and inquire. | |
227 | * gfortran.texi: Document CONVERT. | |
228 | ||
1f39323f RS |
229 | 2005-12-09 Roger Sayle <roger@eyesopen.com> |
230 | ||
231 | PR fortran/22527 | |
232 | * f95-lang.c (gfc_truthvalue_conversion): Use a zero of the correct | |
233 | integer type when building an inequality. | |
234 | ||
fb2d50f5 RG |
235 | 2005-12-09 Richard Guenther <rguenther@suse.de> |
236 | ||
237 | * f95-lang.c (build_builtin_fntypes): Use correct | |
238 | return types, as indicated by comments. | |
239 | ||
58c0774f EE |
240 | 2005-12-08 Erik Edelmann <eedelman@gcc.gnu.org> |
241 | ||
242 | PR fortran/25292 | |
243 | * check.c (gfc_check_associated): Allow function results | |
244 | as actual arguments to ASSOCIATED. Moved a misplaced | |
245 | comment. | |
246 | ||
bd97af06 RÁE |
247 |