Remove bogus lines added in previous (Rev.
[gcc.git] / gcc / fortran / ChangeLog
1 2008-05-16 Tobias Burnus <burnus@net-b.de>
2
3 * intrinsic.c (add_functions): Change FLUSH(C) to FLUSH(UNIT).
4 * intrinsic.texi: Change INTEGER(*) to INTEGER; fix keyword= name for
5 ABS, ADJUSTL, AINT, ALLOCATED, ANINT, ASSOCIATED, C_ASSOCIATED,
6 CEILING, DBLE, DFLOAT, DOT_PRODUCT, DREAL, FLOAT, FLOOR, GET_COMMAND.
7
8 2008-05-16 Paul Thomas <pault@gcc.gnu.org>
9
10 PR fortran/35756
11 PR fortran/35759
12 * trans-stmt.c (gfc_trans_where): Tighten up the dependency
13 check for calling gfc_trans_where_3.
14
15 PR fortran/35743
16 * trans-stmt.c (gfc_trans_where_2): Set the mask size to zero
17 if it is calculated to be negative.
18
19 PR fortran/35745
20 * trans-stmt.c (gfc_trans_where_3, gfc_trans_where_assign): Set
21 ss->where for scalar right hand sides.
22 * trans-array.c (gfc_add_loop_ss_code): If ss->where is set do
23 not evaluate scalars outside the loop. Clean up whitespace.
24 * trans.h : Add a bitfield 'where' to gfc_ss.
25
26 2008-05-16 Tobias Burnus <burnus@net-b.de>
27
28 * libgfortran.h: Increase GFC_MAX_DIMENSIONS to 15.
29 * array.c (gfc_match_array_spec): Error with -std=f2003 if rank > 7.
30
31 2008-04-16 Daniel Kraft <d@domob.eu>
32
33 PR fortran/27997
34 * gfortran.h: Added field "length_from_typespec" to gfc_charlength.
35 * aray.c (gfc_match_array_constructor): Added code to parse typespec.
36 (check_element_type, check_constructor_type, gfc_check_constructor_type):
37 Extended to support explicit typespec on constructor.
38 (gfc_resolve_character_array_constructor): Pad strings correctly for
39 explicit, constant character length.
40 * trans-array.c: New static global variable "typespec_chararray_ctor"
41 (gfc_trans_array_constructor): New code to support explicit but dynamic
42 character lengths.
43
44 2008-05-16 Jerry DeLisle <jvdelisle@gcc.gnu.org>
45
46 PR fortran/34325
47 * decl.c (match_attr_spec): Check for matching pairs of parenthesis.
48 * expr.c (gfc_specification_expr): Supplement the error message with the
49 type that was found.
50 * resolve.c (gfc_resolve_index): Likewise.
51 * match.c (gfc_match_parens): Clarify error message with "at or before".
52 (gfc_match_do): Check for matching pairs of parenthesis.
53
54 2008-05-16 Tobias Burnus <burnus@net-b.de
55
56 * intrinsic.texi: Write Fortran 77/90/95 instead of F77/90/95;
57 add missing KIND argument to ACHAR and NINT; and state that
58 the KIND argument is a F2003 extension for ACHAR, COUNT, IACHAR,
59 ICHAR, INDEX, LBOUND, LEN, LEN_TRIM, SCAN, SIZE, UBOUND, VERIFY.
60
61 2008-05-16 Daniel Kraft <d@domob.eu>
62
63 * primary.c: New private structure "gfc_structure_ctor_component".
64 (gfc_free_structure_ctor_component): New helper function.
65 (gfc_match_structure_constructor): Extended largely to support named
66 arguments and default initialization for structure constructors.
67
68 2008-05-15 Steven G. Kargl <kargls@comcast.net>
69
70 * simplify.c (gfc_simplify_dble, gfc_simplify_float,
71 simplify_bound, gfc_simplify_nearest, gfc_simplify_real): Plug
72 possible memory leaks.
73 (gfc_simplify_reshape): Plug possible memory leaks and dereferencing
74 of NULL pointers.
75
76 2008-05-15 Steven G. Kargl <kargls@comcast.net>
77
78 PR fortran/36239
79 * simplify.c (gfc_simplify_int, gfc_simplify_intconv): Replaced hand
80 rolled integer conversion with gfc_int2int, gfc_real2int, and
81 gfc_complex2int.
82 (gfc_simplify_intconv): Renamed to simplify_intconv.
83
84 2008-05-15 Steven G. Kargl, <kargl@comcast.net>
85 * gfortran.dg/and_or_xor.f90: New test
86
87 * fortran/simplify.c (gfc_simplify_and, gfc_simplify_or,
88 gfc_simplify_xor): Don't range check logical results.
89
90 2008-05-15 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
91
92 * trans-expr.c (gfc_conv_concat_op): Take care of nondefault
93 character kinds.
94 (gfc_build_compare_string): Add kind argument and use it.
95 (gfc_conv_statement_function): Fix indentation.
96 * gfortran.h (gfc_character_info): New structure.
97 (gfc_character_kinds): New array.
98 * trans-types.c (gfc_character_kinds, gfc_character_types,
99 gfc_pcharacter_types): New array.
100 (gfc_init_kinds): Fill character kinds array.
101 (validate_character): Take care of nondefault character kinds.
102 (gfc_build_uint_type): New function.
103 (gfc_init_types): Take care of nondefault character kinds.
104 (gfc_get_char_type, gfc_get_pchar_type): New functions.
105 (gfc_get_character_type_len): Use gfc_get_char_type.
106 * trans.h (gfc_build_compare_string): Adjust prototype.
107 (gfor_fndecl_compare_string_char4, gfor_fndecl_concat_string_char4,
108 gfor_fndecl_string_len_trim_char4, gfor_fndecl_string_index_char4,
109 gfor_fndecl_string_scan_char4, gfor_fndecl_string_verify_char4,
110 gfor_fndecl_string_trim_char4, gfor_fndecl_string_minmax_char4,
111 gfor_fndecl_adjustl_char4, gfor_fndecl_adjustr_char4): New
112 prototypes.
113 * trans-types.h (gfc_get_char_type, gfc_get_pchar_type): New
114 prototypes.
115 * trans-decl.c (gfor_fndecl_compare_string_char4,
116 gfor_fndecl_string_len_trim_char4, gfor_fndecl_string_index_char4,
117 gfor_fndecl_string_scan_char4, gfor_fndecl_string_verify_char4,
118 gfor_fndecl_string_trim_char4, gfor_fndecl_string_minmax_char4,
119 gfor_fndecl_adjustl_char4, gfor_fndecl_adjustr_char4,
120 gfor_fndecl_concat_string_char4): New function decls.
121 (gfc_build_intrinsic_function_decls): Define new *_char4 function
122 decls.
123 * trans-intrinsic.c (gfc_conv_intrinsic_minmax_char,
124 gfc_conv_intrinsic_len_trim, gfc_conv_intrinsic_ichar,
125 gfc_conv_intrinsic_strcmp, gfc_conv_intrinsic_trim,
126 gfc_conv_intrinsic_function): Deal with nondefault character kinds.
127
128 2008-05-15 Sa Liu <saliu@de.ibm.com>
129
130 * iso-c-binding.def: Add standard parameter to macro NAMED_INTCST.
131 All existing NAMED_INTCST definitions has standard GFC_STD_F2003,
132 c_int128_t, c_int_least128_t and c_int_fast128_t are added as
133 GNU extensions.
134 * iso-fortran-evn.def: Add standard parameter GFC_STD_F2003
135 to macro NAMED_INTCST.
136 * symbol.c (std_for_isocbinding_symbol): New helper function to
137 return the standard that supports this isocbinding symbol.
138 (generate_isocbinding_symbol): Do not generate GNU extension symbols
139 if std=f2003. Add new parameter to NAMED_INTCST.
140 * module.c (use_iso_fortran_env_module): Add new parameter to
141 NAMED_INTCST and new field standard to struct intmod_sym.
142 * gfortran.h: Add new parameter to NAMED_INTCST.
143 * trans-types.c (init_c_interop_kinds): Add new parameter to
144 NAMED_INTCST.
145 * intrinsic.texi: Documented new types C_INT128_T, C_INT_LEASE128_T
146 and C_INT_FAST128_T.
147
148 2008-05-14 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
149
150 PR fortran/36059
151 * trans-decl.c (gfc_build_dummy_array_decl): Don't repack
152 arrays that have the TARGET attribute.
153
154 2008-05-14 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
155
156 PR fortran/36186
157 * simplify.c (only_convert_cmplx_boz): New function.
158 (gfc_simplify_cmplx, gfc_simplify_complex, gfc_simplify_dcmplx):
159 Call only_convert_cmplx_boz.
160
161 2008-05-14 Paul Thomas <pault@gcc.gnu.org>
162
163 PR fortran/36233
164 * interface.c (compare_actual_formal): Do not check sizes if the
165 actual is BT_PROCEDURE.
166
167 2008-05-14 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
168
169 PR fortran/35682
170 * trans-array.c (gfc_conv_ss_startstride): Any negative size is
171 the same as zero size.
172 (gfc_conv_loop_setup): Fix size calculation.
173
174 2008-05-14 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
175
176 PR fortran/35685
177 * trans-intrinsic.c (gfc_conv_intrinsic_bound): Correctly
178 handle zero-size sections.
179
180 2008-05-14 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
181
182 PR fortran/36215
183 * scanner.c (preprocessor_line): Allocate enough memory for a
184 wide string.
185
186 2008-05-12 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
187
188 PR fortran/36176
189 * target-memory.c (gfc_target_expr_size): Correctly treat
190 substrings.
191 (gfc_target_encode_expr): Likewise.
192 (gfc_interpret_complex): Whitespace change.
193
194 2008-05-11 Thomas Koenig <tkoenig@gcc.gnu.org>
195
196 PR fortran/35719
197 * trans.c (gfc_call_malloc): If size equals zero, allocate one
198 byte; don't return a null pointer.
199
200 2008-05-10 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
201
202 PR fortran/36197
203 * module.c (quote_string): Fix sprintf format.
204
205 2008-05-09 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
206
207 PR fortran/36162
208 * module.c (quote_string, unquote_string,
209 mio_allocated_wide_string): New functions.
210 (mio_expr): Call mio_allocated_wide_string where needed.
211
212 2008-05-07 Kenneth Zadeck <zadeck@naturalbridge.com>
213
214 * trans-decl.c (gfc_get_extern_function_decl, build_function_decl):
215 Rename DECL_IS_PURE to DECL_PURE_P.
216
217 2008-05-06 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
218
219 * arith.c: (gfc_arith_concat, gfc_compare_string,
220 gfc_compare_with_Cstring, hollerith2representation,
221 gfc_hollerith2int, gfc_hollerith2real, gfc_hollerith2complex,
222 gfc_hollerith2character, gfc_hollerith2logical): Use wide
223 characters for character constants.
224 * data.c (create_character_intializer): Likewise.
225 * decl.c (gfc_set_constant_character_len): Likewise.
226 * dump-parse-tree.c (show_char_const): Correctly dump wide
227 character strings.
228 error.c (print_wide_char): Rename into gfc_print_wide_char.
229 (show_locus): Adapt to new prototype of gfc_print_wide_char.
230 expr.c (free_expr0): Representation is now disjunct from
231 character string value, so we always free it.
232 (gfc_copy_expr, find_substring_ref, gfc_simplify_expr): Adapt
233 to wide character strings.
234 * gfortran.h (gfc_expr): Make value.character.string a wide string.
235 (gfc_wide_toupper, gfc_wide_strncasecmp, gfc_wide_memset,
236 gfc_widechar_to_char, gfc_char_to_widechar): New prototypes.
237 (gfc_get_wide_string): New macro.
238 (gfc_print_wide_char): New prototype.
239 * io.c (format_string): Make a wide string.
240 (next_char, gfc_match_format, compare_to_allowed_values,
241 gfc_match_open): Deal with wide strings.
242 * module.c (mio_expr): Convert between wide strings and ASCII ones.
243 * primary.c (match_hollerith_constant, match_charkind_name):
244 Handle wide strings.
245 * resolve.c (build_default_init_expr): Likewise.
246 * scanner.c (gfc_wide_toupper, gfc_wide_memset,
247 gfc_char_to_widechar): New functions.
248 (wide_strchr, gfc_widechar_to_char, gfc_wide_strncasecmp):
249 Changes in prototypes.
250 (gfc_define_undef_line, load_line, preprocessor_line,
251 include_line, load_file, gfc_read_orig_filename): Handle wide
252 strings.
253 * simplify.c (gfc_simplify_achar, gfc_simplify_adjustl,
254 gfc_simplify_adjustr, gfc_simplify_char, gfc_simplify_iachar,
255 gfc_simplify_ichar, simplify_min_max, gfc_simplify_new_line,
256 gfc_simplify_repeat): Handle wide strings.
257 (wide_strspn, wide_strcspn): New helper functions.
258 (gfc_simplify_scan, gfc_simplify_trim, gfc_simplify_verify):
259 Handle wide strings.
260 * symbol.c (generate_isocbinding_symbol): Likewise.
261 * target-memory.c (size_character, gfc_target_expr_size,
262 encode_character, gfc_target_encode_expr, gfc_interpret_character,
263 gfc_target_interpret_expr): Handle wide strings.
264 * trans-const.c (gfc_conv_string_init): Lower wide strings to
265 narrow ones.
266 (gfc_conv_constant_to_tree): Likewise.
267 * trans-expr.c (gfc_conv_substring_expr): Handle wide strings.
268 * trans-io.c (gfc_new_nml_name_expr): Likewise.
269 * trans-stmt.c (gfc_trans_label_assign): Likewise.
270
271 2008-05-06 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
272
273 * simplify.c (gfc_simplify_bessel_j0,gfc_simplify_bessel_j1,
274 gfc_simplify_bessel_jn,gfc_simplify_bessel_y0,
275 gfc_simplify_bessel_y1,gfc_simplify_bessel_yn): Mark arguments
276 with ATTRIBUTE_UNUSED.
277
278 2008-05-06 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
279
280 * check.c (gfc_check_sizeof): Switch to ATTRIBUTE_UNUSED.
281 * simplify.c (gfc_simplify_lgamma): Likewise.
282
283 2008-05-06 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
284
285 * openmp.c (gfc_match_omp_eos): Use gfc_next_ascii_char and
286 gfc_peek_ascii_char.
287 * decl.c (gfc_match_kind_spec, gfc_match_type_spec,
288 gfc_match_implicit_none, match_implicit_range, gfc_match_implicit,
289 match_string_p, match_attr_spec, gfc_match_suffix,
290 match_procedure_decl, gfc_match_entry, gfc_match_subroutine):
291 Likewise.
292 * gfortran.h (gfc_char_t): New type.
293 (gfc_linebuf): Make line member a gfc_char_t.
294 (locus): Make nextc member a gfc_char_t.
295 (gfc_wide_is_printable, gfc_wide_is_digit, gfc_wide_fits_in_byte,
296 gfc_wide_tolower, gfc_wide_strlen, gfc_next_ascii_char,
297 gfc_peek_ascii_char, gfc_check_digit): New prototypes.
298 * error.c (print_wide_char): New function.
299 (show_locus): Use print_wide_char and gfc_wide_strlen.
300 * io.c (next_char): Use gfc_char_t type.
301 (match_io): Use gfc_peek_ascii_char and gfc_next_ascii_char.
302 * match.c (gfc_match_parens, gfc_match_eos,
303 gfc_match_small_literal_int, gfc_match_name, gfc_match_name_C,
304 gfc_match_intrinsic_op, gfc_match_char, gfc_match_return,
305 gfc_match_common): Likewise.
306 * match.h (gfc_match_special_char): Change prototype.
307 * parse.c (decode_specification_statement, decode_statement,
308 decode_omp_directive, next_free, next_fixed): Use
309 gfc_peek_ascii_char and gfc_next_ascii_char.
310 * primary.c (gfc_check_digit): Change name.
311 (match_digits, match_hollerith_constant, match_boz_constant,
312 match_real_constant, next_string_char, match_charkind_name,
313 match_string_constant, match_logical_constant_string,
314 match_complex_constant, match_actual_arg, match_varspec,
315 gfc_match_rvalue, match_variable): Use gfc_peek_ascii_char and
316 gfc_next_ascii_char.
317 * scanner.c (gfc_wide_fits_in_byte, wide_is_ascii,
318 gfc_wide_is_printable, gfc_wide_tolower, gfc_wide_is_digit,
319 gfc_wide_is_digit, wide_atoi, gfc_wide_strlen, wide_strcpy,
320 wide_strchr, widechar_to_char, wide_strncmp, wide_strncasecmp,
321 gfc_next_ascii_char, gfc_peek_ascii_char):
322 New functions.
323 (next_char, gfc_define_undef_line, skip_free_comments,
324 gfc_next_char_literal, gfc_next_char, gfc_peek_char,
325 gfc_error_recovery, load_line, preprocessor_line, include_line,
326 load_file, gfc_read_orig_filename): Use gfc_char_t for source
327 characters and the {gfc_,}wide_* functions to manipulate wide
328 strings.
329
330 2008-05-06 Tobias Burnus <burnus@net-b.de>
331
332 PR fortran/36117
333 * intrinsic.c (add_functions): Call gfc_simplify_bessel_*.
334 * intrinsic.h: Add prototypes for gfc_simplify_bessel_*.
335 * simplify.c (gfc_simplify_bessel_j0,gfc_simplify_bessel_j1,
336 gfc_simplify_bessel_jn,gfc_simplify_bessel_y0,
337 gfc_simplify_bessel_y1,gfc_simplify_bessel_yn): New.
338
339 2008-05-03 Janus Weil <jaydub66@gmail.com>
340
341 * misc.c (gfc_clear_ts): Set interface to NULL.
342
343 2008-05-03 Jerry DeLisle <jvdelisle@gcc.gnu.org>
344
345 PR fortran/33268
346 * gfortran.h: Add extra_comma pointer to gfc_dt structure. Add iokind to
347 gfc_expr value union. Add io_kind enum to here from io.c.
348 * io.c (gfc_free_dt): Free extra_comma.
349 (gfc_resolve_dt): If an extra comma was encountered and io_unit is type
350 BT_CHARACTER, resolve to format_expr and set default unit. Error if
351 io_kind is M_WRITE. (match_io): Match the extra comma and set new
352 pointer, extra_comma.
353
354 2008-05-01 Bud Davis <bdavis9659@sbcglobal.net>
355
356 PR35940/Fortran
357 * simplify.c (gfc_simplify_index): Check for direction argument
358 being a constant.
359
360 2008-05-01 Janus Weil <jaydub66@gmail.com>
361
362 * gfortran.h (struct gfc_symbol): Moving "interface" member to
363 gfc_typespec (plus fixing a small docu error).
364 * interface.c (gfc_procedure_use): Ditto.
365 * decl.c (match_procedure_decl): Ditto.
366 * resolve.c (resolve_specific_f0,
367 resolve_specific_f0, resolve_symbol): Ditto.
368
369 2008-04-30 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
370
371 * intrinsic.c (add_functions): Add SELECTED_CHAR_KIND intrinsic.
372 * intrinsic.h (gfc_check_selected_char_kind,
373 gfc_simplify_selected_char_kind): New prototypes.
374 * gfortran.h (gfc_isym_id): Add GFC_ISYM_SC_KIND.
375 * trans.h (gfor_fndecl_sc_kind): New function decl.
376 * trans-decl.c (gfor_fndecl_sc_kind): Build new decl.
377 * arith.c (gfc_compare_with_Cstring): New function.
378 * arith.h (gfc_compare_with_Cstring): New prototype.
379 * check.c (gfc_check_selected_char_kind): New function.
380 * primary.c (match_string_constant, match_kind_param): Mark
381 symbols used as literal constant kind param as referenced.
382 * trans-intrinsic.c (gfc_conv_intrinsic_sc_kind): New function.
383 (gfc_conv_intrinsic_function): Call gfc_conv_intrinsic_sc_kind.
384 * intrinsic.texi (SELECTED_CHAR_KIND): Document new intrinsic.
385 * simplify.c (gfc_simplify_selected_char_kind): New function.
386
387 2008-04-28 Paul Thomas <pault@gcc.gnu.org>
388
389 PR fortran/35997
390 * module.c (find_symbol): Do not return a result for a symbol
391 that has been renamed in another module.
392
393 2008-04-26 George Helffrich <george@gcc.gnu.org>
394
395 PR fortran/35892
396 PR fortran/35154
397 * trans-common.c (create_common): Add decl to function
398 chain (if inside one) to preserve identifier scope in debug output.
399
400 2008-04-25 Jan Hubicka <jh@suse.cz>
401
402 * trans-decl.c (trans_function_start): Update.
403
404 2008-04-25 Tobias Burnus <burnus@net-b.de>
405 Daniel Franke <franke.daniel@gmail.com>
406
407 PR fortran/35156
408 * gfortranspec.c (lang_specific_driver): Deprecate
409 -M option; fix ICE when "-M" is last argument and
410 make "-M<dir>" work.
411 * options.c (gfc_handle_module_path_options):
412 Use -J instead of -M in error messages.
413 * invoke.texi: Mark -M as depecated.
414
415 2008-04-23 Jerry DeLisle <jvdelisle@gcc.gnu.org>
416 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
417
418 PR fortran/35994
419 * trans-instrinsic.c (gfc_conv_intrinsic_minmaxloc): Correctly adjust
420 loop counter offset.
421
422 2008-04-23 Paolo Bonzini <bonzini@gnu.org>
423
424 * trans-expr.c (gfc_conv_structure): Don't set TREE_INVARIANT.
425 * trans-array.c (gfc_build_null_descriptor): Don't set TREE_INVARIANT.
426 (gfc_trans_array_constructor_value): Don't set TREE_INVARIANT.
427 (gfc_build_constant_array_constructor): Don't set TREE_INVARIANT.
428 (gfc_conv_array_initializer): Don't set TREE_INVARIANT.
429 * trans-common.c (get_init_field): Don't set TREE_INVARIANT.
430 (create_common): Don't set TREE_INVARIANT.
431 * trans-stmt.c (gfc_trans_character_select): Don't set TREE_INVARIANT.
432 * trans-decl.c (gfc_generate_function_code): Don't set TREE_INVARIANT.
433
434 2008-04-21 Steve Ellcey <sje@cup.hp.com>
435
436 * f95-lang.c (gfc_init_decl_processing): use ptr_mode instead of Pmode.
437
438 2008-04-21 Daniel Franke <franke.daniel@gmail.com>
439
440 PR fortran/35019
441 * gfortranspec.c (lookup_option): Properly handle separated arguments
442 in -J option, print missing argument message when necessary.
443
444 2008-04-20 Jerry DeLisle <jvdelisle@gcc.gnu.org>
445
446 PR fortran/35882
447 * scanner.c (skip_fixed_comments): Update continue_line when comment is
448 detected. (gfc_next_char_literal): Likewise.
449
450 2008-04-19 Paul Thomas <pault@gcc.gnu.org>
451
452 PR fortran/35944
453 PR fortran/35946
454 PR fortran/35947
455 * trans_array.c (gfc_trans_array_constructor): Temporarily
456 realign loop, if loop->from is not zero, before creating
457 the temporary array and provide an offset.
458
459 PR fortran/35959
460 * trans-decl.c (gfc_init_default_dt): Add gfc_ prefix to name
461 and allow for NULL body. Change all references from
462 init_default_dt to gfc_init_default_dt.
463 * trans.h : Add prototype for gfc_init_default_dt.
464 * trans-array.c (gfc_trans_deferred_vars): After nullification
465 call gfc_init_default_dt for derived types with allocatable
466 components.
467
468 2008-04-18 Jerry DeLisle <jvdelisle@gcc.gnu.org>
469
470 PR fortran/35892
471 * trans-common.c (create_common): Revert patch causing regression.
472
473 2008-04-16 Jerry DeLisle <jvdelisle@gcc.gnu.org>
474
475 PR fortran/35724
476 * iresolve.c (gfc_resolve_eoshift): Check for NULL symtree in test for
477 optional argument attribute.
478
479 2008-04-16 Paul Thomas <pault@gcc.gnu.org>
480
481 PR fortran/35932
482 * trans-intrinsic.c (gfc_conv_intrinsic_char): Even though KIND
483 is not used, the argument must be converted.
484
485 2008-04-16 Jakub Jelinek <jakub@redhat.com>
486
487 PR target/35662
488 * f95-lang.c (gfc_init_builtin_functions): Make sure
489 BUILT_IN_SINCOS{,F,L} types aren't varargs.
490
491 2008-04-15 Paul Thomas <pault@gcc.gnu.org>
492
493 PR fortran/35864
494 * expr.c (scalarize_intrinsic_call): Reorder identification of
495 array argument so that if one is not found a segfault does not
496 occur. Return FAILURE if all scalar arguments.
497
498 2008-04-13 Jerry DeLisle <jvdelisle@gcc.gnu.org>
499 Tobias Burnus <burnus@net-b.de>
500
501 PR fortran/35882
502 * options.c (gfc_init_options): Set the default maximum continuation
503 lines to 255 for both free and fixed form source for warnings.
504 (gfc_handle_option): Set -std=f95 fixed form max continuations to 19 and
505 the -std=f95 free form max continuations to 39 for warnings.
506 * scanner.c (gfc_next_char_literal): Adjust the current_line number only
507 if it is less than the current locus.
508
509 2008-04-07 Jerry DeLisle <jvdelisle@gcc.gnu.org>
510
511 PR fortran/25829 28655
512 * io.c (io_tag): Add new tags for decimal, encoding, asynchronous,
513 round, sign, and id. (match_open_element): Match new tags.
514 (gfc_resolve_open): Resolve new tags. (gfc_match_open): Enable encoding
515 for DEFAULT only. Update error messages. (match_dt_element): Fix match
516 tag for asynchronous. Update error messages. (gfc_free_inquire): Free
517 new expressions. (match_inquire_element): Match new tags.
518 (gfc_match_inquire): Add constraint for ID and PENDING.
519 (gfc_resolve_inquire): Resolve new tags.
520 * trans-io.c (gfc_trans_inquire): Clean up whitespace and fix setting of
521 mask for ID parameter.
522 * ioparm.def: Fix order of parameters for pending, round, and sign.
523 NOTE: These must line up with the definitions in libgfortran/io/io.h. or
524 things don't work.
525
526 2008-04-06 Paul Thomas <pault@gcc.gnu.org>
527
528 PR fortran/35780
529 * expr.c (scalarize_intrinsic_call): Identify which argument is
530 an array and use that as the template.
531 (check_init_expr): Remove tests that first argument is an array
532 in the call to scalarize_intrinsic_call.
533
534 2008-04-06 Tobias Schlüter <tobi@gcc.gnu.org>
535
536 PR fortran/35832
537 * io.c (io_tag): Add field 'value'. Split 'spec' field in
538 existing io_tags.
539 (match_etag, match_vtag, match_ltag): Split parsing in two steps
540 to give better error messages.
541
542 2008-04-06 Tobias Burnus <burnus@net-b.de>
543
544 * io.c (check_io_constraints): Add constrains. ID= requires
545 asynchronous= and asynchronous= must be init expression.
546
547 2008-04-06 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
548
549 * f95-lang.c: Set LANG_HOOKS_NAME to "GNU Fortran".
550
551 2008-04-06 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
552
553 * dump-parse-tree.c: Use fprintf, fputs and fputc instead of
554 gfc_status and gfc_status_char. Remove gfc_ prefix of the gfc_show_*
555 functions and make them static. Add new gfc_dump_parse_tree
556 function.
557 * gfortran.h (gfc_option_t): Rename verbose into dump_parse_tree.
558 (gfc_status, gfc_status_char): Delete prototypes.
559 * error.c (gfc_status, gfc_status_char): Remove functions.
560 * scanner.c (gfc_new_file): Use printf instead of gfc_status.
561 * options.c (gfc_init_options): Rename verbose into dump_parse_tree.
562 (gfc_handle_module_path_options): Use gfc_fatal_error instead of
563 gfc_status and exit.
564 (gfc_handle_option): Rename verbose into dump_parse_tree.
565 * parse.c (gfc_parse_file): Use gfc_dump_parse_tree.
566
567 2008-04-05 Jerry DeLisle <jvdelisle@gcc.gnu.org>
568 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
569
570 PR fortran/25829 28655
571 * dump-parse-tree.c (gfc_show_code_node): Show new I/O parameters.
572 * gfortran.h (gfc_statement): Add ST_WAIT enumerator.
573 (gfc_open): Add pointers for decimal, encoding, round, sign,
574 asynchronous. (gfc_inquire): Add pointers for asynchronous, decimal,
575 encoding, pending, round, sign, size, id.
576 (gfc_wait): New typedef struct. (gfc_dt): Add pointers for id, pos,
577 asynchronous, blank, decimal, delim, pad, round, sign.
578 (gfc_exec_op): Add EXEC_WAIT enumerator. (gfc_code): Add pointer for
579 wait. (gfc_free_wait), (gfc_resolve_wait): New function prototypes.
580 * trans-stmt.h (gfc_trans_wait): New function prototype.
581 * trans.c (gfc_trans_code): Add case for EXEC_WAIT.
582 * io.c (io_tag): Add new tags for DECIMAL, ENCODING, ROUND, SIGN,
583 ASYCHRONOUS, ID. (match_open_element): Add matchers for new tags.
584 (gfc_free_open): Free new pointers. (gfc_resolve_open): Resolve new
585 tags. (gfc_resolve_open): Remove comment around check for allowed
586 values and ASYNCHRONOUS, update it. Likewise for DECIMAL, ENCODING,
587 ROUND, and SIGN. (match_dt_element): Add matching for new tags.
588 (gfc_free_wait): New function. (gfc_resolve_wait): New function.
589 (match_wait_element): New function. (gfc_match_wait): New function.
590 * resolve.c (gfc_resolve_blocks): Add case for EXEC_WAIT.
591 (resolve_code): Add case for EXEC_WAIT.
592 * st.c (gfc_free_statement): Add case for EXEC_WAIT.
593 * trans-io.c (ioparam_type): Add IOPARM_ptype_wait. (gfc_st_parameter):
594 Add "wait" entry. (iocall): Add IOCALL_WAIT enumerator.
595 (gfc_build_io_library_fndecls): Add function declaration for st_wait.
596 (gfc_trans_open): Add mask bits for new I/O tags.
597 (gfc_trans_inquire): Add mask bits for new I/O tags.
598 (gfc_trans_wait): New translation function.
599 (build_dt): Add mask bits for new I/O tags.
600 * match.c (gfc_match_if) Add matcher for "wait".
601 * match.h (gfc_match_wait): Prototype for new function.
602 * ioparm.def: Add new I/O parameter definitions.
603 * parse.c (decode_statement): Add match for "wait" statement.
604 (next_statement): Add case for ST_WAIT. (gfc_ascii_statement): Same.
605
606 2008-04-03 Jakub Jelinek <jakub@redhat.com>
607
608 PR fortran/35786
609 * openmp.c (resolve_omp_clauses): Diagnose if a clause symbol
610 isn't a variable.
611
612 2008-04-03 Tom Tromey <tromey@redhat.com>
613
614 * Make-lang.in (fortran_OBJS): New variable.
615
616 2008-04-03 Paolo Bonzini <bonzini@gnu.org>
617
618 * f95-lang.c (insert_block): Kill.
619
620 2008-04-01 George Helffrich <george@gcc.gnu.org>
621
622 PR fortran/35154, fortran/23057
623 * trans-common.c (create_common): Add decl to function
624 chain to preserve identifier scope in debug output.
625
626 2008-04-01 Joseph Myers <joseph@codesourcery.com>
627
628 * gfortran.texi: Include gpl_v3.texi instead of gpl.texi
629 * Make-lang.in (GFORTRAN_TEXI): Include gpl_v3.texi instead of
630 gpl.texi.
631
632 2008-03-30 Paul Thomas <pault@gcc.gnu.org>
633
634 PR fortran/35740
635 * resolve.c (resolve_function, resolve_call): If the procedure
636 is elemental do not look for noncopying intrinsics.
637
638 2008-03-29 Paul Thomas <pault@gcc.gnu.org>
639
640 PR fortran/35698
641 * trans-array.c (gfc_array_init_size): Set 'size' zero if
642 negative in one dimension.
643
644 PR fortran/35702
645 * trans-expr.c (gfc_trans_string_copy): Only assign a char
646 directly if the lhs and rhs types are the same.
647
648 2008-03-28 Daniel Franke <franke.daniel@gmail.com>
649 Paul Richard Thomas <paul.richard.thomas@gmail.com>
650
651 PR fortran/34714
652 * primary.c (match_variable): Improved matching of function
653 result variables.
654 * resolve.c (resolve_allocate_deallocate): Removed checks if
655 the actual argument for STAT is a variable.
656
657 2008-03-28 Tobias Burnus <burnus@net-b.de>
658
659 * symbol.c (gfc_get_default_type): Fix error message; option
660 -fallow_leading_underscore should be -fallow-leading-underscore
661
662 2008-03-27 Jerry DeLisle <jvdelisle@gcc.gnu.org>
663
664 PR fortran/35724
665 * iresolve.c (gfc_resolve_cshift): Check for NULL symtree in test for
666 optional argument attribute.
667
668 2008-03-27 Tom Tromey <tromey@redhat.com>
669
670 * Make-lang.in: Revert automatic dependency patch.
671
672 2008-03-25 Tom Tromey <tromey@redhat.com>
673
674 * Make-lang.in: Remove .o targets.
675 (fortran_OBJS): New variable.
676 (fortran/gfortranspec.o): Move to fortran/. Reduce to variable
677 setting.
678 (GFORTRAN_D_OBJS): Update.
679 (GFORTRAN_TRANS_DEPS): Remove.
680
681 2008-03-24 Paul Thomas <pault@gcc.gnu.org>
682
683 PR fortran/34813
684 * resolve.c (resolve_structure_cons): It is an error to assign
685 NULL to anything other than a pointer or allocatable component.
686
687 PR fortran/33295
688 * resolve.c (resolve_symbol): If the symbol is a derived type,
689 resolve the derived type. If the symbol is a derived type
690 function, ensure that the derived type is visible in the same
691 namespace as the function.
692
693 2008-03-23 Tobias Schlüter <tobi@gcc.gnu.org>
694
695 * trans.h: Use fold_build in build1_v, build2_v and build3_v
696 macros.
697 * trans-openmp.c (gfc_trans_omp_critical, gfc_trans_omp_single):
698 Don't use build2_v macro.
699
700 2008-03-19 Daniel Franke <franke.daniel@gmail.com>
701
702 PR fortran/35152
703 * interface.c (gfc_procedure_use): Check for keyworded arguments in
704 procedures without explicit interfaces.
705
706 2008-03-16 Paul Thomas <pault@gcc.gnu.org>
707
708 PR fortran/35470
709 * resolve.c (check_assumed_size_reference): Only visit the
710 first reference and look directly at the highest dimension.
711
712 2008-03-15 Jerry DeLisle <jvdelisle@gcc.gnu.org>
713
714 PR fortran/35184
715 * trans-array.c (gfc_conv_array_index_offset): Remove unnecessary
716 assert.
717
718 2008-03-15 Daniel Franke <franke.daniel@gmail.com>
719
720 PR fortran/35584
721 * resolve.c (resolve_branch): Less strict and pessimistic warning
722 message.
723
724 2008-03-11 Paolo Bonzini <bonzini@gnu.org>
725
726 * f95-lang.c (LANG_HOOKS_CLEAR_BINDING_STACK): Delete.
727 (gfc_be_parse_file): Call clear_binding_stack from here.
728 (gfc_clear_binding_stack): Rename to clear_binding_stack.
729
730 2008-03-09 Paul Thomas <pault@gcc.gnu.org>
731
732 PR fortran/35474
733 * module.c (mio_symtree_ref): After providing a symbol for a
734 missing equivalence member, resolve and NULL the fixups.
735
736 2008-03-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
737
738 * invoke.texi (Error and Warning Options): Document
739 -Wline-truncation.
740
741 2008-03-08 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
742
743 PR fortran/34956
744 * trans-array.c (gfc_conv_ss_startstride): Fix the logic to avoid
745 checking bounds of absent optional arguments.
746
747 2008-03-06 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
748
749 PR fortran/33197
750 * intrinsic.c (add_functions): Add simplification routines for
751 ERF, DERF, ERFC and DERFC.
752 * decl.c (gfc_match_suffix, gfc_match_subroutine): Change GNU
753 extensions into Fortran 2008 features.
754 * intrinsic.h (gfc_simplify_erf, gfc_simplify_erfc): New
755 prototypes.
756 * simplify.c (gfc_simplify_erf, gfc_simplify_erfc): New functions.
757
758 2008-03-03 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
759
760 PR fortran/33197
761 * intrinsic.c (add_functions): Modify intrinsics ACOSH, ASINH,
762 ATANH, ERF, ERFC and GAMMA. Add intrinsics BESSEL_{J,Y}{0,1,N},
763 ERFC_SCALED, LOG_GAMMA and HYPOT.
764 * intrinsic.h (gfc_check_hypot, gfc_simplify_hypot,
765 gfc_resolve_hypot): New prototypes.
766 * mathbuiltins.def: Add HYPOT builtin. Make complex versions of
767 ACOSH, ASINH and ATANH available.
768 * gfortran.h (GFC_ISYM_ERFC_SCALED, GFC_ISYM_HYPOT): New values.
769 * lang.opt: Add -std=f2008 option.
770 * libgfortran.h: Define GFC_STD_F2008.
771 * lang-specs.h: Add .f08 and .F08 file suffixes.
772 * iresolve.c (gfc_resolve_hypot): New function.
773 * parse.c (parse_contained): Allow empty CONTAINS for Fortran 2008.
774 * check.c (gfc_check_hypot): New function.
775 * trans-intrinsic.c (gfc_intrinsic_map): Define ERFC_SCALE builtin.
776 * options.c (set_default_std_flags): Allow Fortran 2008 by default.
777 (form_from_filename): Add .f08 suffix.
778 (gfc_handle_option): Handle -std=f2008 option.
779 * simplify.c (gfc_simplify_hypot): New function.
780 * gfortran.texi: Document Fortran 2008 status and file extensions.
781 * intrinsic.texi: Document new BESSEL_{J,Y}{0,1,N} intrinsics,
782 as well as HYPOT and ERFC_SCALED. Update documentation of ERF,
783 ERFC, GAMMA, LGAMMA, ASINH, ACOSH and ATANH.
784 * invoke.texi: Document the new -std=f2008 option.
785
786 2008-03-02 Jakub Jelinek <jakub@redhat.com>
787
788 * gfortranspec.c (lang_specific_driver): Update copyright notice
789 dates.
790
791 2008-02-29 Jerry DeLisle <jvdelisle@gcc.gnu.org>
792
793 PR fortran/35059
794 * expr.c (find_array_element): Modify traversing the constructor to
795 avoid trying to access NULL memory pointed to by next for the
796 last element. (find_array_section): Exit while loop if cons->next is
797 NULL.
798 * trans-expr.c (gfc_conv_scalar_char_value): Initialize gfc_typespec.
799 (gfc_conv_function_call): Same.
800 * decl.c (gfc_match_implicit): Same.
801 * trans-intrinsic.c (gfc_conv_intrinsic_sr_kind): Same.
802
803 2008-02-28 Daniel Franke <franke.daniel@gmail.com>
804
805 PR fortran/31463
806 PR fortran/33950
807 PR fortran/34296
808 * lang.opt: Added -Wreturn-type.
809 * options.c (gfc_handle_option): Recognize -Wreturn-type.
810 * trans-decl.c (gfc_trans_deferred_vars): Emit warnings for funtions
811 where the result value is not set.
812 (gfc_generate_function_code): Likewise.
813 (generate_local_decl): Emit warnings for funtions whose RESULT
814 variable is not set.
815
816 2008-02-28 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
817
818 PR fortran/34868
819 * trans-expr.c (gfc_conv_variable): Don't build indirect
820 references when explicit interface is mandated.
821 * resolve.c (resolve_formal_arglist): Set attr.always_explicit
822 on the result symbol as well as the procedure symbol.
823
824 2008-02-27 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
825
826 PR fortran/33387
827 * trans.h: Remove prototypes for gfor_fndecl_math_exponent4,
828 gfor_fndecl_math_exponent8, gfor_fndecl_math_exponent10 and
829 gfor_fndecl_math_exponent16.
830 * f95-lang.c (build_builtin_fntypes): Add new function types.
831 (gfc_init_builtin_functions): Add new builtins for nextafter,
832 frexp, ldexp, fabs, scalbn and inf.
833 * iresolve.c (gfc_resolve_rrspacing): Don't add hidden arguments.
834 (gfc_resolve_scale): Don't convert type of second argument.
835 (gfc_resolve_set_exponent): Likewise.
836 (gfc_resolve_size): Don't add hidden arguments.
837 * trans-decl.c: Remove gfor_fndecl_math_exponent4,
838 gfor_fndecl_math_exponent8, gfor_fndecl_math_exponent10 and
839 gfor_fndecl_math_exponent16.
840 * trans-intrinsic.c (gfc_intrinsic_map): Remove intrinsics
841 for scalbn, fraction, nearest, rrspacing, set_exponent and
842 spacing.
843 (gfc_conv_intrinsic_exponent): Directly call frexp.
844 (gfc_conv_intrinsic_fraction, gfc_conv_intrinsic_nearest,
845 gfc_conv_intrinsic_spacing, gfc_conv_intrinsic_rrspacing,
846 gfc_conv_intrinsic_scale, gfc_conv_intrinsic_set_exponent): New
847 functions.
848 (gfc_conv_intrinsic_function): Use the new functions above.
849
850 2008-02-26 Tobias Burnus <burnus@net-b.de>
851
852 PR fortran/35033
853 * interface.c (check_operator_interface): Show better line for error
854 messages; fix constrains for user-defined assignment operators.
855 (gfc_extend_assign): Fix constrains for user-defined assignment
856 operators.
857
858 2008-02-26 Tom Tromey <tromey@redhat.com>
859
860 * trans-io.c (set_error_locus): Remove old location code.
861 * trans-decl.c (gfc_set_decl_location): Remove old location code.
862 * f95-lang.c (gfc_init): Remove test of USE_MAPPED_LOCATION.
863 * scanner.c (gfc_gobble_whitespace): Remove old location code.
864 (get_file): Likewise.
865 (preprocessor_line): Likewise.
866 (load_file): Likewise.
867 (gfc_new_file): Likewise.
868 * trans.c (gfc_trans_runtime_check): Remove old location code.
869 (gfc_get_backend_locus): Likewise.
870 (gfc_set_backend_locus): Likewise.
871 * data.c (gfc_assign_data_value): Remove old location code.
872 * error.c (show_locus): Remove old location code.
873 * gfortran.h (gfc_linebuf): Remove old location code.
874 (gfc_linebuf_linenum): Remove old-location variant.
875
876 2008-02-25 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
877
878 PR fortran/34729
879 * trans-const.c (gfc_build_string_const): Don't call gettext.
880 (gfc_build_localized_string_const): New function.
881 * trans-const.h (gfc_build_localized_string_const): New prototype.
882 * trans.c (gfc_trans_runtime_check): Use
883 gfc_build_localized_string_const instead of gfc_build_string_const.
884 (gfc_call_malloc): Likewise.
885 (gfc_allocate_with_status): Likewise.
886 (gfc_allocate_array_with_status): Likewise.
887 (gfc_deallocate_with_status): Likewise.
888 (gfc_call_realloc): Likewise.
889 * trans-io.c (gfc_trans_io_runtime_check): Likewise.
890
891 2008-02-24 Tobias Schlüter <tobi@gcc.gnu.org>
892
893 * arith.c: Update copyright years.
894 * arith.h: Likewise.
895 * array.c: Likewise.
896 * bbt.c: Likewise.
897 * check.c: Likewise.
898 * data.c: Likewise.
899 * data.h: Likewise.
900 * decl.c: Likewise.
901 * dependency.c: Likewise.
902 * dependency.h: Likewise.
903 * dump-parse-tree.c: Likewise.
904 * error.c: Likewise.
905 * expr.c: Likewise.
906 * gfc-internals.texi: Likewise.
907 * gfortran.h: Likewise.
908 * gfortran.texi: Likewise.
909 * gfortranspec.c: Likewise.
910 * interface.c: Likewise.
911 * intrinsic.c: Likewise.
912 * intrinsic.h: Likewise.
913 * intrinsic.texi: Likewise.
914 * invoke.texi: Likewise.
915 * io.c: Likewise.
916 * iresolve.c: Likewise.
917 * iso-c-binding.def: Likewise.
918 * iso-fortran-env.def: Likewise.
919 * lang-specs.h: Likewise.
920 * lang.opt: Likewise.
921 * libgfortran.h: Likewise.
922 * match.c: Likewise.
923 * match.h: Likewise.
924 * matchexp.c: Likewise.
925 * misc.c: Likewise.
926 * module.c: Likewise.
927 * openmp.c: Likewise.
928 * options.c: Likewise.
929 * parse.c: Likewise.
930 * parse.h: Likewise.
931 * primary.c: Likewise.
932 * resolve.c: Likewise.
933 * scanner.c: Likewise.
934 * simplify.c: Likewise.
935 * st.c: Likewise.
936 * symbol.c: Likewise.
937 * target-memory.c: Likewise.
938 * target-memory.h: Likewise.
939 * trans-array.h: Likewise.
940 * trans-const.h: Likewise.
941 * trans-stmt.h: Likewise.
942 * trans-types.c: Likewise.
943 * trans-types.h: Likewise.
944 * types.def: Likewise.
945
946 2008-02-24 Jerry DeLisle <jvdelisle@gcc.gnu.org>
947
948 PR fortran/35223
949 * simplify.c (gfc_simplify_ibclr), (gfc_simplify_ibits),
950 (gfc_simplify_ibset): Remove call to range_check.
951 (simplify_cmplx), (gfc_simplify_dble), (gfc_simplify_float)
952 (gfc_simplify_real): Add call gfc_clear_ts to initialize the
953 temporary gfc_typspec variable.
954
955 2008-02-24 Tobias Schlüter <tobi@gcc.gnu.org>
956
957 * trans-array.c (gfc_conv_descriptor_data_get,
958 gfc_conv_descriptor_data_set_internal,
959 gfc_conv_descriptor_data_addr, gfc_conv_descriptor_offset,
960 gfc_conv_descriptor_dtype, gfc_conv_descriptor_dimension,
961 gfc_conv_descriptor_stride, gfc_conv_descriptor_lbound,
962 gfc_conv_descriptor_ubound, gfc_trans_create_temp_array,
963 gfc_conv_array_transpose, gfc_grow_array,
964 gfc_trans_array_constructor_subarray,
965 gfc_trans_array_constructor_value, gfc_trans_scalarized_loop_end,
966 gfc_array_init_size, gfc_array_allocate, gfc_array_deallocate,
967 gfc_conv_array_initializer, gfc_trans_array_bounds,
968 gfc_trans_auto_array_allocation, gfc_trans_dummy_array_bias,
969 gfc_get_dataptr_offset, gfc_conv_array_parameter,
970 gfc_trans_dealloc_allocated, get_full_array_size,
971 gfc_duplicate_allocatable, structure_alloc_comps): Use fold_buildN
972 instead of buildN.
973 * trans-expr.c (gfc_conv_expr_present, gfc_conv_missing_dummy,
974 gfc_conv_component_ref, gfc_conv_cst_int_power,
975 gfc_conv_function_call, gfc_trans_structur_assign): Likewise.
976 * trans-common.c (create_common): Likewise.
977 * trans-openmp.c (gfc_trans_omp_atomic, gfc_trans_omp_do):
978 Likewise.
979 * trans-const.c (gfc_conv_constant_to_tree): Likewise.
980 * trans-stmt.c (gfc_trans_goto, gfc_trans_return, gfc_trans_do,
981 gfc_trans_integer_select, gfc_trans_character_select,
982 gfc_trans_forall_loop, compute_overall_iter_number,
983 gfc_trans_forall_1, gfc_evaluate_where_mask, gfc_trans_allocate,
984 gfc_trans_deallocate): Likewise.
985 * trans.c (gfc_build_addr_expr, gfc_trans_runtime_check,
986 gfc_allocate_with_status, gfc_allocate_array_with_status,
987 gfc_deallocate_with_status): Likewise.
988 * f95-lang.c (gfc_truthvalue_conversion): Likewise.
989 * trans-io.c (set_parameter_const, set_parameter_value,
990 set_parameter_ref, set_string, set_internal_unit, io_result,
991 set_error_locus, nml_get_addr_expr, transfer_expr): Likewise.
992 * trans-decl.c (gfc_build_qualified_array, build_entry_thunks,
993 gfc_get_fake_result_decl, gfc_trans_auto_character_variable,
994 gfc_generate_function_code): Likewise.
995 * convert.c (convert): Likewise.
996 * trans-intrinsic.c (gfc_conv_intrinsic_conversion,
997 build_fixbound_expr, build_fix_expr, gfc_conv_intrinsic_aint,
998 gfc_conv_intrinsic_int, gfc_conv_intrinsic_imagpart,
999 gfc_conv_intrinsic_conjg, gfc_conv_intrinsic_abs,
1000 gfc_conv_intrinsic_cmplx, gfc_conv_intrinsic_mod,
1001 gfc_conv_intrinsic_dim, gfc_conv_intrinsic_dprod,
1002 gfc_conv_intrinsic_ctime, gfc_conv_intrinsic_fdate,
1003 gfc_conv_intrinsic_ttynam, gfc_conv_intrinsic_minmax,
1004 gfc_conv_intrinsic_minmax_char, gfc_conv_intrinsic_count,
1005 gfc_conv_intrinsic_arith, gfc_conv_intrinsic_dot_product,
1006 gfc_conv_intrinsic_minmaxloc, gfc_conv_intrinsic_minmaxval,
1007 gfc_conv_intrinsic_btest, gfc_conv_intrinsic_not,
1008 gfc_conv_intrinsic_ibits, gfc_conv_intrinsic_ishft,
1009 gfc_conv_intrinsic_ichar, gfc_conv_intrinsic_size,
1010 gfc_conv_intrinsic_array_transfer, gfc_conv_intrinsic_transfer,
1011 gfc_conv_allocated, gfc_conv_associated, gfc_conv_intrinsic_trim,
1012 gfc_conv_intrinsic_repeat): Likewise.
1013
1014 2008-02-23 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
1015
1016 PR target/25477
1017 * trans-expr.c (gfc_conv_power_op): Use BUILT_IN_CPOW{F,,L}.
1018 * f95-lang.c (gfc_init_builtin_functions): Define BUILT_IN_CPOW{F,,L}.
1019 * trans.h (gfor_fndecl_math_cpow, gfor_fndecl_math_cpowf,
1020 gfor_fndecl_math_cpowl10, gfor_fndecl_math_cpowl16): Remove.
1021 * trans-decl.c: Likewise.
1022
1023 2008-02-22 Jerry DeLisle <jvdelisle@gcc.gnu.org>
1024
1025 PR fortran/35059
1026 * expr.c (find_array_element): Modify traversing the constructor to
1027 avoid trying to access NULL memory pointed to by next for the
1028 last element. (find_array_section): Exit while loop if cons->next is
1029 NULL.
1030
1031 2008-02-22 Jerry DeLisle <jvdelisle@gcc.gnu.org>
1032
1033 PR fortran/34907
1034 * iresolve.c (resolve_mask_arg): Add gfc_clear_ts to initialize
1035 structure.
1036 (gfc_resolve_aint): Likewise.
1037 (gfc_resolve_anint): Likewise.
1038 (gfc_resolve_besn): Likewise.
1039 (gfc_resolve_cshift): Likewise.
1040 (gfc_resolve_ctime): Likewise.
1041 (gfc_resolve_eoshift): Likewise.
1042 (gfc_resolve_index_func): Likewise.
1043 (gfc_resolve_isatty): Likewise.
1044 (gfc_resolve_malloc): Likewise.
1045 (gfc_resolve_rrspacing): Likewise.
1046 (gfc_resolve_scale): Likewise.
1047 (gfc_resolve_set_exponent): Likewise.
1048 (gfc_resolve_spacing): Likewise.
1049 (gfc_resolve_spacing): Likewise.
1050 (gfc_resolve_fgetc): Likewise.
1051 (gfc_resolve_fputc): Likewise.
1052 (gfc_resolve_ftell): Likewise.
1053 (gfc_resolve_ttynam): Likewise.
1054 (gfc_resolve_alarm_sub): Likewise.
1055 (gfc_resolve_mvbits): Likewise.
1056 (gfc_resolve_getarg): Likewise.
1057 (gfc_resolve_signal_sub): Likewise.
1058 (gfc_resolve_exit): Likewise.
1059 (gfc_resolve_flush): Likewise.
1060 (gfc_resolve_free): Likewise.
1061 (gfc_resolve_ctime_sub): Likewise.
1062 (gfc_resolve_fgetc_sub): Likewise.
1063 (gfc_resolve_fputc_sub): Likewise.
1064 (gfc_resolve_fseek_sub): Likewise.
1065 (gfc_resolve_ftell_sub): Likewise.
1066 (gfc_resolve_ttynam_sub): Likewise.
1067
1068 2008-02-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1069
1070 * gfc-internals.texi: Fix typos and markup nits.
1071 * gfortran.texi: Likewise.
1072 * intrinsic.texi: Likewise.
1073
1074 2008-02-21 Richard Guenther <rguenther@suse.de>
1075
1076 * trans-expr.c (gfc_conv_expr_op): Expand INTRINSIC_PARENTHESES
1077 as unary PAREN_EXPR for real and complex typed expressions.
1078 (gfc_conv_unary_op): Fold the built tree.
1079
1080 2008-02-20 Tobias Burnus <burnus@net-b.de>
1081
1082 PR fortran/34997
1083 * match.c (gfc_match_name): Improve error message for '$'.
1084
1085 2008-02-19 Daniel Franke <franke.daniel@gmail.com>
1086
1087 PR fortran/35030
1088 * expr.c (gfc_check_pointer_assign): Add type and kind information
1089 to type-mismatch message.
1090 (gfc_check_assign): Unify error messages.
1091
1092 2008-02-16 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
1093
1094 PR fortran/34952
1095 * gfortran.texi: Create new section for unimplemented extensions.
1096 Add "STRUCTURE and RECORD" and "ENCODE and DECODE statements".
1097 Remove "smaller projects" list. Fix a few typos.
1098
1099 2008-02-15 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
1100
1101 * intrinsic.texi: Rename INDEX node to avoid clashing with
1102 index.html on case-insensitive systems.
1103
1104 2008-02-15 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
1105
1106 PR fortran/35150
1107 * trans-expr.c (gfc_conv_function_call): Force evaluation of
1108 se->expr.
1109
1110 2008-02-10 Daniel Franke <franke.daniel@gmail.com>
1111
1112 PR fortran/35019
1113 * lang.opt: Allow '-J<dir>' next to '-J <dir>',
1114 likewise '-I <dir>' and '-I<dir>'.
1115
1116 2008-02-06 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1117
1118 PR other/35107
1119 * Make-lang.in (f951): Add $(GMPLIBS).
1120
1121 2008-02-05 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
1122
1123 PR fortran/35037
1124 * trans-common.c (build_field): Mark fields as volatile when needed.
1125
1126 2008-02-05 Tobias Burnus <burnus@net-b.de>
1127
1128 PR fortran/35093
1129 * data.c (gfc_assign_data_value): Only free "size" if
1130 it has not already been freed.
1131
1132 2008-02-05 Paul Thomas <pault@gcc.gnu.org>
1133
1134 PR fortran/34945
1135 * array.c (match_array_element_spec): Remove check for negative
1136 array size.
1137 (gfc_resolve_array_spec): Add check for negative size.
1138
1139 2008-02-05 Paul Thomas <pault@gcc.gnu.org>
1140
1141 PR fortran/32315
1142 * data.c (gfc_assign_data_value): Add bounds check for array
1143 references.
1144
1145 2008-02-04 Daniel Franke <franke.daniel@gmail.com>
1146
1147 * resolve.c (resolve_where): Fix typo.
1148 (gfc_resolve_where_code_in_forall): Likewise.
1149
1150 2008-02-03 Paul Thomas <pault@gcc.gnu.org>
1151
1152 PR fortran/32760
1153 * resolve.c (resolve_allocate_deallocate): New function.
1154 (resolve_code): Call it for allocate and deallocate.
1155 * match.c (gfc_match_allocate, gfc_match_deallocate) : Remove
1156 the checking of the STAT tag and put in above new function.
1157 * primary,c (match_variable): Do not fix flavor of host
1158 associated symbols yet if the type is not known.
1159
1160 2008-01-31 Paul Thomas <pault@gcc.gnu.org>
1161
1162 PR fortran/34910
1163 * expr.c (gfc_check_assign): It is an error to assign
1164 to a sibling procedure.
1165
1166 2008-01-30 Paul Thomas <pault@gcc.gnu.org>
1167
1168 PR fortran/34975
1169 * symbol.c (gfc_delete_symtree, gfc_undo_symbols): Rename
1170 delete_symtree to gfc_delete_symtree.
1171 * gfortran.h : Add prototype for gfc_delete_symtree.
1172 * module.c (load_generic_interfaces): Transfer symbol to a
1173 unique symtree and delete old symtree, instead of renaming.
1174 (read_module): The rsym and the found symbol are the same, so
1175 the found symtree can be deleted.
1176
1177 PR fortran/34429
1178 * decl.c (match_char_spec): Remove the constraint on deferred
1179 matching of functions and free the length expression.
1180 delete_symtree to gfc_delete_symtree.
1181 (gfc_match_type_spec): Whitespace.
1182 (gfc_match_function_decl): Defer characteristic association for
1183 all types except BT_UNKNOWN.
1184 * parse.c (decode_specification_statement): Only derived type
1185 function matching is delayed to the end of specification.
1186
1187 2008-01-28 Tobias Burnus <burnus@net-b.de>
1188
1189 PR libfortran/34980
1190 * simplify.c (gfc_simplify_shape): Simplify rank zero arrays.
1191
1192 2008-01-27 Jerry DeLisle <jvdelisle@gcc.gnu.org>
1193
1194 PR fortran/34990
1195 * array.c (gfc_check_constructor_type): Revert clearing the expression.
1196
1197 2008-01-26 Tobias Burnus <burnus@net-b.de>
1198
1199 PR fortran/34848
1200 * trans-expr.c (gfc_conv_function_call): Don't call
1201 gfc_add_interface_mapping if the expression is NULL.
1202
1203 2008-01-26 Jerry DeLisle <jvdelisle@gcc.gnu.org>
1204
1205 PR fortran/31610
1206 * trans-array.c (gfc_trans_create_temp_array): Remove call to
1207 gcc_assert (integer_zerop (loop->from[n])).
1208
1209 2008-01-25 Daniel Franke <franke.daniel@gmail.com>
1210
1211 PR fortran/34661
1212 * resolve.c (resolve_where): Added check if user-defined assignment
1213 operator is an elemental subroutine.
1214 (gfc_resolve_where_code_in_forall): Likewise.
1215
1216 2008-01-24 Daniel Franke <franke.daniel@gmail.com>
1217
1218 PR fortran/33375
1219 PR fortran/34858
1220 * gfortran.h: Revert changes from 2008-01-17.
1221 * match.c: Likewise.
1222 * symbol.c: Likewise.
1223 (gfc_undo_symbols): Undo namespace changes related to common blocks.
1224
1225 2008-01-24 Daniel Franke <franke.daniel@gmail.com>
1226
1227 PR fortran/34202
1228 * data.c (formalize_structure_cons): Skip formalization on
1229 empty structures.
1230
1231 2008-01-24 Daniel Franke <franke.daniel@gmail.com>
1232
1233 * gfortran.texi (OpenMP): Extended existing documentation.
1234 (contributors): Added major contributors of 2008 that were
1235 not listed yet.
1236 (proposed extensions): Removed implemented items.
1237
1238 2008-01-24 Paul Thomas <pault@gcc.gnu.org>
1239
1240 PR fortran/34872
1241 * parse.c (next_statement) : If ST_GET_FCN_CHARACTERISTICS is
1242 seen, check for a statement label and, if present, delete it
1243 and set the locus to the start of the statement.
1244
1245 2008-01-22 Paul Thomas <pault@gcc.gnu.org>
1246
1247 PR fortran/34875
1248 * trans-io.c (gfc_trans_transfer): If the array reference in a
1249 read has a vector subscript, use gfc_conv_subref_array_arg to
1250 copy back the temporary.
1251
1252 2008-01-22 Tobias Burnus <burnus@net-b.de>
1253
1254 PR fortran/34848
1255 * interface.c (compare_actual_formal): Fix adding type
1256 to missing_arg_type for absent optional arguments.
1257
1258 2008-01-22 Tobias Burnus <burnus@net-b.de>
1259
1260 PR fortran/34907
1261 * parse.c (parse_spec): Change = into ==.
1262
1263 2008-01-22 Daniel Franke <franke.daniel@gmail.com>
1264
1265 PR fortran/34915
1266 * expr.c (check_elemental): Fix check for valid data types.
1267
1268 2008-01-22 Tobias Burnus <burnus@net-b.de>
1269
1270 PR fortran/34899
1271 * scanner.c (load_line): Support <tab><digit> continuation lines.
1272 * invoke.texi (-Wtabs): Document this.
1273
1274 2008-01-22 Paul Thomas <pault@gcc.gnu.org>
1275
1276 PR fortran/34896
1277 * module.c (read_module): Set use_rename attribute.
1278
1279 2007-01-21 Tobias Burnus <burnus@net-b.de>
1280
1281 PR fortran/34901
1282 * interface.c (compare_parameter): Improved error message
1283 for arguments of same type and mismatched kinds.
1284
1285 2008-01-20 Paul Thomas <pault@gcc.gnu.org>
1286
1287 PR fortran/34861
1288 * resolve.c (resolve_entries): Do not do an array bounds check
1289 if the result symbols are the same.
1290
1291 PR fortran/34854
1292 * module.c (read_module) : Hide the symtree of the previous
1293 version of the symbol if this symbol is renamed.
1294
1295 2008-01-20 Paul Thomas <pault@gcc.gnu.org>
1296
1297 PR fortran/34784
1298 * array.c (gfc_check_constructor_type): Clear the expression ts
1299 so that the checking starts from the deepest level of array
1300 constructor.
1301 * primary.c (match_varspec): If an unknown type is changed to
1302 default character and the attempt to match a substring fails,
1303 change it back to unknown.
1304
1305 PR fortran/34785
1306 * trans-array.c (gfc_add_loop_ss_code) : If ss->string_length is
1307 NULL for an array constructor, use the cl.length expression to
1308 build it.
1309 (gfc_conv_array_parameter): Change call to gfc_evaluate_now to
1310 a tree assignment.
1311
1312 2008-01-19 Thomas Koenig <tkoenig@gcc.gnu.org>
1313
1314 PR fortran/34817
1315 PR fortran/34838
1316 * iresolve.c (gfc_resolve_all): Remove conversion of mask
1317 argument to kind=1 by removing call to resolve_mask_arg().
1318 (gfc_resolve_any): Likewise.
1319
1320 2008-01-19 Tobias Burnus <burnus@net-b.de>
1321
1322 PR fortran/34760
1323 * primary.c (match_variable): Handle FL_UNKNOWN without
1324 uneducated guessing.
1325 (match_variable): Improve error message.
1326
1327 2008-01-18 Tobias Burnus <burnus@net-b.de>
1328
1329 PR fortran/32616
1330 * interface.c (get_expr_storage_size): Return storage size
1331 for array element designators.
1332 (compare_actual_formal): Reject unequal string sizes for
1333 assumed-shape dummy arguments. And fix error message for
1334 array-sections with vector subscripts.
1335
1336 2008-01-17 Jerry DeLisle <jvdelisle@gcc.gnu.org>
1337
1338 PR fortran/34556
1339 * simplify.c (is_constant_array_expr): New static function that returns
1340 true if the given expression is an array and is constant.
1341 (gfc_simplify_reshape): Use new function.
1342
1343 2008-01-17 H.J. Lu <hongjiu.lu@intel.com>
1344
1345 PR fortran/33375
1346 * symbol.c (free_common_tree): Renamed to ...
1347 (gfc_free_common_tree): This. Remove static.
1348 (gfc_free_namespace): Updated.
1349
1350 * gfortran.h (gfc_free_common_tree): New.
1351
1352 * match.c (gfc_match_common): Call gfc_free_common_tree () with
1353 gfc_current_ns->common_root and set gfc_current_ns->common_root
1354 to NULL on syntax error.
1355
1356 2008-01-18 Richard Sandiford <rsandifo@nildram.co.uk>
1357
1358 PR fortran/34686
1359 * trans-expr.c (gfc_conv_function_call): Use proper
1360 type for returned character pointers.
1361
1362 2008-01-17 Paul Thomas <pault@gcc.gnu.org>
1363
1364 PR fortran/34429
1365 PR fortran/34431
1366 PR fortran/34471
1367 * decl.c : Remove gfc_function_kind_locus and
1368 gfc_function_type_locus. Add gfc_matching_function.
1369 (match_char_length): If matching a function and the length
1370 does not match, return MATCH_YES and try again later.
1371 (gfc_match_kind_spec): The same.
1372 (match_char_kind): The same.
1373 (gfc_match_type_spec): The same for numeric and derived types.
1374 (match_prefix): Rename as gfc_match_prefix.
1375 (gfc_match_function_decl): Except for function valued character
1376 lengths, defer applying kind, type and charlen info until the
1377 end of specification block.
1378 gfortran.h (gfc_statement): Add ST_GET_FCN_CHARACTERISTICS.
1379 parse.c (decode_specification_statement): New function.
1380 (decode_statement): Call it when a function has kind = -1. Set
1381 and reset gfc_matching function, as function statement is being
1382 matched.
1383 (match_deferred_characteristics): Simplify with a single call
1384 to gfc_match_prefix. Do appropriate error handling. In any
1385 case, make sure that kind = -1 is reset or corrected.
1386 (parse_spec): Call above on seeing ST_GET_FCN_CHARACTERISTICS.
1387 Throw an error if kind = -1 after last specification statement.
1388 parse.h : Prototype for gfc_match_prefix.
1389
1390 2008-01-16 Tobias Burnus <burnus@net-b.de>
1391
1392 PR fortran/34796
1393 * interface.c (compare_parameter): Allow AS_DEFERRED array
1394 elements and reject attr.pointer array elemenents.
1395 (get_expr_storage_size): Return storage size of elements of
1396 assumed-shape and pointer arrays.
1397
1398 2008-01-15 Sebastian Pop <sebastian.pop@amd.com>
1399
1400 * f95-lang.c (gfc_init_builtin_functions): Initialize GOMP builtins
1401 for flag_tree_parallelize_loops.
1402
1403 2008-01-15 Thomas Koenig <tkoenig@gcc.gnu.org>
1404
1405 PR libfortran/34671
1406 * iresolve.c (gfc_resolve_all): Call resolve_mask_arg.
1407 (gfc_resolve_any): Likewise.
1408 (gfc_resolve_count): Likewise. Don't append kind of
1409 argument to function name.
1410
1411 2008-01-13 Tobias Burnus <burnus@net-b.de>
1412
1413 PR fortran/34665
1414 * resolve.c (resolve_actual_arglist): For expressions,
1415 also check for assume-sized arrays.
1416 * interface.c (compare_parameter): Move F2003 character checks
1417 here, print error messages here, reject elements of
1418 assumed-shape array as argument to dummy arrays.
1419 (compare_actual_formal): Update for the changes above.
1420
1421 2008-01-13 Tobias Burnus <burnus@net-b.de>
1422
1423 PR fortran/34763
1424 * decl.c (contained_procedure): Only check directly preceeding state.
1425
1426 2008-01-13 Tobias Burnus <burnus@net-b.de>
1427
1428 PR fortran/34759
1429 * check.c (gfc_check_shape): Accept array ranges of
1430 assumed-size arrays.
1431
1432 2008-01-12 Jerry DeLisle <jvdelisle@gcc.gnu.org>
1433
1434 PR fortran/34432
1435 * match.c (gfc_match_name): Don't error if leading character is a '(',
1436 just return MATCH_NO.
1437
1438 2008-01-11 Jerry DeLisle <jvdelisle@gcc.gnu.org>
1439
1440 PR fortran/34722
1441 * trans-io.c (create_dummy_iostat): Commit the symbol.
1442
1443 2008-01-11 Paul Thomas <pault@gcc.gnu.org>
1444
1445 PR fortran/34537
1446 * simplify.c (gfc_simplify_transfer): Return NULL if the size
1447 of the element is unavailable and only assign character length
1448 to the result, if 'mold' is constant.
1449
1450 2008-01-10 Paul Thomas <pault@gcc.gnu.org>
1451
1452 PR fortran/34396
1453 * trans-array.c (gfc_trans_array_ctor_element): Use gfc_trans_string_copy
1454 to assign strings and perform bounds checks on the string length.
1455 (get_array_ctor_strlen): Remove bounds checking.
1456 (gfc_trans_array_constructor): Initialize string length checking.
1457 * trans-array.h : Add prototype for gfc_trans_string_copy.
1458
1459 2008-01-08 Richard Guenther <rguenther@suse.de>
1460
1461 PR fortran/34706
1462 PR tree-optimization/34683
1463 * trans-types.c (gfc_get_array_type_bounds): Use an array type
1464 with known size for accesses if that is known.
1465
1466 2008-01-08 Paul Thomas <pault@gcc.gnu.org>
1467
1468 PR fortran/34476
1469 * expr.c (find_array_element): Check that the array bounds are
1470 constant before using them. Use lower, as well as upper bound.
1471 (check_restricted): Allow implied index variable.
1472
1473 2008-01-08 Paul Thomas <pault@gcc.gnu.org>
1474
1475 PR fortran/34681
1476 * trans_array.c (gfc_trans_deferred_array): Do not null the
1477 data pointer on entering scope, nor deallocate it on leaving
1478 scope, if the symbol has the 'save' attribute.
1479
1480 PR fortran/34704
1481 * trans_decl.c (gfc_finish_var_decl): Derived types with
1482 allocatable components and an initializer must be TREE_STATIC.
1483
1484 2008-01-07 Paul Thomas <pault@gcc.gnu.org>
1485
1486 PR fortran/34672
1487 * module.c (write_generic): Rewrite completely.
1488 (write_module): Change call to write_generic.
1489
1490 2008-01-06 Jerry DeLisle <jvdelisle@gcc.gnu.org>
1491
1492 PR fortran/34659
1493 * scanner.c (load_line): Do not count ' ' as printable when checking for
1494 continuations.
1495
1496 2008-01-06 Paul Thomas <pault@gcc.gnu.org>
1497
1498 PR fortran/34545
1499 * module.c (load_needed): If the namespace has no proc_name
1500 give it the module symbol.
1501
1502 2008-01-06 Jerry DeLisle <jvdelisle@gcc.gnu.org>
1503
1504 PR fortran/34387
1505 * trans-expr.c (gfc_conv_missing_dummy): Use a temporary to type convert
1506 the dummy variable expression, test for NULL, and pass the variable
1507 address to the called function.
1508
1509 2007-01-06 Tobias Burnus <burnus@net-b.de>
1510
1511 PR fortran/34658
1512 * match.c (gfc_match_common): Remove blank common in
1513 DATA BLOCK warning.
1514 * resolve.c (resolve_common_vars): New function.
1515 (resolve_common_blocks): Move checks to resolve_common_vars
1516 and invoke that function.
1517 (resolve_types): Call resolve_common_vars for blank commons.
1518
1519 2008-01-06 Tobias Burnus <burnus@net-b.de>
1520
1521 PR fortran/34655
1522 * resolve.c (resolve_equivalence_derived): Reject derived types with
1523 default initialization if equivalenced with COMMON variable.
1524
1525 2008-01-06 Tobias Burnus <burnus@net-b.de>
1526
1527 PR fortran/34654
1528 * io.c (check_io_constraints): Disallow unformatted I/O for
1529 internal units.
1530
1531 2008-01-06 Tobias Burnus <burnus@net-b.de>
1532
1533 PR fortran/34660
1534 * resolve.c (resolve_formal_arglist): Reject dummy procedure in
1535 ELEMENTAL functions.
1536
1537 2008-01-06 Tobias Burnus <burnus@net-b.de>
1538
1539 PR fortran/34662
1540 * interface.c (compare_actual_formal): Reject parameter
1541 actual to intent(out) dummy.
1542
1543 2008-01-04 Tobias Burnus <burnus@net-b.de>
1544
1545 PR fortran/34557
1546 * primary.c (match_varspec): Gobble whitespace before
1547 checking for '('.