OSDN Git Service

1f60b343271aed629ba5b37b45098a2084a3d63c
[pf3gnuchains/gcc-fork.git] / gcc / fortran / ChangeLog
1 2007-05-31  Paul Thomas  <pault@gcc.gnu.org>
2
3         PR fortran/32103
4         * module.c (mio_symtree_ref): If an equivalence group member
5         is not used, give it a hidden symbol and set the pointer_info.
6         (load_equiv): Only free the equivalence if none of the members
7         are used.
8
9 2007-05-29  Daniel Franke  <franke.daniel@gmail.com>
10
11         * gfortran.h: Renamed 'enum gfc_generic_isym_id' to 'enum gfc_isym_id',
12         added missing GFC_ISYM_* enumerators, ordered alphabetically.
13         (struct gfc_intrinsic_sym): Renamed 'generic_id' to 'id'.
14         (gfc_find_subroutine): New prototype.
15         * intrinsic.c (add_sym, add_sym_*): Added argument 'id' and changed all callers.
16         (find_subroutine): Renamed to 'gfc_find_subroutine', removed static.  
17         * dependency.c: Changed usage of isym->generic_id to isym->id.  
18         * openmp.c: Likewise.  
19         * resolve.c: Likewise.  
20         * trans-array.c: Likewise.  
21         * trans-expr.c: Likewise.  
22         * trans-intrinsic.c: Likewise.  
23         * trans-openmp.c: Likewise.
24
25 2007-05-28  Tobias Schlüter  <tobi@gcc.gnu.org>
26
27         * gfortran.h (gfc_generic_isym_id): Add GFC_ISYM_SIZEOF.
28         * intrinsic.c (add_functions): Add stuff for SIZEOF intrinsic.
29         * intrinsic.h (gfc_check_sizeof): Add prototype of ...
30         * check.c (gfc_check_sizeof): .. new function.
31         * trans-intrinsic.c (gfc_conv_intrinsic_sizeof): New function.
32         (gfc_conv_intrinsic_strcmp): Whitespace fix.
33         (gfc_conv_intrinsic_array_transfer): Remove double initialization,
34         use fold_build. where appropriate.
35         (gfc_conv_intrinsic_function): Add case for SIZEOF.
36         * intrinsic.texi: Add documentation for SIZEOF.
37
38 2007-05-28  Brooks Moses  <brooks.moses@codesourcery.com>
39
40         * trans-array.c (gfc_conv_expr_descriptor): Edit comment.
41
42 2007-05-28  Brooks Moses  <brooks.moses@codesourcery.com>
43
44         PR fortran/31972
45         * target-memory.c (gfc_target_expr_size): Add handling
46         for size of BT_HOLLERITH variables.
47         * check.c (gfc_check_transfer): Reject BT_HOLLERITH
48         variables in MOLD argument of TRANSFER.
49
50 2007-05-28  Brooks Moses  <brooks.moses@codesourcery.com>
51
52         * gfortran.h (gfc_expr): Remove from_H, add "representation"
53         struct.
54         * primary.c (match_hollerith_constant): Store the representation
55         of the Hollerith in representation, not in value.character.
56         * arith.c: Add dependency on target-memory.h.
57         (eval_intrinsic): Remove check for from_H.
58         (hollerith2representation): New function.
59         (gfc_hollerith2int): Determine value of the new constant.
60         (gfc_hollerith2real): Likewise.
61         (gfc_hollerith2complex): Likewise.
62         (gfc_hollerith2logical): Likewise.
63         (gfc_hollerith2character): Point both representation.string and
64         value.character.string at the value string.
65         * data.c (create_character_initializer): For BT_HOLLERITH
66         rvalues, get the value from the representation rather than
67         value.character.
68         * expr.c (free_expr0): Update handling of BT_HOLLERITH values
69         and values with representation.string.
70         (gfc_copy_expr): Likewise.
71         * intrinsic.c (do_simplify): Remove special treatement of
72         variables resulting from Hollerith constants.
73         * dump-parse-trees.c (gfc_show_expr): Update handling of
74         Holleriths.
75         * trans-const.c (gfc_conv_constant_to_tree): Replace from_H
76         check with check for representation.string; get Hollerith
77         representation from representation.string, not value.character.
78         * trans-expr.c (is_zero_initializer_p): Replace from_H check
79         with check for representation.string.
80         * trans-stmt.c (gfc_trans_integer_select): Use
81         gfc_conv_mpz_to_tree for case values, so as to avoid picking up
82         the memory representation if the case is given by a transfer
83         expression.
84         * target-memory.c (gfc_target_encode_expr): Use the known memory
85         representation rather than the value, if it exists.
86         (gfc_target_interpret_expr): Store the memory representation of
87         the interpreted expression as well as its value.
88         (interpret_integer): Move to gfc_interpret_integer, make
89         non-static.
90         (interpret_float): Move to gfc_interpret_float, make non-static.
91         (interpret_complex): Move to gfc_interpret_complex, make
92         non-static.
93         (interpret_logical): Move to gfc_interpret_logical, make
94         non-static.
95         (interpret_character): Move to gfc_interpret_character, make
96         non-static.
97         (interpret_derived): Move to gfc_interpret_derived, make
98         non-static.
99         * target-memory.h: Add prototypes for newly-exported
100         gfc_interpret_* functions.
101
102 2007-05-27  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
103
104         PR fortran/31812
105         * parse.c (next_statement): Warn for truncated lines if source is free
106         form.
107
108 2007-05-27 Paul Thomas  <pault@gcc.gnu.org>
109            Tobias Burnus  <burnus@net-b.de>
110
111         PR fortran/32088
112         * symbol.c (gfc_check_function_type): Copy dimensions of
113           result variable.
114         * resolve.c (resolve_contained_fntype): Improve symbol output in
115           the error message.
116
117 2007-05-26  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
118
119         PR fortran/31813
120         * io.c (check_format): Add warning for H specifier in format.
121         
122 2007-05-26  Tobias Burnus  <burnus@net-b.de>
123
124         * gfortran.texi: Document the GFORTRAN_ERROR_DUMPCORE and
125         GFORTRAN_ERROR_BACKTRACE environment variables.
126
127 2007-05-26  Paul Thomas  <pault@gcc.gnu.org>
128
129         PR fortran/31219
130         * trans.h : Add no_function_call bitfield to gfc_se structure.
131         Add stmtblock_t argument to prototype of get_array_ctor_strlen.
132         * trans-array.c (get_array_ctor_all_strlen): New function.
133         (get_array_ctor_strlen): Add new stmtblock_t argument and call
134         new function for character elements that are not constants,
135         arrays or variables.
136         (gfc_conv_array_parameter): Call get_array_ctor_strlen to get
137         good string length.
138         * trans-intrinsic (gfc_conv_intrinsic_len): Add new argument
139         to call of get_array_ctor_strlen.
140
141 2007-05-25  Kazu Hirata  <kazu@codesourcery.com>
142
143         * intrinsic.texi: Fix typos.
144
145 2007-05-25  Paul Thomas  <pault@gcc.gnu.org>
146
147         PR fortran/32047
148         * trans-expr.c (gfc_apply_interface_mapping_to_expr): Change
149         order in logic under EXPR_FUNCTION to handle functions with
150         no arguments.
151
152 2007-05-23  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
153
154         PR fortran/31716
155         * array.c (spec_dimen_size): Test for correct BT_INTEGER type. 
156
157 2007-05-23  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
158
159         PR fortran/32046
160         * trans-expr.c (gfc_trans_zero_assign): Convert the result of
161         TYPE_SIZE_UNIT into a signed type.
162         (gfc_trans_array_copy):  Likewise.
163         (gfc_trans_array_constructor_copy): Likewise.
164         * trans-array.c (gfc_trans_create_temp_array): Likewise.
165         (gfc_grow_array): Likewise.
166         (gfc_array_init_size): Likewise.
167         (gfc_duplicate_allocatable): Likewise.
168         * trans-stmt.c (allocate_temp_for_forall_nest_1): Likewise.
169
170 2007-05-22  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
171
172         PR fortran/18923
173         * resolve.c (resolve_function): Don't call resolve_global_procedure if
174         there is no name. Delete duplicated statement in ELSE clause.
175
176 2007-05-22 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
177
178         PR fortran/31627
179         * trans-array.c (gfc_trans_array_bound_check): Take extra argument to
180         indicate whether we should check the upper bound in that dimension.
181         (gfc_conv_array_index_offset): Check only the lower bound of the
182         last dimension for assumed-size arrays.
183         (gfc_conv_array_ref): Likewise.
184         (gfc_conv_ss_startstride): Likewise.
185
186 2007-05-21  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
187             Daniel Franke  <franke.daniel@gmail.com>
188
189         PR fortran/32002
190         * resolve.c (resolve_actual_arglist): Resolve actual argument after
191         being identified as variable.
192
193 2007-05-21  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
194
195         PR fortran/32027
196         * trans-stmt.c (gfc_trans_do): Fix the value of loop variable
197         when the loop ends.
198
199 2007-05-21  H.J. Lu  <hongjiu.lu@intel.com>
200
201         * trans-stmt.c (gfc_trans_do): Fix a typo in comment.
202
203 2007-05-21  Paul Thomas  <pault@gcc.gnu.org>
204
205         PR fortran/31867
206         PR fortran/31994
207         * trans-array.c (gfc_conv_expr_descriptor): Obtain the stored
208         offset for non-descriptor, source arrays and correct for stride
209         not equal to one before writing to field of output descriptor.
210
211 2007-05-20  Daniel Franke  <franke.daniel@gmail.com>
212
213         PR fortran/32001
214         * check.c (check_rest): Improved argument conformance check and 
215         fixed error message generation.
216
217 2007-05-19  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
218
219         PR fortran/30820
220         * Make-lang.in: Remove use of -Wno-error for expr.o, resolve.o,
221         simplify.o and trans-common.o.
222
223 2007-05-19  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
224
225         PR fortran/31974
226         * trans-array.c (gfc_trans_auto_array_allocation): Avoid
227         multiplication of mismatched types.
228
229 2007-05-18  Daniel Franke  <franke.daniel@gmail.com>
230
231         PR fortran/24633
232         * symbol.c (gfc_add_flavor): Add the NAME to error message if
233         available.
234
235 2007-05-15  Daniel Franke  <franke.daniel@gmail.com>
236
237         PR fortran/31919
238         PR fortran/31929
239         PR fortran/31930
240         * intrinsic.c (check_specific): Check elemental intrinsics for
241         rank and shape.
242         (add_functions): Fixed dummy argument names of BESJN and BESYN.
243         Fixed elemental status of MCLOCK and MCLOCK8.
244         * check.c (check_rest): Added check for array conformance.
245         (gfc_check_merge): Removed check for array conformance.
246         (gfc_check_besn): Removed check for scalarity.
247         * intrinsic.texi (CSHIFT, EOSHIFT): Fixed typos.
248         (BESJN, BESYN): Clarified documentation.
249
250 2007-05-17  Tobias Burnus  <burnus@net-b.de>
251
252         * gfortran.texi (GFORTRAN_CONVERT_UNIT): Improve documentation.
253
254 2007-05-16  Brooks Moses  <brooks.moses@codesourcery.com>
255
256         PR fortran/18769
257         PR fortran/30881
258         PR fortran/31194
259         PR fortran/31216
260         PR fortran/31427
261         * target-memory.c: New file.
262         * target-memory.h: New file.
263         * simplify.c: Add #include "target-memory.h".
264         (gfc_simplify_transfer): Implement constant-
265         folding for TRANSFER intrinsic.
266         * Make-lang.in: Add dependencies on new target-memory.* files.
267
268 2007-05-15  Paul Brook  <paul@codesourcery.com>
269
270         * trans-types.c (gfc_type_for_size): Handle signed TImode.
271
272 2007-05-14  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
273
274         PR fortran/30723
275         * trans.h (gfor_fndecl_internal_malloc, gfor_fndecl_internal_malloc64,
276         gfor_fndecl_internal_free): Remove prototypes.
277         (gfor_fndecl_os_error, gfc_call_free, gfc_call_malloc): Add prototypes.
278         * trans.c (gfc_call_malloc, gfc_call_free): New functions.
279         * f95-lang.c (gfc_init_builtin_functions): Add __builtin_free
280         and __builtin_malloc builtins.
281         * trans-decl.c (gfor_fndecl_internal_malloc,
282         gfor_fndecl_internal_malloc64, gfor_fndecl_internal_free): Remove.
283         (gfor_fndecl_os_error): Add.
284         (gfc_build_builtin_function_decls): Don't create internal_malloc,
285         internal_malloc64 and internal_free library function declaration.
286         Create os_error library call function declaration.
287         * trans-array.c (gfc_trans_allocate_array_storage,
288         gfc_trans_auto_array_allocation, gfc_trans_dummy_array_bias,
289         gfc_conv_array_parameter, gfc_duplicate_allocatable): Use
290         gfc_call_malloc and gfc_call_free instead of building calls to
291         internal_malloc and internal_free.
292         * trans-expr.c (gfc_conv_string_tmp): Likewise.
293         * trans-stmt.c (gfc_do_allocate, gfc_trans_assign_need_temp,
294         gfc_trans_pointer_assign_need_temp, gfc_trans_forall_1,
295         gfc_trans_where_2: Likewise.
296         * trans-intrinsic.c (gfc_conv_intrinsic_ctime,
297         gfc_conv_intrinsic_fdate, gfc_conv_intrinsic_ttynam,
298         gfc_conv_intrinsic_array_transfer, gfc_conv_intrinsic_trim): Likewise.
299
300 2007-05-14  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
301
302         PR fortran/31725
303         * trans-expr.c (gfc_conv_substring): Evaluate substring bounds
304         only once.
305
306 2007-05-14  Rafael Avila de Espindola  <espindola@google.com>
307
308         * f95-lang.c (LANG_HOOKS_UNSIGNED_TYPE): Remove.
309         * trans-intrinsic.c (gfc_conv_intrinsic_ishft): Use unsigned_type_for
310         instead of gfc_unsigned_type.
311         * trans-stmt.c (gfc_trans_do): Use unsigned_type_for instead of
312         gfc_unsigned_type.
313         * trans-types.c (gfc_unsigned_type): Remove.
314         * trans-types.h (gfc_unsigned_type): Remove.
315
316 2007-05-12  Paul Thomas  <pault@gcc.gnu.org>
317
318         PR fortran/30746
319         * resolve.c (check_host_association): New function that detects
320         incorrect host association and corrects it.
321         (gfc_resolve_expr): Call the new function for variables and
322         functions.
323         * match.h : Remove prototype for gfc_match_rvalue.
324         * gfortran.h : Add prototype for gfc_match_rvalue.
325
326 2007-05-11 Paul Thomas <pault@gcc.gnu.org>
327
328         PR fortran/30876
329         * trans-expr.c (gfc_conv_function_call): Reduce indirection for
330         direct assignments of recursive array valued functions.
331         * primary.c (gfc_match_rvalue): Correct error for recursive
332         function calls such that directly recursive calls of scalar
333         function without an explicit result are disallowed.
334
335 2007-05-11 Paul Thomas <pault@gcc.gnu.org>
336
337         PR fortran/30878
338         * resolve.c (resolve_fl_namelist): It is not an error if the
339         namelist element is the result variable of the enclosing
340         function.  Search for the symbol in current and all parent
341         namespaces for a potential conflict.
342         * symbol.c (check_conflict): Remove the conflict between
343         'in_namelist' and 'FL_PROCEDURE' because the symbol info
344         is not available to exclude function result variables.
345         * trans-io.c (nml_get_addr_expr): Use the fake result decl
346         if the symbol is an implicit result variable.
347
348 2007-05-11  Paul Thomas  <pault@gcc.gnu.org>
349
350         PR fortran/31474
351         * decl.c (get_proc_name): If an entry has already been declared
352         as a module procedure, pick up the symbol and the symtree and
353         use them for the entry.
354
355 2007-05-08  Paul Thomas  <pault@gcc.gnu.org>
356
357         PR fortran/31630
358         * resolve.c (resolve_symbol): Remove the flagging mechanism from the
359         formal namespace resolution and instead check that the formal
360         namespace is not the current namespace.
361
362 2007-05-08  Paul Thomas  <pault@gcc.gnu.org>
363
364         PR fortran/31692
365         * trans-array.c (gfc_conv_array_parameter): Convert full array
366         references to the result of the procedure enclusing the call.
367
368 2007-05-08  Paul Thomas  <pault@gcc.gnu.org>
369
370         PR fortran/29397
371         PR fortran/29400
372         * decl.c (add_init_expr_to_sym): Expand a scalar initializer
373         for a parameter array into an array expression with the right
374         shape.
375         * array.c (spec_dimen_size): Remove static attribute.
376         * gfortran.h : Prototype for spec_dimen_size.
377
378 2007-05-07  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
379
380         PR fortran/31399
381         * trans-stmt.c (gfc_trans_do): Handle large loop counts.
382
383 2007-05-07  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
384
385         PR fortran/31764
386         * simplify.c (gfc_simplify_new_line): NEW_LINE can be simplified
387         even for non constant arguments.
388
389 2007-05-06  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
390             Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
391
392         PR fortran/31201
393         * gfortran.h: Add runtime error codes from libgfortran.h. Define
394         MAX_UNIT_NUMBER.
395         * trans.c (gfc_trans_runtime_check): Update the format of runtime error
396         messages to match library runtime errors.  Use call to new library
397         function runtime_error_at().
398         * trans.h: Add prototype for new function gfc_trans_io_runtime_check.
399         Add declaration for library functions runtime_error_at and
400         generate_error.
401         * trans_io.c (gfc_trans_io_runtime_check): New function.
402         (set_parameter_value): Add error checking for UNIT numbers.
403         (set_parameter_ref): Initialize the users variable to zero. 
404         (gfc_trans_open): Move setting of unit number to after setting of common
405         flags so that runtime error trapping can be detected.
406         (gfc_trans_close): Likewise. (build_filepos): Likewise.
407         (gfc_trans_inquire): Likewise. (build_dt): Likewise.
408         * trans-decl.c: Add declarations for runtime_error_at and
409         generate_error. (gfc_build_builtin_function_decls): Build function
410         declarations for runtime_error_at and generate_error.
411
412 2007-05-06  Paul Thomas  <pault@gcc.gnu.org>
413
414         PR fortran/31540
415         * resolve.c (resolve_fl_procedure): Resolve constant character
416         lengths.
417
418 2007-05-05  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
419
420         PR fortran/31251
421         * decl.c (match_char_spec): Add check for invalid character lengths.
422
423 2007-05-04  Brooks Moses  <brooks.moses@codesourcery.com>
424
425         * intrinsic.texi (CMPLX): Document result kind.
426         (COMPLEX): Add documentation.
427
428 2007-05-04  Daniel Franke  <franke.daniel@gmail.com>
429
430         PR fortran/31760
431         * intrinsic.c (add_functions): Replaced calls to gfc_check_g77_math1
432         by gfc_check_fn_r to avoid checks for scalarity.
433         * check.c (gfc_check_besn): Removed check for scalarity.
434         (gfc_check_g77_math1): Removed.
435         * intrinsic.h (gfc_check_g77_math1): Removed.
436
437 2007-05-04  Daniel Franke  <franke.daniel@gmail.com>
438
439         * check.c (gfc_check_fseek_sub): Fixed typo.
440
441 2007-05-04  Daniel Franke  <franke.daniel@gmail.com>
442
443         PR fortran/22359
444         * intrinsic.c (add_subroutines): Added FSEEK.
445         * intrinsic.h (gfc_resolve_fseek_sub, gfc_check_fseek_sub): New.
446         * iresolve.c (gfc_resolve_fseek_sub): New.
447         * check.c (gfc_check_fseek_sub): New.
448         * intrinsic.texi (FSEEK): Updated.
449
450 2007-05-04  Tobias Burnus  <burnus@net-b.de>
451
452         PR fortran/31803
453         * expr.c (gfc_check_pointer_assign): Check for NULL pointer.
454
455 2007-05-04  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
456
457         PR fortran/31251
458         * simplify.c (gfc_simplify_len): Only simplify integer lengths.
459
460 2007-05-04  Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
461
462         PR fortran/31781
463         * simplify.c (gfc_simplify_repeat): Don't put function call with
464         side effect in a gcc_assert().
465
466 2007-05-04  Tobias Burnus  <burnus@net-b.de>
467
468         PR fortran/25071
469         * interface.c (compare_actual_formal): Check character length.
470
471 2007-05-01  Thomas Koenig  <tkoenig@gcc.gnu.org>
472
473         PR fortran/31732
474         * dependency.c (gfc_full_array_ref_p):  If the reference is
475         to a single element, check that the array has a single
476         element and that the correct element is referenced.
477
478 2007-05-01  Daniel Franke  <franke.daniel@gmail.com>
479
480         * intrinsic.c (add_functions): Fixed ELEMENTAL specifications.
481         (add_subroutines): Replaced magic numbers in function calls by
482         ELEMENTAL and NOT_ELEMENTAL respectively.
483         * intrinsic.texi (MVBITS): Changed class to elemental subroutine.
484         (RANDOM_NUMBER): Changed class to subroutine.
485         (HUGE, TINY): Changed class to inquiry function.
486
487 2007-04-30  Brooks Moses  <brooks.moses@codesourcery.com>
488
489         * trans-const.c (gfc_conv_mpz_to_tree): Use mpz_get_double_int.
490         (gfc_conv_tree_to_mpz): New function.
491         (gfc_conv_mpfr_to_tree): Use real_from_mpfr.
492         (gfc_conv_tree_to_mpfr): New function.
493         * trans-const.h: (gfc_conv_tree_to_mpz): New prototype.
494         (gfc_conv_tree_to_mpfr): New prototype.
495
496 2007-04-30  Daniel Franke  <franke.daniel@gmail.com>
497
498         * intrinsic.texi (IERRNO): Changed class to non-elemental function.
499         (LOG10): Removed COMPLEX as accepted argument type.
500         (NEW_LINE): Changed class from elemental to inquiry function.
501         (SIGN): Removed requirement of scalar arguments.
502         (SNGL): Changed class to elemental function.
503
504 2007-04-29  Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
505
506         PR fortran/31591
507         * simplify.c (simplify_bound_dim): New function.
508         (simplify_bound): Use the above. Perform simplification of LBOUND
509         and UBOUND when DIM argument is not present.
510
511 2007-04-29  Daniel Franke  <franke.daniel@gmail.com>
512
513         * gfortran.texi: Cleaned up keyword index.
514         * invoke.texi: Likewise.
515         * intrinsic.texi: Likewise.
516                         
517 2007-04-29  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
518
519         PR fortran/31645
520         * scanner.c (load_file): Discard the byte order mark if one is
521         found on the first non-preprocessor line of a file.
522
523 2007-04-29  Paul Thomas  <pault@gcc.gnu.org>
524
525         PR fortran/31711
526         * trans-array.c (gfc_conv_resolve_dependencies): Create a temp
527         whenever a dependency is found.
528
529 2007-04-28  Tobias Schlüter  <tobi@gcc.gnu.org>
530
531         * options.c (gfc_handle_option): Ensure requested free form line
532         length is not too small.
533
534 2007-04-27  Brooks Moses  <brooks.moses@codesourcery.com>
535
536         * intrinsic.texi (Transfer): Improve documentation.
537
538 2007-04-27  Brooks Moses  <brooks.moses@codesourcery.com>
539
540         * gfortran.texi (Option Index): Add @samp as needed.
541
542 2007-04-27  Daniel Franke  <franke.daniel@gmail.com>
543
544         * gfortran.texi: Added node and menu entry for an option index.
545         * invoke.texi: Moved command line option related entries of the concept 
546         index to the option index.
547
548 2007-04-27  Daniel Franke  <franke.daniel@gmail.com>
549
550         * intrinsic.texi (AND, FPUT, FPUTC, MODULO, OR, SET_EXPONENT,
551         XOR): Fixed examples.
552
553 2007-04-27  Daniel Franke  <franke.daniel@gmail.com>
554
555         * intrinsic.texi (PRODUCT, RESHAPE, SPACING, SPREAD, SUM, 
556         SYSTEM_CLOCK, TRANSFER, UNPACK): New.
557         (DATE_AND_TIME, CPU_TIME, RRSPACING): Added cross references.
558
559 2007-04-26  Daniel Franke  <franke.daniel@gmail.com>
560
561         * intrinsic.texi (NULL, PACK, PRESENT, REPEAT, SCAN, SHAPE, 
562         SIZE, TRANSPOSE, TRIM, VERIFY): New.
563         (ADJUSTL, ADJUSTR, INDEX): Added cross references.
564         (INT, INT2, INT8, LONG): Enabled section header.
565
566 2007-04-25  Janne Blomqvist  <jb@gcc.gnu.org>
567
568         * module.c (module_char): Replace fgetc() with
569         getc(). 
570         (write_char): Replace fputc() with putc().
571         * scanner.c (load_line): Replace fgetc() with getc().
572         (gfc_read_orig_filename): Likewise.
573
574 2007-04-25  Tobias Burnus  <burnus@net-b.de>
575
576         PR fortran/31668
577         * error.c (error_print): Fix %% support.
578         * intrinsic.c (sort_actual): Improve error message.
579         * resolve.c (resolve_actual_arglist): Allow %VAL for
580         interfaces defined in the module declaration part.
581
582 2007-04-25  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
583
584         PR libfortran/31299
585         * intrinsic.texi (GETLOG): Update documentation to reflect
586         library changes.
587
588 2007-04-24  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
589
590         PR fortran/31587
591         * module.c (write_char): Add character to the MD5 buffer.
592         (read_md5_from_module_file): New function.
593         (gfc_dump_module): Compute MD5 for new module file. Call
594         read_md5_from_module_file. Only overwrite old module file
595         if the new MD5 is different.
596
597 2007-04-23  Paul Thomas  <pault@gcc.gnu.org>
598
599         PR fortran/31630
600         * resolve.c (resolve_symbol): Allow resolution of formal
601         namespaces nested within formal namespaces coming from modules.
602
603         PR fortran/31620
604         * trans-expr.c (gfc_trans_assignment): Make the call to
605         gfc_trans_zero_assign conditional on the lhs array ref being
606         the only reference.
607
608 2007-04-23  Tobias Burnus  <burnus@net-b.de>
609
610         * primary.c (match_integer_constant): Mention -fno-range-check
611         in the error message.
612
613 2007-04-21  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
614
615         PR fortran/31495
616         * scanner.c (load_line):  Remove check for comment after ampersand and
617         adjust tracking of ampersand.
618
619 2007-04-21  Andrew Pinski  <andrew_pinski@playstation.sony.com>
620
621         * f95-lang.c (lang_tree_node): Use GENERIC_NEXT
622         instead of checking GIMPLE_STMT_P in chain_next.
623
624 2007-04-17  Tobias Schlüter  <tobi@gcc.gnu.org>
625
626         * trans-types.h (gfc_packed): New enum.
627         (gfc_get_nodesc_array_type): Change prototype to use new enum.
628         * trans-types.c (gfc_get_nodesc_array): Use gfc_packed for
629         argument packed.  Adapt all references to values accordingly.
630         (gfc_sym_type): Use enum values in call to gfc_get_nodesc_array.
631         (gfc_get_derived_type): Likewise.
632         * trans-array.c (gfc_build_constant_array_constructor): Likewise.
633         * trans-expr.c (gfc_get_interface_mapping_charlen): Changed packed
634         argument to type gfc_packed.
635         (gfc_add_interface_mapping): Use enum values in call to
636         gfc_get_interface_mapping.
637         * trans-decl.c (gfc_build_dummy_array_decl): Adapt to use enum
638         values when determining packing.
639
640         * trans-decl.c (gfc_finish_decl): Remove unused second argument
641         'init'.  Simplify code accordingly.  Remove calls to
642         gfc_fatal_error in favor of gcc_assert.
643         (create_function_arglist): Remove second argument from calls to
644         gfc_finish-decl.
645         (gfc_trans_dummy_character): Likewise.
646
647         * arith.h: Update copyright years.
648         * dependency.h: Likewise.
649         * gfortran.h: Likewise.
650         * lang-specs.h: Likewise.
651         * parse.h: Likewise.
652         * symbol.c: Likewise.
653         * trans.h: Likewise.
654         * trans.c: Likewise.
655         * trans-array.c: Likewise.
656         * trans-common.c: Likewise.
657         * trans-const.h: Likewise.
658         * trans-const.c: Likewise.
659         * trans-decl.c: Likewise.
660         * trans-expr.c: Likewise.
661         * trans-io.c: Likewise.
662         * trans-openmp.c: Likewise.
663         * trans-types.h: Likewise.
664         * types.def: Likewise.
665
666 2007-04-17  Tobias Schlüter  <tobi@gcc.gnu.org>
667
668         PR fortran/31144
669         * decl.c (gfc_sym_mangled_identifier): Use capital letters in name
670         mangling.
671         (gfc_sym_mangled_function_id): Likewise.
672
673 2007-04-15  Paul Thomas  <pault@gcc.gnu.org>
674
675         PR fortran/31204
676         * primary.c (check_for_implicit_index): New function to check
677         that a host associated variable is not an undeclared implied
678         do loop index.
679         (gfc_match_rvalue, match_variable): Use it and reset the
680         implied_index attribute.
681         * gfortran.h : Add the implied_index field to symbol_attribute.
682         * match.c (gfc_match_iterator): Mark the iterator variable
683         with the new attribute.
684         * decl.c (build_sym): Reset the new attribute.
685
686 2007-04-15  Kazu Hirata  <kazu@codesourcery.com>
687
688         * gfc-internals.texi: Fix typos.
689         * simplify.c: Fix a comment typo.
690
691 2007-04-14  Bernhard Fischer  <aldot@gcc.gnu.org>
692
693         * primary.c: Commentary typo fix; Add question about redundant (?)
694         set.
695
696 2007-04-14  Paul Thomas  <pault@gcc.gnu.org>
697
698         PR fortran/29507
699         PR fortran/31404
700         * expr.c (scalarize_intrinsic_call): New function to
701         scalarize elemental intrinsic functions in initialization
702         expressions.
703         (check_init_expr): Detect elemental intrinsic functions
704         in initalization expressions and call previous.
705
706 2007-04-13  Tobias Burnus  <burnus@net-b.de>
707
708         PR fortran/31559
709         * primary.c (match_variable): External functions
710         are no variables.
711
712 2007-04-13  Paul Thomas  <pault@gcc.gnu.org>
713
714         PR fortran/31550
715         * trans-types.c (copy_dt_decls_ifequal): Do not get pointer
716         derived type components.
717
718 2007-04-13  Tobias Schlüter  <tobi@gcc.gnu.org>
719
720         PR fortran/18937
721         * resolve.c: Include obstack.h and bitmap.h.  New variable
722         labels_obstack.
723         (code_stack): Add tail and reachable_labels fields.
724         (reachable_labels): New function.
725         (resolve_branch): Rework to use new fields in code_stack.
726         (resolve_code): Call reachable_labels.
727         (resolve_codes): Allocate and free labels_obstack.
728
729 2007-04-12  Tobias Schlüter  <tobi@gcc.gnu.org>
730
731         PR fortran/31250
732         * decl.c (match_char_spec): Move check for negative CHARACTER
733         length ...
734         * resolve.c (resolve_charlen): ... here.
735         (resolve_types): Resolve CHARACTER lengths earlier.
736
737 2007-04-12  Daniel Franke  <franke.daniel@gmail.com>
738
739         PR fortran/31234
740         * intrinsic.texi (RANDOM_SEED, RANDOM_NUMBER): New.
741
742 2007-04-12  Tobias Schlüter  <tobi@gcc.gnu.org>
743
744         PR fortran/31266
745         * primary.c (gfc_variable_attr): Don't copy string length if it
746         doesn't make sense.
747         * resolve.c (resolve_code): Clarify error message.
748
749         PR fortran/31471
750         * decl.c (gfc_match_end): Also check for construct name in END
751         FORALL and END WERE statements.
752         * match.c (match_case_eos): Use uppercase for statement name in
753         error message.
754         (match_elsewhere): Construct name may appear iff construct has a
755         name.
756
757         * trans-types.c: Update copyright years.  Reformat long comment
758         explaining array descriptor format.  Remove obsolete mention of
759         TYPE_SET.
760
761         * arith.c (gfc_arith_uplus): Rename to ...
762         (gfc_arith_identity): ... this.
763         (gfc_parentheses): New function.
764         (gfc_uplus): Adapt to renamed function.
765         * arith.h (gfc_parentheses): Add prototype.
766         * expr.c (gfc_copy_expr): Deal with INTRINSIC_PARENTHESES.
767         (simplifiy_intrinsic_op): Treat INTRINSIC_UPLUS separately from
768         INTRINSIC_PARENTHESES.
769
770 2007-04-12  Tobias Burnus  <burnus@net-b.de>
771
772         PR fortran/31472
773         * decl.c (match_attr_spec): Allow PRIVATE/PUBLIC
774         attribute in type definitions.
775         (gfc_match_private): Allow PRIVATE statement only
776         in specification part of modules.
777         (gfc_match_public): Ditto for PUBLIC.
778         (gfc_match_derived_decl): Allow PRIVATE/PUBLIC attribute only in
779         specificification part of modules.
780
781 2007-04-07  Paul Thomas  <pault@gcc.gnu.org>
782
783         PR fortran/31257
784         * intrinsic.c (add_functions): Add ref. to gfc_resolve_achar.
785         * intrinsic.h : Add prototype for gfc_resolve_achar.
786         * iresolve.c (gfc_resolve_achar): New function.
787
788 2007-04-07  Paul Thomas  <pault@gcc.gnu.org>
789
790         PR fortran/30880
791         * resolve.c (resolve_fl_variable): Set flag to 2 for automatic
792         arrays.  Make condition for automatic array error explicit.
793         If a dummy, no error on an INTENT(OUT) derived type.
794
795 2007-04-07  Paul Thomas  <pault@gcc.gnu.org>
796
797         PR fortran/30872
798         * expr.c (find_array_element): Correct arithmetic for rank > 1.
799
800 2007-04-07  Paul Thomas  <pault@gcc.gnu.org>
801
802         PR fortran/31222
803         * check.c (numeric_check): If an expresson has not got a type,
804         see if it is a symbol for which a default type applies.
805
806 2007-04-07  Paul Thomas  <pault@gcc.gnu.org>
807
808         PR fortran/31214
809         * trans-decl.c (gfc_get_symbol_decl): Allow unreferenced use
810         associated symbols.
811
812 2007-04-07  Paul Thomas  <pault@gcc.gnu.org>
813
814         PR fortran/31293
815         * symbol.c (gfc_check_function_type): New function.
816         * gfortran.h : Add prototype for previous.
817         * parse.c (parse_progunit): Call it after parsing specification
818         statements.
819
820 2007-04-05  Paul Thomas  <pault@gcc.gnu.org>
821
822         PR fortran/31483
823         * trans-expr.c (gfc_conv_function_call): Give a dummy
824         procedure the correct type if it has alternate returns.
825
826 2007-04-05  Paul Thomas  <pault@gcc.gnu.org>
827
828         PR fortran/31292
829         * decl.c (gfc_match_modproc): Go up to the top of the namespace
830         tree to find the module namespace for gfc_get_symbol.
831
832 2007-04-03  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
833
834         PR fortran/31304
835         * fortran/gfortran.h (gfc_charlen_int_kind): New prototype.
836         * fortran/trans-types.c (gfc_charlen_int_kind): New variable.
837         (gfc_init_types): Define gfc_charlen_int_kind. 
838         * fortran/trans.h (gfor_fndecl_string_repeat): Remove prototype.
839         * fortran/trans-decl.c (gfor_fndecl_string_repeat): Delete.
840         (gfc_build_intrinsic_function_decls): Don't set
841         gfor_fndecl_string_repeat.
842         * fortran/trans-intrinsic.c (gfc_conv_intrinsic_repeat): Rewrite
843         so that we don't have to call a library function.
844         * fortran/simplify.c (gfc_simplify_repeat): Perform the necessary
845         checks on the NCOPIES argument, and work with arbitrary size
846         arguments.
847
848 2007-03-31  Tobias Burnus  <burnus@net-b.de>
849
850         * intrinsic.c (add_functions): Fix name of dummy argument
851           for new_line and exit intrinsic.
852
853 2007-03-31  Paul Thomas  <pault@gcc.gnu.org>
854
855         PR fortran/31160
856         * gfortran.texi: Add a section for the %VAL, %REF and %LOC
857         extensions.
858
859 2007-03-30  Rafael Avila de Espindola  <espindola@google.com>
860
861         * trans-types.c (gfc_signed_or_unsigned_type): Remove.
862         (gfc_unsigned_type): Use get_signed_or_unsigned_type instead of
863         gfc_signed_or_unsigned_type.
864         (gfc_signed_type): Ditto.
865         * trans-types.h (gfc_signed_or_unsigned_type): Remove.
866         * f95-lang.c (LANG_HOOKS_SIGNED_OR_UNSIGNED_TYPE): Remove.
867
868 2007-03-30  Tobias Schlüter  <tobi@gcc.gnu.org>
869
870         * symbol.c (gfc_find_gsymbol): Simplify, don't unconditionally
871         descend into all branches.
872
873 2007-03-29  Tobias Schlüter  <tobi@gcc.gnu.org>
874
875         * intrinsic.c (conv_name): Let gfc_get_string handle the format.
876         (find_conv): Compare pointers instead of calling strcmp.
877         (find_sym): Likewise, but ensure that the compared pointer is in
878         the global string table.
879
880 2007-03-28  Tobias Schlüter  <tobi@gcc.gnu.org>
881
882         * gfc-internals.texi: Fix output filename.  Merge type index into
883         concept index.  Start documentation of gfc_code structure.
884
885 2007-03-26  Brooks Moses  <brooks.moses@codesourcery.com>
886
887         * gfc-internals.texi: New file,
888         * Make-lang.in: Add rules to convert it to dvi, pdf, and info.
889
890 2007-03-26  Brooks Moses  <brooks.moses@codesourcery.com>
891  
892         * error.c (show_locus): Remove always-false test.
893
894 2007-03-26  Brooks Moses  <brooks.moses@codesourcery.com>
895
896         * lang.opt: Minor edits to descriptions.
897
898 2007-03-25  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
899
900         PR fortran/30877
901         * fortran/interface.c (check_operator_interface): Implement
902         the standard checks on user operators extending intrinsic operators.
903         * fortran/resolve.c (resolve_operator): If the ranks of operators
904         don't match, don't error out but try the user-defined ones first.
905
906 2007-03-24  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
907
908         PR fortran/30655
909         * expr.c (check_dimension): Fix logic of comparisons.
910
911 2007-03-24  Paul Thomas  <pault@gcc.gnu.org>
912
913         PR fortran/31215
914         * trans-expr.c (gfc_apply_interface_mapping_to_expr): Return
915         int result that is non-zero if the expression is the function
916         result.  Only the characteristics of the result expression
917         can be used in a procedure interface, so simplify LEN in situ
918         using its character length.
919
920         PR fortran/31209
921         PR fortran/31200
922         * trans-expr.c (gfc_conv_function_call): Do not use
923         gfc_conv_expr_reference for actual pointer function with formal
924         target because a temporary is created that does not transfer
925         the reference correctly.  Do not indirect formal pointer
926         functions since it is the function reference that is needed.
927
928 2007-03-24  Brooks Moses  <brooks.moses@codesourcery.com>
929
930         * gfortran.h: Edit comments on GFC_STD_*.
931
932 2007-03-23  Brooks Moses  <brooks.moses@codesourcery.com>
933
934         * invoke.texi: Misc. small typo fixes.
935         (-Wcharacter-truncation): Add.
936         (-Wnonstd-intrinsics): Correct spelling.
937         (-std=): Edit.
938         (-fintrinsic-modules-path): Add.
939
940 2007-03-23  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
941
942         PR fortran/30834
943         * arith.c (complex_pow): Rewrite to handle large power.
944         (gfc_arith_power): Handle large power in the real and integer
945         cases.
946
947 2007-03-22  Francois-Xavier Coudert  <coudert@clipper.ens.fr>
948
949         PR fortran/31262
950         * trans-const.c (gfc_conv_mpz_to_tree): Allow integer constants
951         larger than twice the width of a HOST_WIDE_INT.
952
953 2006-03-22  Paul Thomas  <pault@gcc.gnu.org>
954
955         PR fortran/31193
956         * trans-intrinsic.c (gfc_size_in_bytes): Remove function.
957         (gfc_conv_intrinsic_array_transfer): Remove calls to previous.
958         Explicitly extract TREE_TYPEs for source and mold.  Use these
959         to calculate length of source and mold, except for characters,
960         where the se string_length is used.  For mold, the TREE_TYPE is
961         recalculated using gfc_get_character_type_len so that the
962         result is correctly cast for character literals and substrings.
963         Do not use gfc_typenode_for_spec for the final cast.
964
965 2007-03-22  Tobias Schlüter  <tobi@gcc.gnu.org>
966
967         PR fortran/20897
968         * decl.c (gfc_match_derived_decl): Reliably reject
969         'doubleprecision' and 'doublecomplex' as type names.
970
971 2007-03-19  Francois-Xavier Coudert  <coudert@clipper.ens.fr>
972
973         PR fortran/31203
974         * trans-expr.c (gfc_trans_init_string_length): Length should
975         never be negative.
976         (gfc_conv_function_call): Likewise.
977
978 2007-03-18  Paul Thomas  <pault@gcc.gnu.org>
979
980         PR fortran/30531
981         PR fortran/31086
982         * symbo.c : Add gfc_derived_types.
983         (gfc_free_dt_list): Free derived type list gfc_derived_types.
984         (gfc_free_namespace): Remove call to gfc_free_dt_list.
985         (gfc_symbol_done_2): Call  gfc_free_dt_list.
986         * gfortran.h : Declare gfc_derived_types to be external. Remove
987         derived types field from gfc_namespace.
988         * resolve.c (resolve_fl_derived): Refer to gfc_derived types
989         rather than namespace derived_types.
990         (resolve_fntype): Remove special treatment for module
991         derived type functions.
992         * trans-types.c (gfc_get_derived_type): Remove search for like
993         derived types.  Finish by copying back end declaration to like
994         derived types in the derived type list gfc_derived_types.
995
996         2007-03-17  Francois-Xavier Coudert  <coudert@clipper.ens.fr>
997
998         PR fortran/31120
999         * trans-expr.c (gfc_conv_powi): Make n argument unsigned hwi.
1000         (gfc_conv_cst_int_power): Handle integer exponent with care,
1001         since it might be too large for us.
1002
1003 2007-03-17  Francois-Xavier Coudert  <coudert@clipper.ens.fr>
1004
1005         PR fortran/31184
1006         * invoke.texi: Fix typo.
1007
1008 2007-03-16  Tobias Burnus  <burnus@net-b.de>
1009
1010         * trans-decl.c (gfc_generate_function_code): Use all arguments of
1011           set_std.
1012
1013 2007-03-15  Francois-Xavier Coudert  <coudert@clipper.ens.fr>
1014
1015         * gfortran.h (gfc_option_t): Add flag_backtrace field.
1016         * lang.opt: Add -fbacktrace option.
1017         * invoke.texi: Document the new option.
1018         * trans-decl.c (gfc_build_builtin_function_decls): Add new
1019         option to the call to set_std.
1020         * options.c (gfc_init_options, gfc_handle_option): Handle the
1021         new option.
1022
1023 2007-03-15  Tobias Burnus  <burnus@gcc.gnu.org>
1024             Paul Thomas  <pault@gcc.gnu.org>
1025
1026         PR fortran/30922
1027         * decl.c (gfc_match_import): If the parent of the current name-
1028         space is null, try looking for an imported symbol in the parent
1029         of the proc_name interface.
1030         * resolve.c (resolve_fl_variable): Do not check for blocking of
1031         host association by a same symbol, if the symbol is in an
1032         interface body.
1033
1034 2007-03-15  Paul Thomas  <pault@gcc.gnu.org>
1035
1036         PR fortran/30879
1037         * decl.c (match_data_constant): Before going on to try to match
1038         a name, try to match a structure component.
1039
1040
1041         PR fortran/30870
1042         * resolve.c (resolve_actual_arglist): Do not reject a generic
1043         actual argument if it has a same name specific interface.
1044
1045         PR fortran/31163
1046         * trans-array.c (parse_interface): Do not nullify allocatable
1047         components if the symbol has the saved attribute.
1048
1049 2007-03-14  Francois-Xavier Coudert  <coudert@clipper.ens.fr>
1050
1051         * trans-array.c (gfc_trans_auto_array_allocation): Replace
1052         fold(convert()) by fold_convert().
1053         (gfc_duplicate_allocatable): Likewise.
1054         * trans-intrinsic.c (gfc_conv_intrinsic_dot_product): Use
1055         build_int_cst instead of converting an integer_zero_node
1056         to the final type.
1057
1058 2007-03-14  Jakub Jelinek  <jakub@redhat.com>
1059
1060         * module.c (mio_typespec): Don't look at ts->cl if not BT_CHARACTER.
1061
1062 2007-03-13  Brooks Moses  <brooks.moses@codesourcery.com>
1063
1064         PR fortran/30933
1065         PR fortran/30948
1066         PR fortran/30953
1067         * intrinsics.texi (CHDIR): Fix argument names, note
1068         that STATUS must be a default integer.
1069         (CTIME): Fix argument names, note that RESULT must
1070         be a default integer.
1071         (EXIT): Note that STATUS must be a default integer.
1072
1073 2007-03-13  Brooks Moses  <brooks.moses@codesourcery.com>
1074
1075         PR fortran/28068
1076         * intrinsic.texi: General whitespace cleanup, remove
1077         comment about missing intrinsics.
1078         (menu): Add lines for new entries listed below.
1079         (ACOSH): Mention specific function DACOSH, correct
1080         description phrasing.
1081         (ASINH): Mention specific function DASINH, correct
1082         description phrasing.
1083         (ATANH): Mention specific function DATANH, correct
1084         description phrasing.
1085         (COS): Add index entry for CCOS.
1086         (CPU_TIME): Correct "REAL" to "REAL(*)".
1087         (EXP): Add index entry for CEXP.
1088         (INT): Correct argument name to "A".
1089         (INT2): New entry.
1090         (INT8): New entry.
1091         (LONG): New entry.
1092         (MAX): Add index entries for specific variants.
1093         (MCLOCK): New entry.
1094         (MCLOCK8): New entry.
1095         (SECNDS): Adjust to a more standard form.
1096         (SECOND): New entry.
1097         (TIME): Add cross-reference to MCLOCK.
1098         (TIME8): Add cross-reference to MCLOCK8.
1099
1100 2007-03-11  Paul Thomas  <pault@gcc.gnu.org>
1101
1102         PR fortran/30883
1103         * parse.c (parse_interface): Use the default types from the
1104         formal namespace if a function or its result do not have a type
1105         after parsing the specification statements.
1106
1107 2007-03-08  Brooks Moses  <brooks.moses@codesourcery.com>
1108
1109         * intrinsic.texi: (ICHAR) Improve internal I/O note.
1110         (ACHAR): Reference it.
1111         (CHAR): Reference it.
1112         (IACHAR): Reference it.
1113
1114 2007-03-08  Brooks Moses  <brooks.moses@codesourcery.com>
1115
1116         * intrinsic.texi: (LINK) Document function form.
1117         (RENAME): Likewise.
1118         (SYMLNK): Likewise.
1119         (SYSTEM): Likewise.
1120         (UNLINK): Likewise.
1121
1122 2007-03-08  Brooks Moses  <brooks.moses@codesourcery.com>
1123
1124         * intrinsic.texi: minor typo fixes, removed prologue.
1125         (FSEEK): moved to correct place in alphabetical order.
1126
1127 2007-03-08  Daniel Franke  <franke.daniel@gmail.com>
1128
1129         PR fortran/30947
1130         * check.c (gfc_check_alarm_sub): Added check for default integer 
1131         kind of status argument.
1132         * iresolve.c (gfc_resolve_alarm_sub): Removed conversion of 
1133         status argument.
1134         * intrinsic.texi (ALARM): Extended documentation.
1135
1136 2007-03-08  Daniel Franke  <franke.daniel@gmail.com>
1137
1138         * intrinsic.texi (GERROR, ISATTY, TTYNAM): New.
1139         (ABORT, FLUSH, FNUM, IRAND, MALLOC, SIGNAL, SRAND): Fixed typo.
1140         * intrinsic.c (add_subroutines): Adjusted dummy argument names 
1141         of GERROR and TTYNAM.
1142
1143 2007-07-08  Tobias Burnus  <burnus@net-b.de>
1144
1145         * module.c (gfc_match_use): Support renaming of operators
1146         in USE statements.
1147         * gfortran.texi (Fortran 2003 Status): Document support of
1148         renaming of operators.
1149
1150 2007-07-08  Tobias Burnus  <burnus@net-b.de>
1151
1152         PR fortran/30973
1153         * module.c (read_module): Always import module name as symbol.
1154         (gfc_match_use): Disallow module name in the only clause of
1155         a use statement.
1156
1157 2007-03-08  Paul Thomas  <pault@gcc.gnu.org>
1158
1159         PR fortran/31011
1160         * expr.c (find_array_section): Correct arithmetic for section
1161         size.
1162
1163 2007-03-07  Brooks Moses  <brooks.moses@codesourcery.com>
1164
1165         * iresolve.c (gfc_resolve_ishftc): Correct s_kind value.
1166
1167 2007-03-06  Daniel Franke  <franke.daniel@gmail.com>
1168
1169         PR documentation/30950
1170         * intrinsic.texi (AND, CPU_TIME): Fix dummy argument names.
1171         (FREE): Fix call syntax.
1172
1173 2007-03-06  Brooks Moses  <brooks.moses@codesourcery.com>
1174
1175         * intrinsic.texi: Limit column widths to a total of .85.
1176
1177 2007-03-05  Brooks Moses  <brooks.moses@codesourcery.com>
1178
1179         * gfortran.texi (GFortran and G77): Rewrite completely.
1180
1181 2007-03-05  Brooks Moses  <brooks.moses@codesourcery.com>
1182
1183         * match.c (gfc_match_name): Expanded comment.
1184
1185 2007-03-05  Brooks Moses  <brooks.moses@codesourcery.com>
1186
1187         * gfortran.texi (Old-style kind specifications): Document
1188         special handling of old-style kind specifiers for COMPLEX.
1189         * decl.c (gfc_match_old_kind_spec): Document kind/bytesize
1190         assumptions for COMPLEX in comment.
1191
1192 2007-03-05  Brooks Moses  <brooks.moses@codesourcery.com>
1193
1194         PR 31050
1195         * gfortranspec.c (lang_specific_driver): Update program
1196         name and copyright date.
1197
1198 2007-03-03  Paul Thomas  <pault@gcc.gnu.org>
1199
1200         PR fortran/30882
1201         * check.c (dim_rank_check): The shape of subsections of
1202         assumed-size arrays is known.
1203
1204 2007-03-02  Paul Thomas  <pault@gcc.gnu.org>
1205             Tobias Burnus  <burnus@net-b.de>
1206
1207         PR fortran/30873
1208         * decl.c (gfc_match_entry): Remove erroneous entry result check.
1209
1210 2007-03-01  Brooks Moses  <brooks.moses@codesourcery.com>
1211
1212         * Make-lang.in: Add install-pdf target as copied from
1213         automake v1.10 rules.
1214
1215 2007-03-01  Tobias Burnus  <burnus@net-b.de>
1216
1217         PR fortran/30865
1218         * trans-intrinsic.c (gfc_conv_intrinsic_size): Compare pointers.
1219
1220 2007-02-28  Tobias Burnus  <burnus@net-b.de>
1221             Paul Thomas  <pault@gcc.gnu.org>
1222
1223         PR fortran/30888
1224         PR fortran/30887
1225         * resolve.c (resolve_actual_arglist): Allow by-value
1226         arguments and non-default-kind for %VAL().
1227         * trans-expr.c (conv_arglist_function): Allow
1228         non-default-kind for %VAL().
1229
1230 2007-02-28  Tobias Burnus  <burnus@net-b.de>
1231
1232         PR fortran/30968
1233         * primary.c (next_string_char): Correct reading a character
1234         after the delimiter.
1235         (match_string_constant): Print warning message only once.
1236
1237 2007-02-27  Richard Guenther  <rguenther@suse.de>
1238
1239         * trans-array.c (structure_alloc_comps): Use correct type
1240         for null pointer constant.
1241
1242 2007-02-26  Brooks Moses  <brooks.moses@codesourcery.com>
1243
1244         * gfortran.texi: Standardize title page, remove version number
1245         from copyright page.
1246
1247 2007-02-26  Thomas Koenig  <Thomas.Koenig@online.de>
1248             Paul Thomas  <pault@gcc.gnu.org>
1249
1250         PR fortran/30865
1251         * trans-intrinsic.c (gfc_conv_intrinsic_size):
1252         If dim is an optional argument, check for its
1253         presence and call size0 or size1, respectively.
1254
1255 2007-02-23  Paul Thomas <pault@gcc.gnu.org>
1256
1257         PR fortran/30660
1258         * resolve.c (has_default_initializer): New function.
1259         (resolve_fl_variable): Call has_default_initializer to determine if
1260         the derived type has a default initializer to its ultimate
1261         components.
1262
1263
1264 2007-02-22  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
1265
1266         * options.c (set_default_std_flags): New function to consolidate
1267         setting the flags.
1268         (gfc_init_options): Use new function.
1269         (gfc_handle_option): Use new function.
1270
1271 2007-02-22  Brooks Moses  <brooks.moses@codesourcery.com>
1272
1273         * gfortran.texi (Old-style kind specifications): Document
1274         special handling of old-style kind specifiers for COMPLEX.
1275         * decl.c (gfc_match_old_kind_spec): Documented kind/bytesize
1276         assumptions in comment.
1277
1278 2007-02-21  Bernhard Fischer  <aldot@gcc.gnu.org>
1279
1280         * parse.c (next_free): Gooble spaces after OpenMP sentinel.
1281
1282 2007-02-20  Thomas Koenig  <Thomas.Koenig@online.de>
1283
1284         PR fortran/30869
1285         * match.c (gfc_match_iterator): Remove conflict between
1286         loop variable and pointer.
1287
1288 2007-02-20  Tobias Burnus  <burnus@net-b.de>
1289
1290         PR fortran/30522
1291         * symbol.c (gfc_add_volatile): Allow to set VOLATILE
1292           attribute for host-associated variables.
1293         * gfortran.h (symbol_attribute): Save namespace
1294           where VOLATILE has been set.
1295         * trans-decl.c (gfc_finish_var_decl): Move variable
1296           declaration to the top.
1297
1298 2007-02-20  Tobias Burnus  <burnus@net-b.de>
1299
1300         PR fortran/30783
1301         * resolve.c (resolve_symbol): Add character dummy VALUE check.
1302
1303 2007-02-19  Thomas Koenig  <Thomas.Koenig@online.de>
1304
1305         PR libfortran/30533
1306         * fortran/iresolve.c (gfc_resolve_maxloc): Remove coercion of
1307         argument to default integer.
1308         (gfc_resolve_minloc): Likewise.
1309
1310 2007-02-18  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
1311
1312         PR fortran/30681
1313         * options.c (gfc_init_options): Relax warning level for obsolescent.
1314         * match.c (match_arithmetic_if): Change to obsolescent from deleted.
1315         (gfc_match_if): Same.
1316
1317 2007-02-18  Roger Sayle  <roger@eyesopen.com>
1318
1319         * trans-array.c (gfc_build_constant_array_constructor): When the
1320         shape of the constructor is known, use that to construct the
1321         gfc_array_spec.
1322         (gfc_trans_constant_array_constructor): Initialize the "info"
1323         information for all of the dimensions of the array constructor.
1324         (constant_array_constructor_loop_size): New function.
1325         (gfc_trans_array_constructor): Use it to determine whether a
1326         loop is suitable for "constant array constructor" optimization.
1327
1328         * trans-intrinsic.c (gfc_conv_intrinsic_anyall): Use fold_build2
1329         instead of build2, to avoid conditions like "(a != b) != 0".
1330
1331 2007-02-18  Roger Sayle  <roger@eyesopen.com>
1332             Paul Thomas <pault@gcc.gnu.org>
1333
1334         PR fortran/30400
1335         * match.c (match_forall_iterator): Use gfc_match_expr instead
1336         of gfc_match_variable to match the iterator variable.  Return
1337         MATCH_NO if not a variable.  Remove the reset of the symbol's
1338         flavor in cleanup.
1339
1340 2007-02-16  Tobias Burnus  <burnus@net-b.de>
1341
1342         PR fortran/30793
1343         * trans-decl.c (gfc_generate_function_code): Do not initialize
1344         pointers to derived components.
1345
1346 2007-02-15  Sandra Loosemore  <sandra@codesourcery.com>
1347             Brooks Moses  <brooks.moses@codesourcery.com>
1348             Lee Millward  <lee.millward@codesourcery.com>
1349
1350         * trans-expr.c (gfc_conv_power_op): Use build_call_expr.
1351         (gfc_conv_string_tmp): Likewise.
1352         (gfc_conv_concat_op): Likewise.
1353         (gfc_build_compare_string): Likewise.
1354         (gfc_conv_function_call): Use build_call_list instead of build3.
1355
1356         * trans-array.c (gfc_trans_allocate_array_storage): Use
1357         build_call_expr.
1358         (gfc_grow_array): Likewise.
1359         (gfc_trans_array_ctor_element): Likewise.
1360         (gfc_trans_array_constructor_value): Likewise.
1361         (gfc_array_allocate): Likewise.
1362         (gfc_array_deallocate): Likewise.
1363         (gfc_trans_auto_array_allocation): Likewise.
1364         (gfc_trans_dummy_array_bias): Likewise.
1365         (gfc_conv_array_parameter): Likewise.
1366         (gfc_trans_dealloc_allocated): Likewise.
1367         (gfc_duplicate_allocatable): Likewise.
1368
1369         * trans-openmp.c (gfc_trans_omp_barrier): Use build_call_expr.
1370         (gfc_trans_omp_flush): Likewise.
1371
1372         * trans-stmt.c (gfc_conv_elementel_dependencies): Use build_call_expr.
1373         (gfc_trans_pause): Likewise.
1374         (gfc_trans_stop): Likewise.
1375         (gfc_trans_character_select): Likewise.
1376         (gfc_do_allocate): Likewise.
1377         (gfc_trans_assign_need_temp): Likewise.
1378         (gfc_trans_pointer_assign_need_temp): Likewise.
1379         (gfc_trans_forall_1): Likewise.
1380         (gfc_trans_where_2): Likewise.
1381         (gfc_trans_allocate): Likewise.
1382         (gfc_trans_deallocate): Likewise.
1383
1384         * trans.c (gfc_trans_runtime_check): Use build_call_expr.
1385
1386         * trans-io.c (gfc_trans_open): Use build_call_expr.
1387         (gfc_trans_close): Likewise.
1388         (build_filepos): Likewise.
1389         (gfc_trans_inquire): Likewise.
1390         (NML_FIRST_ARG): Delete.
1391         (NML_ADD_ARG): Delete.
1392         (transfer_namelist_element): Use build_call_expr.
1393         (build_dt): Likewise.
1394         (gfc_trans_dt_end): Likewise.
1395         (transfer_expr): Likewise.
1396         (transfer_array-desc): Likewise.
1397
1398         * trans-decl.c (gfc_generate_function_code): Use build_call_expr.
1399         (gfc_generate_constructors): Likewise.
1400
1401         * trans-intrinsic.c (gfc_conv_intrinsic_ctime): Use build_call_expr.
1402         (gfc_conv_intrinsic_fdate): Likewise.
1403         (gfc_conv_intrinsic_ttynam): Likewise.
1404         (gfc_conv_intrinsic_array_transfer): Likewise.
1405         (gfc_conv_associated): Likewise.
1406         (gfc_conv_intrinsic_si_kind): Likewise.
1407         (gfc_conv_intrinsic_trim): Likewise.
1408         (gfc_conv_intrinsic_repeat: Likewise.
1409         (gfc_conv_intrinsic_iargc): Likewise.
1410
1411 2007-02-14  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
1412
1413         PR fortran/30779
1414         * scanner.c (gfc_next_char_literal): Add check for end of file after
1415         call to advance_line.
1416
1417 2007-02-14  Steven G. Kargl  <kargl@gcc.gnu.org>
1418
1419         PR fortran/30799
1420         * primary.c (match_logical_constant): Return MATCH_ERROR on invalid
1421         kind.
1422
1423 2007-02-14  Steven G. Kargl  <kargl@gcc.gnu.org>
1424
1425         * misc.c (gfc_typename): Fix potential buffer overflow.
1426
1427 2007-02-13  Paul Thomas  <pault@gcc.gnu.org>
1428
1429         PR fortran/30554
1430         * module.c (read_module): Set pointer_info to referenced if the
1431         symbol has no namespace.
1432
1433 2007-02-12  Nick Clifton  <nickc@redhat.com>
1434
1435         * lang.opt: Add Warning attribute to warning options.
1436
1437 2007-02-11  Daniel Franke  <franke.daniel@gmail.com>
1438
1439         * intrinsic.texi (HOSTNM): Fix typographical error in syntax.
1440         (SLEEP): Added section and documentation.
1441
1442 2007-02-11  Tobias Schlüter  <tobi@gcc.gnu.org>
1443
1444         PR fortran/30478
1445         * decl.c (add_init_expr_to_sym): Remove ENUM specific code.
1446         (variable_decl): Likewise.  Rewrap comment.
1447         (match_attr_spec): Remove ENUM specific code.
1448         (gfc_match_enum): Fix typo in error message.
1449         (enumerator_decl): New function.
1450         (gfc_match_enumerator_def): Use enumerator_decl instead of
1451         variable_decl.  Adapt code accordingly.
1452
1453 2007-02-11  Paul Thomas  <pault@gcc.gnu.org>
1454
1455         PR fortran/30554
1456         * module.c (find_symtree_for_symbol): New function to return
1457         a symtree that is not a "unique symtree" given a symbol.
1458         (read_module): Do not automatically set pointer_info to
1459         referenced because this inhibits the generation of a unique
1460         symtree.  Recycle the existing symtree if possible by calling
1461         find_symtree_for_symbol.
1462
1463         PR fortran/30319
1464         * decl.c (add_init_expr_to_sym): Make new charlen for an array
1465         constructor initializer.
1466
1467 2007-02-10  Richard Henderson  <rth@redhat.com>, Jakub Jelinek  <jakub@redhat.com>
1468
1469         * f95-lang.c (gfc_init_builtin_functions): Add __emutls_get_address
1470         and __emutls_register_common.
1471         * openmp.c (gfc_match_omp_threadprivate): Don't error if !have_tls.
1472         * trans-common.c (build_common_decl): Don't check have_tls.
1473         * trans-decl.c (gfc_finish_var_decl): Likewise.
1474         * types.def (BT_WORD, BT_FN_PTR_PTR): New.
1475         (BT_FN_VOID_PTR_WORD_WORD_PTR): New.
1476
1477 2007-02-09  Tobias Burnus  <burnus@net-b.de>
1478
1479         PR fortran/30512
1480         * trans-intrinsic.c (gfc_conv_intrinsic_minmaxloc,
1481           gfc_conv_intrinsic_minmaxval): Use HUGE-1 for most negative integer.
1482
1483 2007-02-09  Francois-Xavier Coudert  <coudert@clipper.ens.fr>
1484
1485         PR fortran/30720
1486         * trans-array.c (gfc_trans_create_temp_array): Remove use of the
1487         function argument. Always generate code for negative extent.
1488         Simplify said code.
1489         * trans-array.h (gfc_trans_create_temp_array): Change prototype.
1490         * trans-expr.c (gfc_conv_function_call): Remove use of last argument
1491         of gfc_trans_create_temp_array.
1492         * trans-intrinsic.c (gfc_conv_intrinsic_array_transfer): Likewise.
1493         * trans-stmt.c (gfc_conv_elemental_dependencies): Likewise.
1494
1495 2007-02-08  Roger Sayle  <roger@eyesopen.com>
1496
1497         * trans-stmt.c (gfc_trans_forall_1): Optimize the cases where the
1498         mask expression is a compile-time constant (".true." or ".false.").
1499
1500 2007-02-04  Francois-Xavier Coudert  <coudert@clipper.ens.fr>
1501
1502         PR fortran/30611
1503         * trans-intrinsic.c (gfc_conv_intrinsic_repeat): Evaluate
1504         arguments only once. Generate check that NCOPIES argument is not
1505         negative.
1506
1507 2007-02-04  Steven G. Kargl <kargl@gcc.gnu.org>
1508
1509         PR fortran/30605
1510         * fortran/invoke.texi: Update documentation.
1511         * fortran/options.c (gfc_post_options): Deal with tabs with -std=f2003
1512         and -pedantic.
1513
1514 2007-02-03  Kazu Hirata  <kazu@codesourcery.com>
1515
1516         * trans-array.c: Fix a comment typo.
1517
1518 2007-02-03  Paul Thomas  <pault@gcc.gnu.org>
1519
1520         PR fortran/30514
1521         * array.c (match_array_element_spec): If the length of an array is
1522         negative, adjust the upper limit to make it zero length.
1523
1524         PR fortran/30660
1525         * resolve.c (pure_function, resolve_function): Initialize name to
1526         null to clear up build warnings.
1527         (resolve_fl_variable): Look at components explicitly to check for
1528         default initializer, rather than using gfc_default_initializer.
1529
1530 2007-02-02  Steven G. Kargl <kargl@gcc.gnu.org>
1531
1532         PR fortran/30683
1533         * resolve.c (resolve_generic_f): Check for non-NULL sym.
1534
1535 2007-02-02  Roger Sayle  <roger@eyesopen.com>
1536
1537         * trans.c (gfc_build_array_ref): Use STRIP_TYPE_NOPS to eliminate
1538         NON_LVALUE_EXPR nodes and useless type conversions.
1539
1540 2007-02-02  Paul Thomas  <pault@gcc.gnu.org>
1541
1542         PR fortran/30284
1543         PR fortran/30626
1544         * trans-expr.c (gfc_conv_aliased_arg): Remove static attribute
1545         from function and make sure that substring lengths are
1546         translated.
1547         (is_aliased_array): Remove static attribute.
1548         * trans.c : Add prototypes for gfc_conv_aliased_arg and
1549         is_aliased_array.
1550         * trans-io.c (set_internal_unit): Add the post block to the
1551         arguments of the function.  Use is_aliased_array to check if
1552         temporary is needed; if so call gfc_conv_aliased_arg.
1553         (build_dt): Pass the post block to set_internal_unit and
1554         add to the block after all io activiy is done.
1555
1556 2007-02-01  Roger Sayle  <roger@eyesopen.com>
1557
1558         * trans-array.c (gfc_conv_expr_descriptor): We don't need to use
1559         a temporary array to pass a constant non-character array constructor.
1560         Generalize the descriptor generation code to handle scalarizer
1561         "info" without an array reference.
1562
1563 2007-02-01  Roger Sayle  <roger@eyesopen.com>
1564
1565         * dependency.c (gfc_check_dependency) <EXPR_ARRAY>: Implement
1566         dependency checking for array constructors.
1567
1568 2007-02-01  Roger Sayle  <roger@eyesopen.com>
1569
1570         * trans-stmt.c (compute_overall_iter_number): Document function
1571         arguments.  Generalize "unconditional forall nest with constant
1572         bounds" optimization to eliminate unconditional inner loops with
1573         constant bounds.
1574
1575 2007-01-31  Tobias Burnus  <burnus@net-b.de>
1576
1577         PR fortran/30520
1578         * interface.c (compare_actual_formal): Check conformance between
1579           actual and VOLATILE dummy arguments.
1580         * symbol.c (gfc_add_volatile): Allow setting of VOLATILE
1581           multiple times in different scopes.
1582         * decl.c (gfc_match_volatile): Search symbol in host association.
1583
1584 2007-01-31  Kazu Hirata  <kazu@codesourcery.com>
1585
1586         * simplify.c, trans-array.c: Fix comment typos.
1587
1588 2007-01-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1589
1590         * invoke.texi (Code Gen Options): Fix abbreviation typo.
1591         * intrinsic.texi (ACCESS, LSHIFT, RSHIFT): Fix typos.
1592
1593 2007-01-30  Steve Ellcey  <sje@cup.hp.com>
1594
1595         PR fortran/30432
1596         * trans-types.c (gfc_get_function_type): Do not add void_type_node
1597         to empty arg list.
1598         * trans-decl.c (create_function_arglist): Change assert.
1599
1600 2007-01-29  Paul Thomas  <pault@gcc.gnu.org>
1601
1602         PR fortran/30554
1603         * module.c (read_module): If a symbol is excluded by an ONLY
1604         clause, check to see if there is a symtree already loaded. If
1605         so, attach the symtree to the pointer_info.
1606
1607 2007-01-28  Thomas Koenig  <Thomas.Koenig@online.de>
1608
1609         PR libfortran/30389
1610         * gfortran.h: Remove gfc_simplify_init_1.
1611         * arith.h: Remove third argument from gfc_compare_string.
1612         * arith.c (gfc_compare_expression): Remove third argument
1613         from call to gfc_compare_string.
1614         (gfc_compare_string): Remove third argument xcoll_table.
1615         Remove use of xcoll_table.
1616         * misc.c (gfc_init_1): Remove call to gfc_simplify_init_1.
1617         * simplify.c (ascii_table): Remove.
1618         (xascii_table): Likewise.
1619         (gfc_simplify_achar): ICE if extract_int fails.  Remove use of
1620         ascii_table.  Warn if -Wsurprising and value < 0 or > 127.
1621         (gfc_simplify_char): ICE if extract_int fails. Error if
1622         value < 0 or value > 255.
1623         (gfc_simplify_iachar): Remove use of xascii_table.
1624         Char values outside of 0..255 are an ICE.
1625         (gfc_simplify_lge): Remove use of xascii_table.
1626         (gfc_simplify_lgt): Likewise.
1627         (gfc_simplify_lle): Likewise.
1628         (gfc_simplify_llt): Likewise.
1629         (invert_table): Remove.
1630         (gfc_simplify_init_1): Remove.
1631
1632 2007-01-27  Roger Sayle  <roger@eyesopen.com>
1633
1634         * trans-stmt.c (forall_info): Replace the next_nest and outer
1635         fields that previously implemented a doubly-linked list with a
1636         single prev_nest field (singly-linked list).
1637         (gfc_trans_nested_forall_loop): The nested_forall_info argument
1638         now denotes the innermost FORALL in the loop nest.
1639         (compute_overall_iter_number): Use prev_nest instead of next_nest.
1640         (gfc_trans_forall_1): Link/cons the new "info" to the head of the
1641         nested_forall_info linked list.  Free the current "info" when done.
1642
1643 2007-01-27  Paul Thomas  <pault@gcc.gnu.org>
1644
1645         PR fortran/30407
1646         * trans-expr.c (gfc_conv_operator_assign): New function.
1647         * trans.h : Add prototype for gfc_conv_operator_assign.
1648         * trans-stmt.c (gfc_trans_where_assign): Add a gfc_symbol for
1649         a potential operator assignment subroutine.  If it is non-NULL
1650         call gfc_conv_operator_assign instead of the first assignment.
1651         ( gfc_trans_where_2): In the case of an operator assignment,
1652         extract the argument expressions from the code for the
1653         subroutine call and pass the symbol to gfc_trans_where_assign.
1654         resolve.c (resolve_where, gfc_resolve_where_code_in_forall,
1655         gfc_resolve_forall_body): Resolve the subroutine call for
1656         operator assignments.
1657
1658 2007-01-26  Steven Bosscher  <stevenb.gcc@gmail.com>
1659             Steven G. Kargl <kargl@gcc.gnu.org>
1660
1661         PR fortran/30278
1662         * fortran/io.c (next_char): Deal with backslash escaped characters.
1663         Issue warnings in non -std=gnu cases.
1664         * fortran/primary.c (next_string_char): Issue warnings in non
1665
1666 2007-01-26  Tobias Burnus  <burnus@net-b.de>
1667
1668         * lang-specs.h: Add support for .f03 and .F03 extensions.
1669         * gfortran.texi: Document .f03 extension.
1670         * options.c (form_from_filename): Recognize .f03.
1671
1672 2007-01-25  Manuel Lopez-Ibanez  <manu@gcc.gnu.org>
1673
1674         PR fortran/30437
1675         * lang.opt (Wall): Remove RejectNegative.
1676         * options.c (gfc_handle_option): Wall can be disabled.
1677         (set_Wall): Add a parameter for disabling Wall.
1678         
1679 2007-01-23  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
1680
1681         PR fortran/30532
1682         * scanner.c (load_line): Remove check fot ctrl-z and don't gobble.
1683         
1684 2007-01-23  Paul Thomas  <pault@gcc.gnu.org>
1685
1686         PR fortran/30481
1687         * match.c (gfc_match_namelist): Add check for assumed size character
1688         in namelist and provide error if found.
1689
1690 2007-01-21  Brooks Moses  <brooks.moses@codesourcery.com>
1691
1692         * intrinsic.texi (ACHAR): Added cross-references.
1693         (CHAR): Put cross-references in alphabetical order.
1694         (IACHAR): Added cross-references.
1695         (ICHAR): Added cross-references.
1696
1697 2007-01-20  Brooks Moses  <brooks.moses@codesourcery.com>
1698
1699         * intrinsic.texi: Edited all "Syntax" examples to a consistent form.
1700         (MAXVAL): Corrected description of result characteristics.
1701         (MINVAL): Same.
1702         (UMASK): Added documentation.
1703
1704 2007-01-20  Steven G. Kargl  <kargl@gcc.gnu.org>
1705
1706         * openmp.c, matchexp.c, module.c, scanner.c, resolve.c, st.c,
1707         parse.c, primary.c, options.c, misc.c, simplify.c: Next installment
1708         in the massive whitespace patch.
1709
1710 2007-01-20  Roger Sayle  <roger@eyesopen.com>
1711
1712         * module.c (mio_array_ref): The dimen_type fields of an array ref
1713         are an enumerated type and can't be read/written directly with a
1714         call to mio_integer.  Instead loop over and cast each element.
1715
1716 2007-01-20  Roger Sayle  <roger@eyesopen.com>
1717
1718         * dependency.c (gfc_full_array_ref_p): Check that ref->next is NULL,
1719         i.e. that the ARRAY_REF doesn't mention components.
1720         * trans-array.c (gfc_constant_array_constructor_p): Export external
1721         function renamed from constant_array_constructor_p.
1722         (gfc_build_constant_array_constructor): Export.
1723         (gfc_trans_array_constructor): Update call to the renamed function
1724         constant_array_constructor_p.
1725         * trans-array.h (gfc_constant_array_constructor_p): Prototype here.
1726         (gfc_build_constant_array_constructor): Likewise.
1727         * trans-expr.c (gfc_build_memcpy_call): New helper function split
1728         out from gfc_trans_array_copy.
1729         (gfc_trans_array_copy): Use gfc_build_memcpy_call.
1730         (gfc_trans_array_constructor_copy): New function to optimize
1731         assigning an entire array from a constant array constructor.
1732         (gfc_trans_assignment): Call gfc_trans_array_constructor_copy
1733         when appropriate.
1734
1735 2007-01-20  Roger Sayle  <roger@eyesopen.com>
1736
1737         * trans-intrinsic.c (gfc_conv_intrinsic_sign): New branchless
1738         implementation for the SIGN intrinsic with integral operands.
1739         (gfc_conv_intrinsic_minmax): Fix whitespace.
1740
1741 2007-01-20  Francois-Xavier Coudert  <coudert@clipper.ens.fr>
1742
1743         * gfortran.h (gfc_options_t): Add flag_allow_leading_underscore.
1744         * lang.opt: Add -fallow-leading-underscore.
1745         * match.c (gfc_match_name): Allow leading underscore in symbol
1746         name if -fallow-leading-underscore is used.
1747         * symbol.c (gfc_get_default_type): Add special case for symbol
1748         names beginning with an underscore.
1749         * trans-decl.c (gfc_get_extern_function_decl,
1750         gfc_build_intrinsic_function_decls): Add _gfortran prefix to
1751         library symbols selected_int_kind, selected_real_kind and 
1752         all specifics.
1753         * options.c (gfc_init_options, gfc_handle_option): Handle the
1754         new -fallow-leading-underscore option.
1755
1756 2007-01-20  Francois-Xavier Coudert  <coudert@clipper.ens.fr>
1757
1758         PR fortran/30446
1759         * options.c (gfc_handle_module_path_options): Path used in -J
1760         option is now added to the module search path.
1761
1762 2007-01-20  Richard Guenther  <rguenther@suse.de>
1763
1764         PR fortran/30223
1765         * f95-lang.c (gfc_init_builtin_functions): Provide cbrt and
1766         cexpi builtins if we have TARGET_C99_FUNCTIONS.  Provide
1767         sincos builtins if the target has sincos.
1768
1769 2007-01-19  Brooks Moses  <brooks.moses@codesourcery.com>
1770
1771         * intrinsic.texi (MATMUL): Corrected a typo.
1772         (MAX): Separated @var arguments.
1773         (MIN): Separated @var arguments.
1774
1775 2007-01-19  Brooks Moses  <brooks.moses@codesourcery.com>
1776
1777         * intrinsic.texi: general whitespace cleanup.
1778         (menu): Added TIME8, removed UNMASK.
1779         (AINT): Clarified argument requirement.
1780         (ANINT): Clarified argument requirement.
1781         (CEILING): Clarified argument requirement.
1782         (CHAR): Clarified argument requirement.
1783         (CMPLX): Clarified argument requirement.
1784         (DCMPLX): Clarified argument requirement.
1785         (FGET): Line rewrapping.
1786         (FLOOR): Clarified argument requirement.
1787         (GMTIME): Added documentation.
1788         (IAND): Added cross-reference.
1789         (IBCLR): Added cross-reference.
1790         (IBSET): Added cross-reference.
1791         (IEOR): Added cross-reference.
1792         (INT): Collapsed examples, clarified argument requirement.
1793         (IOR): Added cross-references.
1794         (LEN_TRIM): Corrected result kind.
1795         (LINK): Added cross-reference.
1796         (LLT): Removed "documentation pending".
1797         (LOGICAL): Added documentation.
1798         (LSHIFT): Added documentation.
1799         (LTIME): Added documentation.
1800         (MATMUL): Added documentation.
1801         (MAX): Added documentation.
1802         (MAXLOC): Added documentation.
1803         (MAXVAL): Added documentation.
1804         (MERGE): Added documentation.
1805         (MIN): Added documentation.
1806         (MINLOC): Added documentation.
1807         (MINVAL): Added documentation.
1808         (MVBITS): Moved to correct place, added documentation.
1809         (NOT): Added documentation.
1810         (PERROR): Added documentation.
1811         (RAN): Moved to correct place, added documentation.
1812         (REAL): Clarified argument requirement.
1813         (RENAME): Added documentation.
1814         (RSHIFT): Clarified argument requirement.
1815         (SIGN): Corrected table specification.
1816         (SYMLNK): Added documentation.
1817         (SYSTEM): Added documentation.
1818         (TIME): Added documentation.
1819         (TIME8): Added section and documentation.
1820         (UNMASK): Removed erroneous section.
1821
1822 2007-01-18  H.J. Lu  <hongjiu.lu@intel.com>
1823
1824         * trans-stmt.c (compute_overall_iter_number): Fix a typo.
1825
1826 2007-01-18  Roger Sayle  <roger@eyesopen.com>
1827
1828         * trans-expr.c (copyable_array_p): Consider user derived types without
1829         allocatable components to be copyable.
1830
1831 2007-01-18  Roger Sayle  <roger@eyesopen.com>
1832
1833         * trans-stmt.c (compute_overall_iter_number): Enhance to precompute
1834         the number of interations in unconditional FORALL nests with constant
1835         bounds.
1836
1837 2007-01-18  Francois-Xavier Coudert  <coudert@clipper.ens.fr>
1838             Tobias Burnus  <burnus@net-b.de>
1839
1840         PR libfortran/29649
1841         * gfortran.h (gfc_option_t): Add flag_dump_core.
1842         * lang.opt: Add -fdump-core option.
1843         * invoke.texi: Document the new options.
1844         * trans-decl.c (gfc_build_builtin_function_decls): Add new
1845           options to the call to set_std.
1846         * options.c (gfc_init_options, gfc_handle_option): Set the
1847           new options.
1848
1849 2007-01-17  Paul Thomas  <pault@gcc.gnu.org>
1850
1851         PR fortran/30476
1852         * module.c (load_generic_interfaces): Make the marking of the
1853         symbol as ambiguous conditional on the module names being
1854         different.
1855         (write_generic): Ensure that the generic interface has a
1856         non-NULL module field.
1857
1858 2007-01-16  Roger Sayle  <roger@eyesopen.com>
1859
1860         PR fortran/30404
1861         * trans-stmt.c (forall_info): Remove pmask field.
1862         (gfc_trans_forall_loop): Remove NVAR argument, instead assume that
1863         NVAR covers all the interation variables in the current forall_info.
1864         Add an extra OUTER parameter, which specified the loop header in
1865         which to place mask index initializations.
1866         (gfc_trans_nested_forall_loop): Remove NEST_FLAG argument.
1867         Change the semantics of MASK_FLAG to only control the mask in the
1868         innermost loop.
1869         (compute_overall_iter_number): Optimize the trivial case of a
1870         top-level loop having a constant number of iterations.  Update
1871         call to gfc_trans_nested_forall_loop.  Calculate the number of
1872         times the inner loop will be executed, not to size of the 
1873         iteration space.
1874         (allocate_temp_for_forall_nest_1): Reuse SIZE as BYTESIZE when
1875         sizeof(type) == 1.  Tidy up.
1876         (gfc_trans_assign_need_temp): Remove NEST_FLAG argument from calls
1877         to gfc_trans_nested_forall_loop.
1878         (gfc_trans_pointer_assign_need_temp): Likewise.
1879         (gfc_trans_forall_1): Remove unused BYTESIZE, TMPVAR, SIZEVAR and
1880         LENVAR local variables.  Split mask allocation into a separate
1881         hunk/pass from mask population.  Use allocate_temp_for_forall_nest
1882         to allocate the FORALL mask with the correct size.  Update calls
1883         to gfc_trans_nested_forall_loop.
1884         (gfc_evaluate_where_mask): Update call to
1885         gfc_trans_nested_forall_loop.
1886         (gfc_trans_where_2): Likewise.
1887
1888 2007-01-15  Paul Thomas  <pault@gcc.gnu.org>
1889
1890         PR fortran/28172
1891         * trans-stmt.c (gfc_trans_call): If it does not have one, get
1892         a backend_decl for an alternate return.
1893
1894         PR fortran/29389
1895         * resolve.c (pure_function): Statement functions are pure. Note
1896         that this will have to recurse to comply fully with F95.
1897
1898         PR fortran/29712
1899         * resolve.c (resolve_function): Only a reference to the final
1900         dimension of an assumed size array is an error in an inquiry
1901         function.
1902
1903         PR fortran/30283
1904         * resolve.c (resolve_function): Make sure that the function
1905         expression has a type.
1906
1907 2007-01-14  Paul Thomas  <pault@gcc.gnu.org>
1908
1909         PR fortran/30410
1910         * trans-decl.c (gfc_sym_mangled_function_id): Module, external
1911         symbols must not have the module name prepended.
1912
1913 2007-01-11  Thomas Koenig  <Thomas.Koenig@online.de>
1914
1915         PR libfortran/30415
1916         * iresolve.c (gfc_resolve_maxloc): If the rank
1917         of the return array is nonzero and we process an
1918         integer array smaller than default kind, coerce
1919         the array to default integer.
1920         * iresolve.c (gfc_resolve_minloc): Likewise.
1921
1922 2007-01-11  Brooks Moses  <brooks.moses@codesourcery.com>
1923
1924         * simplify.c: Update copyright to 2007.
1925         * scanner.c: Same.
1926
1927 2007-01-11  Francois-Xavier Coudert  <coudert@clipper.ens.fr>
1928
1929         PR fortran/30430
1930         * scanner.c (gfc_release_include_path): Free gfc_option.module_dir
1931         only once!
1932
1933 2007-01-09  Brooks Moses  <brooks.moses@codesourcery.com>
1934
1935         * simplify.c (gfc_simplify_ibclr): Fix POS comparison.
1936         (gfc_simplify_ibset): Same.
1937
1938 2007-01-09  Brooks Moses  <brooks.moses@codesourcery.com>
1939
1940         PR 30381
1941         PR 30420
1942         * simplify.c (convert_mpz_to_unsigned): New function.
1943         (convert_mpz_to_signed): New function, largely based on
1944         twos_complement().
1945         (twos_complement): Removed.
1946         (gfc_simplify_ibclr): Add conversions to and from an
1947         unsigned representation before bit-twiddling.
1948         (gfc_simplify_ibset): Same.
1949         (gfc_simplify_ishftc): Add checks for overly large
1950         constant arguments, only check the third argument if
1951         it's present, carry over high bits into the result as
1952         appropriate, and perform the final conversion back to
1953         a signed representation using the correct sign bit.
1954         (gfc_simplify_not): Removed unnecessary masking.
1955
1956 2007-01-09  Paul Thomas  <pault@gcc.gnu.org>
1957
1958         PR fortran/30408
1959         * resolve.c (resolve_code): Use the code->expr character length
1960         directly to set length of llen.
1961
1962 2007-01-09  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
1963
1964         PR fortran/30408
1965         * lang.opt: Add Wcharacter_truncation option.
1966         * options.c (gfc_init_options): Initialize
1967         gfc_option.warn_character_truncation to zero.
1968         (gfc_handle_option): Add case for OPT_Wcharacter_truncation.
1969
1970 2007-01-08  Steven G. Kargl  <kargl@gcc.gnu.org>
1971
1972         * interface.c, intrinsic.c, gfortranspec.c, io.c, f95-lang.c,
1973         iresolve.c, match.c: Update Copyright years.  Whitespace.
1974
1975 2007-01-08  Richard Guenther  <rguenther@suse.de>
1976
1977         * trans-io.c (transfer_array_desc): Use build_int_cst instead
1978         of build_int_cstu.
1979
1980 2007-01-08  Roger Sayle  <roger@eyesopen.com>
1981
1982         * trans-array.c (constant_array_constructor_p): New function to
1983         determine whether an array constructor consists only of constant
1984         elements, and if so return it's size.
1985         (gfc_build_constant_array_constructor): Construct a statically
1986         initialized gfortran array for a given EXPR_ARRAY.
1987         (gfc_trans_constant_array_constructor): Efficiently scalarize
1988         a constant array constructor.
1989         (gfc_trans_array_constructor): Tidy up use of CONST_STRING.
1990         Special case scalarization of constant array constructors, all of
1991         whose elements are specified, using constant_array_constructor_p 
1992         and gfc_trans_constant_array_constructor.
1993         (gfc_conv_scalarized_array_ref): Check whetger info->offset is zero
1994         before adding it to index, to avoid creating a NON_LVALUE_EXPR.
1995
1996 2007-01-08  Kazu Hirata  <kazu@codesourcery.com>
1997
1998         gfortran.texi: Fix typos.
1999
2000 2007-01-07  Steven G. Kargl  <kargl@gcc.gnu.org>
2001
2002         * decl.c, dump-parse-tree.c, error.c, data.c, expr.c, dependency.c,
2003         convert.c: Update Copyright dates.  Fix whitespace.
2004
2005 2007-01-07  Bernhard Fischer  <aldot@gcc.gnu.org>
2006
2007         * data.c (gfc_assign_data_value): Fix whitespace.
2008
2009 2007-01-07  Bernhard Fischer  <aldot@gcc.gnu.org>
2010
2011         * trans-array.c (gfc_trans_create_temp_array, gfc_array_init_size):
2012         Commentary typo fix.
2013
2014 2007-01-07  Bernhard Fischer  <aldot@gcc.gnu.org>
2015
2016         PR fortran/27698
2017         * match.c (gfc_match_name): Print diagnostics for invalid
2018         character in names.
2019
2020 2007-01-06  Steven G. Kargl  <kargl@gcc.gnu.org>
2021
2022         * array.c: Fix whitespace in comment table.
2023
2024 2007-01-06  Steven G. Kargl  <kargl@gcc.gnu.org>
2025
2026         * array.c, bbt.c, check.c: Update copyright years.  Whitespace.
2027
2028 2007-01-06  Steven G. Kargl  <kargl@gcc.gnu.org>
2029
2030         * arith.c: Update copyright years.  Whitespace.
2031
2032 2007-01-05  Roger Sayle  <roger@eyesopen.com>
2033
2034         * trans-expr.c (gfc_trans_assignment_1): New subroutine to scalarize
2035         array assignments split out from gfc_trans_assignment.
2036         (gfc_trans_array_copy): New function to implement array to array
2037         copies via calls to __builtin_memcpy.
2038         (copyable_array_p): New helper function to identify an array of
2039         simple/POD types, that may be copied/assigned using memcpy.
2040         (gfc_trans_assignment): Use gfc_trans_array_copy to handle simple
2041         whole array assignments considered suitable by copyable_array_p.
2042         Invoke gfc_trans_assignment_1 to perform the fallback scalarization.
2043
2044 2007-01-05  Roger Sayle  <roger@eyesopen.com>
2045
2046         * trans-array.c (gfc_trans_array_constructor_value): Make the
2047         static const "data" array as TREE_READONLY.
2048         * trans-stmt.c (gfc_trans_character_select): Likewise.
2049
2050 2007-01-05  Roger Sayle  <roger@eyesopen.com>
2051
2052         * trans-array.c (gfc_conv_loop_setup): Test whether the loop
2053         stride is one, to avoid fold_build2 introducing a useless
2054         NON_LVALUE_EXPR node.
2055
2056 2007-01-05  Tobias Burnus  <burnus@net-b.de>
2057
2058         * symbol.c (check_conflict): Fix error message.
2059
2060 2007-01-05  Paul Thomas  <pault@gcc.gnu.org>
2061
2062         PR fortran/23232
2063         * decl.c (gfc_in_match_data, gfc_set_in_match_data): New
2064         functions to signal that a DATA statement is being matched.
2065         (gfc_match_data): Call gfc_set_in_match_data on entry and on
2066         exit.
2067         * gfortran.h : Add prototypes for above.
2068         * expr.c (check_init_expr): Avoid check on parameter or
2069         variable if gfc_in_match_data is true.
2070         (gfc_match_init_expr): Do not call error on non-reduction of
2071         expression if gfc_in_match_data is true.
2072
2073         PR fortran/27996
2074         PR fortran/27998
2075         * decl.c (gfc_set_constant_character_len): Add boolean arg to
2076         flag array constructor resolution.  Warn if string is being
2077         truncated.  Standard dependent error if string is padded. Set
2078         new arg to false for all three calls to
2079         gfc_set_constant_character_len.
2080         * match.h : Add boolean arg to prototype for
2081         gfc_set_constant_character_len.
2082         * gfortran.h : Add warn_character_truncation to gfc_options.
2083         * options.c (set_Wall): Set warn_character_truncation if -Wall
2084         is set.
2085         * resolve.c (resolve_code): Warn if rhs string in character
2086         assignment has to be truncated.
2087         * array.c (gfc_resolve_character_array_constructor): Set new
2088         argument to true for call to gfc_set_constant_character_len.
2089
2090 2007-01-05  Tobias Burnus  <burnus@net-b.de>
2091
2092         PR fortran/29624
2093         * interface.c (compare_parameter_intent): New function.
2094           (check_intents): Support pointer intents.
2095         * symbol.c (check_conflict): Support pointer intents,
2096           better conflict_std message.
2097         * expr.c (gfc_check_assign,gfc_check_pointer_assign):
2098           Support pointer intents.
2099         * resolve.c (resolve_deallocate_expr,resolve_allocate_expr):
2100           Support pointer intents.
2101
2102 2007-01-03  Brooks Moses  <brooks.moses@codesourcery.com>
2103
2104         PR 30371
2105         * check.c (gfc_check_kill_sub): Add checks for non-scalar
2106         arguments.
2107
2108 2007-01-04  Brooks Moses  <brooks.moses@codesourcery.com>
2109
2110         * intrinsic.texi: Minor cleanup, reflowing overlong
2111         paragraphs, and correcting whitespace.
2112
2113 2007-01-04  Brooks Moses  <brooks.moses@codesourcery.com>
2114
2115         * intrinsic.texi (LBOUND): Add documentation.
2116         (LGE): Add documentation.
2117         (LGT): Add documentation.
2118         (LINK): Add documentation.
2119         (LLE): Add documentation.
2120         (LLT): Add documentation.
2121         (LNBLNK): Add documentation.
2122         (UBOUND): Add documentation.
2123         (UNLINK): Add documentation.
2124
2125 2007-01-04  Brooks Moses  <brooks.moses@codesourcery.com>
2126
2127         * intrinsic.texi (IAND): Clarify argument specifications.
2128         (IBCLR): Add documentation.
2129         (IBITS): Add documentation.
2130         (IBSET): Add documentation.
2131         (IEOR): Add documentation.
2132         (IERRNO): Add documentation.
2133         (INDEX): Add documentation.
2134         (IOR): Add documentation.
2135         (ISHFT): Add documentation.
2136         (ISHFTC): Add documentation.
2137         (KILL): Add documentation.
2138         (LEN_TRIM): Add documentation.
2139
2140 2007-01-04  Brooks Moses  <brooks.moses@codesourcery.com>
2141
2142         PR 30235
2143         * interface.c (compare_actual_formal): check for
2144         alternate returns when iterating over non-present
2145         arguments.
2146
2147 2007-01-04  Brooks Moses  <brooks.moses@codesourcery.com>
2148
2149         * invoke.texi: Update manpage copyright to include 2007.
2150
2151 2007-01-04  Brooks Moses  <brooks.moses@codesourcery.com>
2152
2153         * gfortran.texi: Update copyright to include 2007.
2154         * intrinsic.texi: Update copyright to include 2007.
2155         * invoke.texi: Update copyright to include 2007.
2156
2157 2007-01-02  Tobias Burnus  <burnus@net-b.de>
2158             Jakub Jelinek  <jakub@redhat.com>
2159
2160         PR fortran/30276
2161         * scanner.c (open_included_file): Revert patch.
2162           (gfc_open_included_file): Support absolute pathnames.
2163           (gfc_open_intrinsic_module): Support absolute pathnames.
2164
2165 2007-01-03  Brooks Moses  <brooks.moses@codesourcery.com>
2166
2167         * gfortran.texi (GNU Fortran and GCC): Rewrite
2168
2169 2007-01-03  Brooks Moses  <brooks.moses@codesourcery.com>
2170
2171         * gfortran.texi (Introduction): Lower "Part I:
2172         Introduction" to a chapter, renumber Parts II and III to
2173         Parts I and II.
2174         * intrinsic.texi (Introduction): Rename to "Introduction
2175         to Intrinsics" to avoid conflict with the new chapter.
2176
2177 2007-01-03  Brooks Moses  <brooks.moses@codesourcery.com>
2178
2179         * intrinsic.texi (Introduction): Rewrite first paragraph.
2180
2181 2007-01-03  Brooks Moses  <brooks.moses@codesourcery.com>
2182
2183         * invoke.texi (OpenMP): Added index entry.
2184         * gfortran.texi (title page): Removed erroneous '*'.
2185
2186 2007-01-03  Brooks Moses  <brooks.moses@codesourcery.com>
2187
2188         * gfortran.texi (GFORTRAN_DEFAULT_RECL): Added units
2189         to description.
2190         (Extensions): Miscellaneous minor rewriting and copyediting.
2191         (BOZ-literal constants): Renamed from Hexadecimal constants.
2192         (Hollerith constants support): Added explanation and 
2193         suggestions for standard-conforming modern equivalents.
2194
2195 2007-01-03  Brooks Moses  <brooks.moses@codesourcery.com>
2196
2197         * intrinsic.texi: Improvements to index entries; change
2198         @findex entries to @cindex entries.
2199         * invoke.texi: Standardize and improve index entries.
2200         * gfortran.texi: Fix @code in one index entry.
2201
2202 2007-01-03  Brooks Moses  <brooks.moses@codesourcery.com>
2203
2204         * invoke.texi: Change @code-type macros to appropriate
2205         variants (@command, @option, etc.)
2206         * gfortran.texi: Same.
2207
2208 2007-01-03  Brooks Moses  <brooks.moses@codesourcery.com>
2209
2210         * intrinsic.texi: Various minor cleanups.
2211
2212 2007-01-02  Steven G. Kargl  <kargls@comcast.net>
2213
2214         * trans-intrinsic.c (gfc_conv_intrinsic_ibits): Fix call to
2215         build_int_cst.
2216
2217 2007-01-02  Tobias Burnus  <burnus@net-b.de>
2218
2219         PR fortran/30276
2220         * scanner.c (open_included_file): Support full-path filenames.
2221
2222 2007-01-02  Paul Thomas  <pault@gcc.gnu.org>
2223
2224         PR fortran/20896
2225         * interface.c (check_sym_interfaces): Remove call to
2226         resolve_global_procedure.
2227         gfortran.h : Remove prototype for resolve_global_procedure.
2228         resolve.c (resolve_global_procedure): Add static attribute
2229         to function declaration.
2230
2231 2007-01-01  Steven G. Kargl  <kargls@comcast.net>
2232
2233         * ChangeLog: Copy to ...
2234         * ChangeLog-2006: here.