OSDN Git Service

PR fortran/31184
[pf3gnuchains/gcc-fork.git] / gcc / fortran / ChangeLog
1 2007-03-17  Francois-Xavier Coudert  <coudert@clipper.ens.fr>
2
3         PR fortran/31184
4         * invoke.texi: Fix typo.
5
6 2007-03-16  Tobias Burnus  <burnus@net-b.de>
7
8         * trans-decl.c (gfc_generate_function_code): Use all arguments of
9           set_std.
10
11 2007-03-15  Francois-Xavier Coudert  <coudert@clipper.ens.fr>
12
13         * gfortran.h (gfc_option_t): Add flag_backtrace field.
14         * lang.opt: Add -fbacktrace option.
15         * invoke.texi: Document the new option.
16         * trans-decl.c (gfc_build_builtin_function_decls): Add new
17         option to the call to set_std.
18         * options.c (gfc_init_options, gfc_handle_option): Handle the
19         new option.
20
21 2007-03-15  Tobias Burnus  <burnus@gcc.gnu.org>
22             Paul Thomas  <pault@gcc.gnu.org>
23
24         PR fortran/30922
25         * decl.c (gfc_match_import): If the parent of the current name-
26         space is null, try looking for an imported symbol in the parent
27         of the proc_name interface.
28         * resolve.c (resolve_fl_variable): Do not check for blocking of
29         host association by a same symbol, if the symbol is in an
30         interface body.
31
32 2007-03-15  Paul Thomas  <pault@gcc.gnu.org>
33
34         PR fortran/30879
35         * decl.c (match_data_constant): Before going on to try to match
36         a name, try to match a structure component.
37
38
39         PR fortran/30870
40         * resolve.c (resolve_actual_arglist): Do not reject a generic
41         actual argument if it has a same name specific interface.
42
43         PR fortran/31163
44         * trans-array.c (parse_interface): Do not nullify allocatable
45         components if the symbol has the saved attribute.
46
47 2007-03-14  Francois-Xavier Coudert  <coudert@clipper.ens.fr>
48
49         * trans-array.c (gfc_trans_auto_array_allocation): Replace
50         fold(convert()) by fold_convert().
51         (gfc_duplicate_allocatable): Likewise.
52         * trans-intrinsic.c (gfc_conv_intrinsic_dot_product): Use
53         build_int_cst instead of converting an integer_zero_node
54         to the final type.
55
56 2007-03-14  Jakub Jelinek  <jakub@redhat.com>
57
58         * module.c (mio_typespec): Don't look at ts->cl if not BT_CHARACTER.
59
60 2007-03-13  Brooks Moses  <brooks.moses@codesourcery.com>
61
62         PR fortran/30933
63         PR fortran/30948
64         PR fortran/30953
65         * intrinsics.texi (CHDIR): Fix argument names, note
66         that STATUS must be a default integer.
67         (CTIME): Fix argument names, note that RESULT must
68         be a default integer.
69         (EXIT): Note that STATUS must be a default integer.
70
71 2007-03-13  Brooks Moses  <brooks.moses@codesourcery.com>
72
73         PR fortran/28068
74         * intrinsic.texi: General whitespace cleanup, remove
75         comment about missing intrinsics.
76         (menu): Add lines for new entries listed below.
77         (ACOSH): Mention specific function DACOSH, correct
78         description phrasing.
79         (ASINH): Mention specific function DASINH, correct
80         description phrasing.
81         (ATANH): Mention specific function DATANH, correct
82         description phrasing.
83         (COS): Add index entry for CCOS.
84         (CPU_TIME): Correct "REAL" to "REAL(*)".
85         (EXP): Add index entry for CEXP.
86         (INT): Correct argument name to "A".
87         (INT2): New entry.
88         (INT8): New entry.
89         (LONG): New entry.
90         (MAX): Add index entries for specific variants.
91         (MCLOCK): New entry.
92         (MCLOCK8): New entry.
93         (SECNDS): Adjust to a more standard form.
94         (SECOND): New entry.
95         (TIME): Add cross-reference to MCLOCK.
96         (TIME8): Add cross-reference to MCLOCK8.
97
98 2007-03-11  Paul Thomas  <pault@gcc.gnu.org>
99
100         PR fortran/30883
101         * parse.c (parse_interface): Use the default types from the
102         formal namespace if a function or its result do not have a type
103         after parsing the specification statements.
104
105 2007-03-08  Brooks Moses  <brooks.moses@codesourcery.com>
106
107         * intrinsic.texi: (ICHAR) Improve internal I/O note.
108         (ACHAR): Reference it.
109         (CHAR): Reference it.
110         (IACHAR): Reference it.
111
112 2007-03-08  Brooks Moses  <brooks.moses@codesourcery.com>
113
114         * intrinsic.texi: (LINK) Document function form.
115         (RENAME): Likewise.
116         (SYMLNK): Likewise.
117         (SYSTEM): Likewise.
118         (UNLINK): Likewise.
119
120 2007-03-08  Brooks Moses  <brooks.moses@codesourcery.com>
121
122         * intrinsic.texi: minor typo fixes, removed prologue.
123         (FSEEK): moved to correct place in alphabetical order.
124
125 2007-03-08  Daniel Franke  <franke.daniel@gmail.com>
126
127         PR fortran/30947
128         * check.c (gfc_check_alarm_sub): Added check for default integer 
129         kind of status argument.
130         * iresolve.c (gfc_resolve_alarm_sub): Removed conversion of 
131         status argument.
132         * intrinsic.texi (ALARM): Extended documentation.
133
134 2007-03-08  Daniel Franke  <franke.daniel@gmail.com>
135
136         * intrinsic.texi (GERROR, ISATTY, TTYNAM): New.
137         (ABORT, FLUSH, FNUM, IRAND, MALLOC, SIGNAL, SRAND): Fixed typo.
138         * intrinsic.c (add_subroutines): Adjusted dummy argument names 
139         of GERROR and TTYNAM.
140
141 2007-07-08  Tobias Burnus  <burnus@net-b.de>
142
143         * module.c (gfc_match_use): Support renaming of operators
144         in USE statements.
145         * gfortran.texi (Fortran 2003 Status): Document support of
146         renaming of operators.
147
148 2007-07-08  Tobias Burnus  <burnus@net-b.de>
149
150         PR fortran/30973
151         * module.c (read_module): Always import module name as symbol.
152         (gfc_match_use): Disallow module name in the only clause of
153         a use statement.
154
155 2007-03-08  Paul Thomas  <pault@gcc.gnu.org>
156
157         PR fortran/31011
158         * expr.c (find_array_section): Correct arithmetic for section
159         size.
160
161 2007-03-07  Brooks Moses  <brooks.moses@codesourcery.com>
162
163         * iresolve.c (gfc_resolve_ishftc): Correct s_kind value.
164
165 2007-03-06  Daniel Franke  <franke.daniel@gmail.com>
166
167         PR documentation/30950
168         * intrinsic.texi (AND, CPU_TIME): Fix dummy argument names.
169         (FREE): Fix call syntax.
170
171 2007-03-06  Brooks Moses  <brooks.moses@codesourcery.com>
172
173         * intrinsic.texi: Limit column widths to a total of .85.
174
175 2007-03-05  Brooks Moses  <brooks.moses@codesourcery.com>
176
177         * gfortran.texi (GFortran and G77): Rewrite completely.
178
179 2007-03-05  Brooks Moses  <brooks.moses@codesourcery.com>
180
181         * match.c (gfc_match_name): Expanded comment.
182
183 2007-03-05  Brooks Moses  <brooks.moses@codesourcery.com>
184
185         * gfortran.texi (Old-style kind specifications): Document
186         special handling of old-style kind specifiers for COMPLEX.
187         * decl.c (gfc_match_old_kind_spec): Document kind/bytesize
188         assumptions for COMPLEX in comment.
189
190 2007-03-05  Brooks Moses  <brooks.moses@codesourcery.com>
191
192         PR 31050
193         * gfortranspec.c (lang_specific_driver): Update program
194         name and copyright date.
195
196 2007-03-03  Paul Thomas  <pault@gcc.gnu.org>
197
198         PR fortran/30882
199         * check.c (dim_rank_check): The shape of subsections of
200         assumed-size arrays is known.
201
202 2007-03-02  Paul Thomas  <pault@gcc.gnu.org>
203             Tobias Burnus  <burnus@net-b.de>
204
205         PR fortran/30873
206         * decl.c (gfc_match_entry): Remove erroneous entry result check.
207
208 2007-03-01  Brooks Moses  <brooks.moses@codesourcery.com>
209
210         * Make-lang.in: Add install-pdf target as copied from
211         automake v1.10 rules.
212
213 2007-03-01  Tobias Burnus  <burnus@net-b.de>
214
215         PR fortran/30865
216         * trans-intrinsic.c (gfc_conv_intrinsic_size): Compare pointers.
217
218 2007-02-28  Tobias Burnus  <burnus@net-b.de>
219             Paul Thomas  <pault@gcc.gnu.org>
220
221         PR fortran/30888
222         PR fortran/30887
223         * resolve.c (resolve_actual_arglist): Allow by-value
224         arguments and non-default-kind for %VAL().
225         * trans-expr.c (conv_arglist_function): Allow
226         non-default-kind for %VAL().
227
228 2007-02-28  Tobias Burnus  <burnus@net-b.de>
229
230         PR fortran/30968
231         * primary.c (next_string_char): Correct reading a character
232         after the delimiter.
233         (match_string_constant): Print warning message only once.
234
235 2007-02-27  Richard Guenther  <rguenther@suse.de>
236
237         * trans-array.c (structure_alloc_comps): Use correct type
238         for null pointer constant.
239
240 2007-02-26  Brooks Moses  <brooks.moses@codesourcery.com>
241
242         * gfortran.texi: Standardize title page, remove version number
243         from copyright page.
244
245 2007-02-26  Thomas Koenig  <Thomas.Koenig@online.de>
246             Paul Thomas  <pault@gcc.gnu.org>
247
248         PR fortran/30865
249         * trans-intrinsic.c (gfc_conv_intrinsic_size):
250         If dim is an optional argument, check for its
251         presence and call size0 or size1, respectively.
252
253 2007-02-23  Paul Thomas <pault@gcc.gnu.org>
254
255         PR fortran/30660
256         * resolve.c (has_default_initializer): New function.
257         (resolve_fl_variable): Call has_default_initializer to determine if
258         the derived type has a default initializer to its ultimate
259         components.
260
261
262 2007-02-22  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
263
264         * options.c (set_default_std_flags): New function to consolidate
265         setting the flags.
266         (gfc_init_options): Use new function.
267         (gfc_handle_option): Use new function.
268
269 2007-02-22  Brooks Moses  <brooks.moses@codesourcery.com>
270
271         * gfortran.texi (Old-style kind specifications): Document
272         special handling of old-style kind specifiers for COMPLEX.
273         * decl.c (gfc_match_old_kind_spec): Documented kind/bytesize
274         assumptions in comment.
275
276 2007-02-21  Bernhard Fischer  <aldot@gcc.gnu.org>
277
278         * parse.c (next_free): Gooble spaces after OpenMP sentinel.
279
280 2007-02-20  Thomas Koenig  <Thomas.Koenig@online.de>
281
282         PR fortran/30869
283         * match.c (gfc_match_iterator): Remove conflict between
284         loop variable and pointer.
285
286 2007-02-20  Tobias Burnus  <burnus@net-b.de>
287
288         PR fortran/30522
289         * symbol.c (gfc_add_volatile): Allow to set VOLATILE
290           attribute for host-associated variables.
291         * gfortran.h (symbol_attribute): Save namespace
292           where VOLATILE has been set.
293         * trans-decl.c (gfc_finish_var_decl): Move variable
294           declaration to the top.
295
296 2007-02-20  Tobias Burnus  <burnus@net-b.de>
297
298         PR fortran/30783
299         * resolve.c (resolve_symbol): Add character dummy VALUE check.
300
301 2007-02-19  Thomas Koenig  <Thomas.Koenig@online.de>
302
303         PR libfortran/30533
304         * fortran/iresolve.c (gfc_resolve_maxloc): Remove coercion of
305         argument to default integer.
306         (gfc_resolve_minloc): Likewise.
307
308 2007-02-18  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
309
310         PR fortran/30681
311         * options.c (gfc_init_options): Relax warning level for obsolescent.
312         * match.c (match_arithmetic_if): Change to obsolescent from deleted.
313         (gfc_match_if): Same.
314
315 2007-02-18  Roger Sayle  <roger@eyesopen.com>
316
317         * trans-array.c (gfc_build_constant_array_constructor): When the
318         shape of the constructor is known, use that to construct the
319         gfc_array_spec.
320         (gfc_trans_constant_array_constructor): Initialize the "info"
321         information for all of the dimensions of the array constructor.
322         (constant_array_constructor_loop_size): New function.
323         (gfc_trans_array_constructor): Use it to determine whether a
324         loop is suitable for "constant array constructor" optimization.
325
326         * trans-intrinsic.c (gfc_conv_intrinsic_anyall): Use fold_build2
327         instead of build2, to avoid conditions like "(a != b) != 0".
328
329 2007-02-18  Roger Sayle  <roger@eyesopen.com>
330             Paul Thomas <pault@gcc.gnu.org>
331
332         PR fortran/30400
333         * match.c (match_forall_iterator): Use gfc_match_expr instead
334         of gfc_match_variable to match the iterator variable.  Return
335         MATCH_NO if not a variable.  Remove the reset of the symbol's
336         flavor in cleanup.
337
338 2007-02-16  Tobias Burnus  <burnus@net-b.de>
339
340         PR fortran/30793
341         * trans-decl.c (gfc_generate_function_code): Do not initialize
342         pointers to derived components.
343
344 2007-02-15  Sandra Loosemore  <sandra@codesourcery.com>
345             Brooks Moses  <brooks.moses@codesourcery.com>
346             Lee Millward  <lee.millward@codesourcery.com>
347
348         * trans-expr.c (gfc_conv_power_op): Use build_call_expr.
349         (gfc_conv_string_tmp): Likewise.
350         (gfc_conv_concat_op): Likewise.
351         (gfc_build_compare_string): Likewise.
352         (gfc_conv_function_call): Use build_call_list instead of build3.
353
354         * trans-array.c (gfc_trans_allocate_array_storage): Use
355         build_call_expr.
356         (gfc_grow_array): Likewise.
357         (gfc_trans_array_ctor_element): Likewise.
358         (gfc_trans_array_constructor_value): Likewise.
359         (gfc_array_allocate): Likewise.
360         (gfc_array_deallocate): Likewise.
361         (gfc_trans_auto_array_allocation): Likewise.
362         (gfc_trans_dummy_array_bias): Likewise.
363         (gfc_conv_array_parameter): Likewise.
364         (gfc_trans_dealloc_allocated): Likewise.
365         (gfc_duplicate_allocatable): Likewise.
366
367         * trans-openmp.c (gfc_trans_omp_barrier): Use build_call_expr.
368         (gfc_trans_omp_flush): Likewise.
369
370         * trans-stmt.c (gfc_conv_elementel_dependencies): Use build_call_expr.
371         (gfc_trans_pause): Likewise.
372         (gfc_trans_stop): Likewise.
373         (gfc_trans_character_select): Likewise.
374         (gfc_do_allocate): Likewise.
375         (gfc_trans_assign_need_temp): Likewise.
376         (gfc_trans_pointer_assign_need_temp): Likewise.
377         (gfc_trans_forall_1): Likewise.
378         (gfc_trans_where_2): Likewise.
379         (gfc_trans_allocate): Likewise.
380         (gfc_trans_deallocate): Likewise.
381
382         * trans.c (gfc_trans_runtime_check): Use build_call_expr.
383
384         * trans-io.c (gfc_trans_open): Use build_call_expr.
385         (gfc_trans_close): Likewise.
386         (build_filepos): Likewise.
387         (gfc_trans_inquire): Likewise.
388         (NML_FIRST_ARG): Delete.
389         (NML_ADD_ARG): Delete.
390         (transfer_namelist_element): Use build_call_expr.
391         (build_dt): Likewise.
392         (gfc_trans_dt_end): Likewise.
393         (transfer_expr): Likewise.
394         (transfer_array-desc): Likewise.
395
396         * trans-decl.c (gfc_generate_function_code): Use build_call_expr.
397         (gfc_generate_constructors): Likewise.
398
399         * trans-intrinsic.c (gfc_conv_intrinsic_ctime): Use build_call_expr.
400         (gfc_conv_intrinsic_fdate): Likewise.
401         (gfc_conv_intrinsic_ttynam): Likewise.
402         (gfc_conv_intrinsic_array_transfer): Likewise.
403         (gfc_conv_associated): Likewise.
404         (gfc_conv_intrinsic_si_kind): Likewise.
405         (gfc_conv_intrinsic_trim): Likewise.
406         (gfc_conv_intrinsic_repeat: Likewise.
407         (gfc_conv_intrinsic_iargc): Likewise.
408
409 2007-02-14  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
410
411         PR fortran/30779
412         * scanner.c (gfc_next_char_literal): Add check for end of file after
413         call to advance_line.
414
415 2007-02-14  Steven G. Kargl  <kargl@gcc.gnu.org>
416
417         PR fortran/30799
418         * primary.c (match_logical_constant): Return MATCH_ERROR on invalid
419         kind.
420
421 2007-02-14  Steven G. Kargl  <kargl@gcc.gnu.org>
422
423         * misc.c (gfc_typename): Fix potential buffer overflow.
424
425 2007-02-13  Paul Thomas  <pault@gcc.gnu.org>
426
427         PR fortran/30554
428         * module.c (read_module): Set pointer_info to referenced if the
429         symbol has no namespace.
430
431 2007-02-12  Nick Clifton  <nickc@redhat.com>
432
433         * lang.opt: Add Warning attribute to warning options.
434
435 2007-02-11  Daniel Franke  <franke.daniel@gmail.com>
436
437         * intrinsic.texi (HOSTNM): Fix typographical error in syntax.
438         (SLEEP): Added section and documentation.
439
440 2007-02-11  Tobias Schlüter  <tobi@gcc.gnu.org>
441
442         PR fortran/30478
443         * decl.c (add_init_expr_to_sym): Remove ENUM specific code.
444         (variable_decl): Likewise.  Rewrap comment.
445         (match_attr_spec): Remove ENUM specific code.
446         (gfc_match_enum): Fix typo in error message.
447         (enumerator_decl): New function.
448         (gfc_match_enumerator_def): Use enumerator_decl instead of
449         variable_decl.  Adapt code accordingly.
450
451 2007-02-11  Paul Thomas  <pault@gcc.gnu.org>
452
453         PR fortran/30554
454         * module.c (find_symtree_for_symbol): New function to return
455         a symtree that is not a "unique symtree" given a symbol.
456         (read_module): Do not automatically set pointer_info to
457         referenced because this inhibits the generation of a unique
458         symtree.  Recycle the existing symtree if possible by calling
459         find_symtree_for_symbol.
460
461         PR fortran/30319
462         * decl.c (add_init_expr_to_sym): Make new charlen for an array
463         constructor initializer.
464
465 2007-02-10  Richard Henderson  <rth@redhat.com>, Jakub Jelinek  <jakub@redhat.com>
466
467         * f95-lang.c (gfc_init_builtin_functions): Add __emutls_get_address
468         and __emutls_register_common.
469         * openmp.c (gfc_match_omp_threadprivate): Don't error if !have_tls.
470         * trans-common.c (build_common_decl): Don't check have_tls.
471         * trans-decl.c (gfc_finish_var_decl): Likewise.
472         * types.def (BT_WORD, BT_FN_PTR_PTR): New.
473         (BT_FN_VOID_PTR_WORD_WORD_PTR): New.
474
475 2007-02-09  Tobias Burnus  <burnus@net-b.de>
476
477         PR fortran/30512
478         * trans-intrinsic.c (gfc_conv_intrinsic_minmaxloc,
479           gfc_conv_intrinsic_minmaxval): Use HUGE-1 for most negative integer.
480
481 2007-02-09  Francois-Xavier Coudert  <coudert@clipper.ens.fr>
482
483         PR fortran/30720
484         * trans-array.c (gfc_trans_create_temp_array): Remove use of the
485         function argument. Always generate code for negative extent.
486         Simplify said code.
487         * trans-array.h (gfc_trans_create_temp_array): Change prototype.
488         * trans-expr.c (gfc_conv_function_call): Remove use of last argument
489         of gfc_trans_create_temp_array.
490         * trans-intrinsic.c (gfc_conv_intrinsic_array_transfer): Likewise.
491         * trans-stmt.c (gfc_conv_elemental_dependencies): Likewise.
492
493 2007-02-08  Roger Sayle  <roger@eyesopen.com>
494
495         * trans-stmt.c (gfc_trans_forall_1): Optimize the cases where the
496         mask expression is a compile-time constant (".true." or ".false.").
497
498 2007-02-04  Francois-Xavier Coudert  <coudert@clipper.ens.fr>
499
500         PR fortran/30611
501         * trans-intrinsic.c (gfc_conv_intrinsic_repeat): Evaluate
502         arguments only once. Generate check that NCOPIES argument is not
503         negative.
504
505 2007-02-04  Steven G. Kargl <kargl@gcc.gnu.org>
506
507         PR fortran/30605
508         * fortran/invoke.texi: Update documentation.
509         * fortran/options.c (gfc_post_options): Deal with tabs with -std=f2003
510         and -pedantic.
511
512 2007-02-03  Kazu Hirata  <kazu@codesourcery.com>
513
514         * trans-array.c: Fix a comment typo.
515
516 2007-02-03  Paul Thomas  <pault@gcc.gnu.org>
517
518         PR fortran/30514
519         * array.c (match_array_element_spec): If the length of an array is
520         negative, adjust the upper limit to make it zero length.
521
522         PR fortran/30660
523         * resolve.c (pure_function, resolve_function): Initialize name to
524         null to clear up build warnings.
525         (resolve_fl_variable): Look at components explicitly to check for
526         default initializer, rather than using gfc_default_initializer.
527
528 2007-02-02  Steven G. Kargl <kargl@gcc.gnu.org>
529
530         PR fortran/30683
531         * resolve.c (resolve_generic_f): Check for non-NULL sym.
532
533 2007-02-02  Roger Sayle  <roger@eyesopen.com>
534
535         * trans.c (gfc_build_array_ref): Use STRIP_TYPE_NOPS to eliminate
536         NON_LVALUE_EXPR nodes and useless type conversions.
537
538 2007-02-02  Paul Thomas  <pault@gcc.gnu.org>
539
540         PR fortran/30284
541         PR fortran/30626
542         * trans-expr.c (gfc_conv_aliased_arg): Remove static attribute
543         from function and make sure that substring lengths are
544         translated.
545         (is_aliased_array): Remove static attribute.
546         * trans.c : Add prototypes for gfc_conv_aliased_arg and
547         is_aliased_array.
548         * trans-io.c (set_internal_unit): Add the post block to the
549         arguments of the function.  Use is_aliased_array to check if
550         temporary is needed; if so call gfc_conv_aliased_arg.
551         (build_dt): Pass the post block to set_internal_unit and
552         add to the block after all io activiy is done.
553
554 2007-02-01  Roger Sayle  <roger@eyesopen.com>
555
556         * trans-array.c (gfc_conv_expr_descriptor): We don't need to use
557         a temporary array to pass a constant non-character array constructor.
558         Generalize the descriptor generation code to handle scalarizer
559         "info" without an array reference.
560
561 2007-02-01  Roger Sayle  <roger@eyesopen.com>
562
563         * dependency.c (gfc_check_dependency) <EXPR_ARRAY>: Implement
564         dependency checking for array constructors.
565
566 2007-02-01  Roger Sayle  <roger@eyesopen.com>
567
568         * trans-stmt.c (compute_overall_iter_number): Document function
569         arguments.  Generalize "unconditional forall nest with constant
570         bounds" optimization to eliminate unconditional inner loops with
571         constant bounds.
572
573 2007-01-31  Tobias Burnus  <burnus@net-b.de>
574
575         PR fortran/30520
576         * interface.c (compare_actual_formal): Check conformance between
577           actual and VOLATILE dummy arguments.
578         * symbol.c (gfc_add_volatile): Allow setting of VOLATILE
579           multiple times in different scopes.
580         * decl.c (gfc_match_volatile): Search symbol in host association.
581
582 2007-01-31  Kazu Hirata  <kazu@codesourcery.com>
583
584         * simplify.c, trans-array.c: Fix comment typos.
585
586 2007-01-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
587
588         * invoke.texi (Code Gen Options): Fix abbreviation typo.
589         * intrinsic.texi (ACCESS, LSHIFT, RSHIFT): Fix typos.
590
591 2007-01-30  Steve Ellcey  <sje@cup.hp.com>
592
593         PR fortran/30432
594         * trans-types.c (gfc_get_function_type): Do not add void_type_node
595         to empty arg list.
596         * trans-decl.c (create_function_arglist): Change assert.
597
598 2007-01-29  Paul Thomas  <pault@gcc.gnu.org>
599
600         PR fortran/30554
601         * module.c (read_module): If a symbol is excluded by an ONLY
602         clause, check to see if there is a symtree already loaded. If
603         so, attach the symtree to the pointer_info.
604
605 2007-01-28  Thomas Koenig  <Thomas.Koenig@online.de>
606
607         PR libfortran/30389
608         * gfortran.h: Remove gfc_simplify_init_1.
609         * arith.h: Remove third argument from gfc_compare_string.
610         * arith.c (gfc_compare_expression): Remove third argument
611         from call to gfc_compare_string.
612         (gfc_compare_string): Remove third argument xcoll_table.
613         Remove use of xcoll_table.
614         * misc.c (gfc_init_1): Remove call to gfc_simplify_init_1.
615         * simplify.c (ascii_table): Remove.
616         (xascii_table): Likewise.
617         (gfc_simplify_achar): ICE if extract_int fails.  Remove use of
618         ascii_table.  Warn if -Wsurprising and value < 0 or > 127.
619         (gfc_simplify_char): ICE if extract_int fails. Error if
620         value < 0 or value > 255.
621         (gfc_simplify_iachar): Remove use of xascii_table.
622         Char values outside of 0..255 are an ICE.
623         (gfc_simplify_lge): Remove use of xascii_table.
624         (gfc_simplify_lgt): Likewise.
625         (gfc_simplify_lle): Likewise.
626         (gfc_simplify_llt): Likewise.
627         (invert_table): Remove.
628         (gfc_simplify_init_1): Remove.
629
630 2007-01-27  Roger Sayle  <roger@eyesopen.com>
631
632         * trans-stmt.c (forall_info): Replace the next_nest and outer
633         fields that previously implemented a doubly-linked list with a
634         single prev_nest field (singly-linked list).
635         (gfc_trans_nested_forall_loop): The nested_forall_info argument
636         now denotes the innermost FORALL in the loop nest.
637         (compute_overall_iter_number): Use prev_nest instead of next_nest.
638         (gfc_trans_forall_1): Link/cons the new "info" to the head of the
639         nested_forall_info linked list.  Free the current "info" when done.
640
641 2007-01-27  Paul Thomas  <pault@gcc.gnu.org>
642
643         PR fortran/30407
644         * trans-expr.c (gfc_conv_operator_assign): New function.
645         * trans.h : Add prototype for gfc_conv_operator_assign.
646         * trans-stmt.c (gfc_trans_where_assign): Add a gfc_symbol for
647         a potential operator assignment subroutine.  If it is non-NULL
648         call gfc_conv_operator_assign instead of the first assignment.
649         ( gfc_trans_where_2): In the case of an operator assignment,
650         extract the argument expressions from the code for the
651         subroutine call and pass the symbol to gfc_trans_where_assign.
652         resolve.c (resolve_where, gfc_resolve_where_code_in_forall,
653         gfc_resolve_forall_body): Resolve the subroutine call for
654         operator assignments.
655
656 2007-01-26  Steven Bosscher  <stevenb.gcc@gmail.com>
657             Steven G. Kargl <kargl@gcc.gnu.org>
658
659         PR fortran/30278
660         * fortran/io.c (next_char): Deal with backslash escaped characters.
661         Issue warnings in non -std=gnu cases.
662         * fortran/primary.c (next_string_char): Issue warnings in non
663
664 2007-01-26  Tobias Burnus  <burnus@net-b.de>
665
666         * lang-specs.h: Add support for .f03 and .F03 extensions.
667         * gfortran.texi: Document .f03 extension.
668         * options.c (form_from_filename): Recognize .f03.
669
670 2007-01-25  Manuel Lopez-Ibanez  <manu@gcc.gnu.org>
671
672         PR fortran/30437
673         * lang.opt (Wall): Remove RejectNegative.
674         * options.c (gfc_handle_option): Wall can be disabled.
675         (set_Wall): Add a parameter for disabling Wall.
676         
677 2007-01-23  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
678
679         PR fortran/30532
680         * scanner.c (load_line): Remove check fot ctrl-z and don't gobble.
681         
682 2007-01-23  Paul Thomas  <pault@gcc.gnu.org>
683
684         PR fortran/30481
685         * match.c (gfc_match_namelist): Add check for assumed size character
686         in namelist and provide error if found.
687
688 2007-01-21  Brooks Moses  <brooks.moses@codesourcery.com>
689
690         * intrinsic.texi (ACHAR): Added cross-references.
691         (CHAR): Put cross-references in alphabetical order.
692         (IACHAR): Added cross-references.
693         (ICHAR): Added cross-references.
694
695 2007-01-20  Brooks Moses  <brooks.moses@codesourcery.com>
696
697         * intrinsic.texi: Edited all "Syntax" examples to a consistent form.
698         (MAXVAL): Corrected description of result characteristics.
699         (MINVAL): Same.
700         (UMASK): Added documentation.
701
702 2007-01-20  Steven G. Kargl  <kargl@gcc.gnu.org>
703
704         * openmp.c, matchexp.c, module.c, scanner.c, resolve.c, st.c,
705         parse.c, primary.c, options.c, misc.c, simplify.c: Next installment
706         in the massive whitespace patch.
707
708 2007-01-20  Roger Sayle  <roger@eyesopen.com>
709
710         * module.c (mio_array_ref): The dimen_type fields of an array ref
711         are an enumerated type and can't be read/written directly with a
712         call to mio_integer.  Instead loop over and cast each element.
713
714 2007-01-20  Roger Sayle  <roger@eyesopen.com>
715
716         * dependency.c (gfc_full_array_ref_p): Check that ref->next is NULL,
717         i.e. that the ARRAY_REF doesn't mention components.
718         * trans-array.c (gfc_constant_array_constructor_p): Export external
719         function renamed from constant_array_constructor_p.
720         (gfc_build_constant_array_constructor): Export.
721         (gfc_trans_array_constructor): Update call to the renamed function
722         constant_array_constructor_p.
723         * trans-array.h (gfc_constant_array_constructor_p): Prototype here.
724         (gfc_build_constant_array_constructor): Likewise.
725         * trans-expr.c (gfc_build_memcpy_call): New helper function split
726         out from gfc_trans_array_copy.
727         (gfc_trans_array_copy): Use gfc_build_memcpy_call.
728         (gfc_trans_array_constructor_copy): New function to optimize
729         assigning an entire array from a constant array constructor.
730         (gfc_trans_assignment): Call gfc_trans_array_constructor_copy
731         when appropriate.
732
733 2007-01-20  Roger Sayle  <roger@eyesopen.com>
734
735         * trans-intrinsic.c (gfc_conv_intrinsic_sign): New branchless
736         implementation for the SIGN intrinsic with integral operands.
737         (gfc_conv_intrinsic_minmax): Fix whitespace.
738
739 2007-01-20  Francois-Xavier Coudert  <coudert@clipper.ens.fr>
740
741         * gfortran.h (gfc_options_t): Add flag_allow_leading_underscore.
742         * lang.opt: Add -fallow-leading-underscore.
743         * match.c (gfc_match_name): Allow leading underscore in symbol
744         name if -fallow-leading-underscore is used.
745         * symbol.c (gfc_get_default_type): Add special case for symbol
746         names beginning with an underscore.
747         * trans-decl.c (gfc_get_extern_function_decl,
748         gfc_build_intrinsic_function_decls): Add _gfortran prefix to
749         library symbols selected_int_kind, selected_real_kind and 
750         all specifics.
751         * options.c (gfc_init_options, gfc_handle_option): Handle the
752         new -fallow-leading-underscore option.
753
754 2007-01-20  Francois-Xavier Coudert  <coudert@clipper.ens.fr>
755
756         PR fortran/30446
757         * options.c (gfc_handle_module_path_options): Path used in -J
758         option is now added to the module search path.
759
760 2007-01-20  Richard Guenther  <rguenther@suse.de>
761
762         PR fortran/30223
763         * f95-lang.c (gfc_init_builtin_functions): Provide cbrt and
764         cexpi builtins if we have TARGET_C99_FUNCTIONS.  Provide
765         sincos builtins if the target has sincos.
766
767 2007-01-19  Brooks Moses  <brooks.moses@codesourcery.com>
768
769         * intrinsic.texi (MATMUL): Corrected a typo.
770         (MAX): Separated @var arguments.
771         (MIN): Separated @var arguments.
772
773 2007-01-19  Brooks Moses  <brooks.moses@codesourcery.com>
774
775         * intrinsic.texi: general whitespace cleanup.
776         (menu): Added TIME8, removed UNMASK.
777         (AINT): Clarified argument requirement.
778         (ANINT): Clarified argument requirement.
779         (CEILING): Clarified argument requirement.
780         (CHAR): Clarified argument requirement.
781         (CMPLX): Clarified argument requirement.
782         (DCMPLX): Clarified argument requirement.
783         (FGET): Line rewrapping.
784         (FLOOR): Clarified argument requirement.
785         (GMTIME): Added documentation.
786         (IAND): Added cross-reference.
787         (IBCLR): Added cross-reference.
788         (IBSET): Added cross-reference.
789         (IEOR): Added cross-reference.
790         (INT): Collapsed examples, clarified argument requirement.
791         (IOR): Added cross-references.
792         (LEN_TRIM): Corrected result kind.
793         (LINK): Added cross-reference.
794         (LLT): Removed "documentation pending".
795         (LOGICAL): Added documentation.
796         (LSHIFT): Added documentation.
797         (LTIME): Added documentation.
798         (MATMUL): Added documentation.
799         (MAX): Added documentation.
800         (MAXLOC): Added documentation.
801         (MAXVAL): Added documentation.
802         (MERGE): Added documentation.
803         (MIN): Added documentation.
804         (MINLOC): Added documentation.
805         (MINVAL): Added documentation.
806         (MVBITS): Moved to correct place, added documentation.
807         (NOT): Added documentation.
808         (PERROR): Added documentation.
809         (RAN): Moved to correct place, added documentation.
810         (REAL): Clarified argument requirement.
811         (RENAME): Added documentation.
812         (RSHIFT): Clarified argument requirement.
813         (SIGN): Corrected table specification.
814         (SYMLNK): Added documentation.
815         (SYSTEM): Added documentation.
816         (TIME): Added documentation.
817         (TIME8): Added section and documentation.
818         (UNMASK): Removed erroneous section.
819
820 2007-01-18  H.J. Lu  <hongjiu.lu@intel.com>
821
822         * trans-stmt.c (compute_overall_iter_number): Fix a typo.
823
824 2007-01-18  Roger Sayle  <roger@eyesopen.com>
825
826         * trans-expr.c (copyable_array_p): Consider user derived types without
827         allocatable components to be copyable.
828
829 2007-01-18  Roger Sayle  <roger@eyesopen.com>
830
831         * trans-stmt.c (compute_overall_iter_number): Enhance to precompute
832         the number of interations in unconditional FORALL nests with constant
833         bounds.
834
835 2007-01-18  Francois-Xavier Coudert  <coudert@clipper.ens.fr>
836             Tobias Burnus  <burnus@net-b.de>
837
838         PR libfortran/29649
839         * gfortran.h (gfc_option_t): Add flag_dump_core.
840         * lang.opt: Add -fdump-core option.
841         * invoke.texi: Document the new options.
842         * trans-decl.c (gfc_build_builtin_function_decls): Add new
843           options to the call to set_std.
844         * options.c (gfc_init_options, gfc_handle_option): Set the
845           new options.
846
847 2007-01-17  Paul Thomas  <pault@gcc.gnu.org>
848
849         PR fortran/30476
850         * module.c (load_generic_interfaces): Make the marking of the
851         symbol as ambiguous conditional on the module names being
852         different.
853         (write_generic): Ensure that the generic interface has a
854         non-NULL module field.
855
856 2007-01-16  Roger Sayle  <roger@eyesopen.com>
857
858         PR fortran/30404
859         * trans-stmt.c (forall_info): Remove pmask field.
860         (gfc_trans_forall_loop): Remove NVAR argument, instead assume that
861         NVAR covers all the interation variables in the current forall_info.
862         Add an extra OUTER parameter, which specified the loop header in
863         which to place mask index initializations.
864         (gfc_trans_nested_forall_loop): Remove NEST_FLAG argument.
865         Change the semantics of MASK_FLAG to only control the mask in the
866         innermost loop.
867         (compute_overall_iter_number): Optimize the trivial case of a
868         top-level loop having a constant number of iterations.  Update
869         call to gfc_trans_nested_forall_loop.  Calculate the number of
870         times the inner loop will be executed, not to size of the 
871         iteration space.
872         (allocate_temp_for_forall_nest_1): Reuse SIZE as BYTESIZE when
873         sizeof(type) == 1.  Tidy up.
874         (gfc_trans_assign_need_temp): Remove NEST_FLAG argument from calls
875         to gfc_trans_nested_forall_loop.
876         (gfc_trans_pointer_assign_need_temp): Likewise.
877         (gfc_trans_forall_1): Remove unused BYTESIZE, TMPVAR, SIZEVAR and
878         LENVAR local variables.  Split mask allocation into a separate
879         hunk/pass from mask population.  Use allocate_temp_for_forall_nest
880         to allocate the FORALL mask with the correct size.  Update calls
881         to gfc_trans_nested_forall_loop.
882         (gfc_evaluate_where_mask): Update call to
883         gfc_trans_nested_forall_loop.
884         (gfc_trans_where_2): Likewise.
885
886 2007-01-15  Paul Thomas  <pault@gcc.gnu.org>
887
888         PR fortran/28172
889         * trans-stmt.c (gfc_trans_call): If it does not have one, get
890         a backend_decl for an alternate return.
891
892         PR fortran/29389
893         * resolve.c (pure_function): Statement functions are pure. Note
894         that this will have to recurse to comply fully with F95.
895
896         PR fortran/29712
897         * resolve.c (resolve_function): Only a reference to the final
898         dimension of an assumed size array is an error in an inquiry
899         function.
900
901         PR fortran/30283
902         * resolve.c (resolve_function): Make sure that the function
903         expression has a type.
904
905 2007-01-14  Paul Thomas  <pault@gcc.gnu.org>
906
907         PR fortran/30410
908         * trans-decl.c (gfc_sym_mangled_function_id): Module, external
909         symbols must not have the module name prepended.
910
911 2007-01-11  Thomas Koenig  <Thomas.Koenig@online.de>
912
913         PR libfortran/30415
914         * iresolve.c (gfc_resolve_maxloc): If the rank
915         of the return array is nonzero and we process an
916         integer array smaller than default kind, coerce
917         the array to default integer.
918         * iresolve.c (gfc_resolve_minloc): Likewise.
919
920 2007-01-11  Brooks Moses  <brooks.moses@codesourcery.com>
921
922         * simplify.c: Update copyright to 2007.
923         * scanner.c: Same.
924
925 2007-01-11  Francois-Xavier Coudert  <coudert@clipper.ens.fr>
926
927         PR fortran/30430
928         * scanner.c (gfc_release_include_path): Free gfc_option.module_dir
929         only once!
930
931 2007-01-09  Brooks Moses  <brooks.moses@codesourcery.com>
932
933         * simplify.c (gfc_simplify_ibclr): Fix POS comparison.
934         (gfc_simplify_ibset): Same.
935
936 2007-01-09  Brooks Moses  <brooks.moses@codesourcery.com>
937
938         PR 30381
939         PR 30420
940         * simplify.c (convert_mpz_to_unsigned): New function.
941         (convert_mpz_to_signed): New function, largely based on
942         twos_complement().
943         (twos_complement): Removed.
944         (gfc_simplify_ibclr): Add conversions to and from an
945         unsigned representation before bit-twiddling.
946         (gfc_simplify_ibset): Same.
947         (gfc_simplify_ishftc): Add checks for overly large
948         constant arguments, only check the third argument if
949         it's present, carry over high bits into the result as
950         appropriate, and perform the final conversion back to
951         a signed representation using the correct sign bit.
952         (gfc_simplify_not): Removed unnecessary masking.
953
954 2007-01-09  Paul Thomas  <pault@gcc.gnu.org>
955
956         PR fortran/30408
957         * resolve.c (resolve_code): Use the code->expr character length
958         directly to set length of llen.
959
960 2007-01-09  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
961
962         PR fortran/30408
963         * lang.opt: Add Wcharacter_truncation option.
964         * options.c (gfc_init_options): Initialize
965         gfc_option.warn_character_truncation to zero.
966         (gfc_handle_option): Add case for OPT_Wcharacter_truncation.
967
968 2007-01-08  Steven G. Kargl  <kargl@gcc.gnu.org>
969
970         * interface.c, intrinsic.c, gfortranspec.c, io.c, f95-lang.c,
971         iresolve.c, match.c: Update Copyright years.  Whitespace.
972
973 2007-01-08  Richard Guenther  <rguenther@suse.de>
974
975         * trans-io.c (transfer_array_desc): Use build_int_cst instead
976         of build_int_cstu.
977
978 2007-01-08  Roger Sayle  <roger@eyesopen.com>
979
980         * trans-array.c (constant_array_constructor_p): New function to
981         determine whether an array constructor consists only of constant
982         elements, and if so return it's size.
983         (gfc_build_constant_array_constructor): Construct a statically
984         initialized gfortran array for a given EXPR_ARRAY.
985         (gfc_trans_constant_array_constructor): Efficiently scalarize
986         a constant array constructor.
987         (gfc_trans_array_constructor): Tidy up use of CONST_STRING.
988         Special case scalarization of constant array constructors, all of
989         whose elements are specified, using constant_array_constructor_p 
990         and gfc_trans_constant_array_constructor.
991         (gfc_conv_scalarized_array_ref): Check whetger info->offset is zero
992         before adding it to index, to avoid creating a NON_LVALUE_EXPR.
993
994 2007-01-08  Kazu Hirata  <kazu@codesourcery.com>
995
996         gfortran.texi: Fix typos.
997
998 2007-01-07  Steven G. Kargl  <kargl@gcc.gnu.org>
999
1000         * decl.c, dump-parse-tree.c, error.c, data.c, expr.c, dependency.c,
1001         convert.c: Update Copyright dates.  Fix whitespace.
1002
1003 2007-01-07  Bernhard Fischer  <aldot@gcc.gnu.org>
1004
1005         * data.c (gfc_assign_data_value): Fix whitespace.
1006
1007 2007-01-07  Bernhard Fischer  <aldot@gcc.gnu.org>
1008
1009         * trans-array.c (gfc_trans_create_temp_array, gfc_array_init_size):
1010         Commentary typo fix.
1011
1012 2007-01-07  Bernhard Fischer  <aldot@gcc.gnu.org>
1013
1014         PR fortran/27698
1015         * match.c (gfc_match_name): Print diagnostics for invalid
1016         character in names.
1017
1018 2007-01-06  Steven G. Kargl  <kargl@gcc.gnu.org>
1019
1020         * array.c: Fix whitespace in comment table.
1021
1022 2007-01-06  Steven G. Kargl  <kargl@gcc.gnu.org>
1023
1024         * array.c, bbt.c, check.c: Update copyright years.  Whitespace.
1025
1026 2007-01-06  Steven G. Kargl  <kargl@gcc.gnu.org>
1027
1028         * arith.c: Update copyright years.  Whitespace.
1029
1030 2007-01-05  Roger Sayle  <roger@eyesopen.com>
1031
1032         * trans-expr.c (gfc_trans_assignment_1): New subroutine to scalarize
1033         array assignments split out from gfc_trans_assignment.
1034         (gfc_trans_array_copy): New function to implement array to array
1035         copies via calls to __builtin_memcpy.
1036         (copyable_array_p): New helper function to identify an array of
1037         simple/POD types, that may be copied/assigned using memcpy.
1038         (gfc_trans_assignment): Use gfc_trans_array_copy to handle simple
1039         whole array assignments considered suitable by copyable_array_p.
1040         Invoke gfc_trans_assignment_1 to perform the fallback scalarization.
1041
1042 2007-01-05  Roger Sayle  <roger@eyesopen.com>
1043
1044         * trans-array.c (gfc_trans_array_constructor_value): Make the
1045         static const "data" array as TREE_READONLY.
1046         * trans-stmt.c (gfc_trans_character_select): Likewise.
1047
1048 2007-01-05  Roger Sayle  <roger@eyesopen.com>
1049
1050         * trans-array.c (gfc_conv_loop_setup): Test whether the loop
1051         stride is one, to avoid fold_build2 introducing a useless
1052         NON_LVALUE_EXPR node.
1053
1054 2007-01-05  Tobias Burnus  <burnus@net-b.de>
1055
1056         * symbol.c (check_conflict): Fix error message.
1057
1058 2007-01-05  Paul Thomas  <pault@gcc.gnu.org>
1059
1060         PR fortran/23232
1061         * decl.c (gfc_in_match_data, gfc_set_in_match_data): New
1062         functions to signal that a DATA statement is being matched.
1063         (gfc_match_data): Call gfc_set_in_match_data on entry and on
1064         exit.
1065         * gfortran.h : Add prototypes for above.
1066         * expr.c (check_init_expr): Avoid check on parameter or
1067         variable if gfc_in_match_data is true.
1068         (gfc_match_init_expr): Do not call error on non-reduction of
1069         expression if gfc_in_match_data is true.
1070
1071         PR fortran/27996
1072         PR fortran/27998
1073         * decl.c (gfc_set_constant_character_len): Add boolean arg to
1074         flag array constructor resolution.  Warn if string is being
1075         truncated.  Standard dependent error if string is padded. Set
1076         new arg to false for all three calls to
1077         gfc_set_constant_character_len.
1078         * match.h : Add boolean arg to prototype for
1079         gfc_set_constant_character_len.
1080         * gfortran.h : Add warn_character_truncation to gfc_options.
1081         * options.c (set_Wall): Set warn_character_truncation if -Wall
1082         is set.
1083         * resolve.c (resolve_code): Warn if rhs string in character
1084         assignment has to be truncated.
1085         * array.c (gfc_resolve_character_array_constructor): Set new
1086         argument to true for call to gfc_set_constant_character_len.
1087
1088 2007-01-05  Tobias Burnus  <burnus@net-b.de>
1089
1090         PR fortran/29624
1091         * interface.c (compare_parameter_intent): New function.
1092           (check_intents): Support pointer intents.
1093         * symbol.c (check_conflict): Support pointer intents,
1094           better conflict_std message.
1095         * expr.c (gfc_check_assign,gfc_check_pointer_assign):
1096           Support pointer intents.
1097         * resolve.c (resolve_deallocate_expr,resolve_allocate_expr):
1098           Support pointer intents.
1099
1100 2007-01-03  Brooks Moses  <brooks.moses@codesourcery.com>
1101
1102         PR 30371
1103         * check.c (gfc_check_kill_sub): Add checks for non-scalar
1104         arguments.
1105
1106 2007-01-04  Brooks Moses  <brooks.moses@codesourcery.com>
1107
1108         * intrinsic.texi: Minor cleanup, reflowing overlong
1109         paragraphs, and correcting whitespace.
1110
1111 2007-01-04  Brooks Moses  <brooks.moses@codesourcery.com>
1112
1113         * intrinsic.texi (LBOUND): Add documentation.
1114         (LGE): Add documentation.
1115         (LGT): Add documentation.
1116         (LINK): Add documentation.
1117         (LLE): Add documentation.
1118         (LLT): Add documentation.
1119         (LNBLNK): Add documentation.
1120         (UBOUND): Add documentation.
1121         (UNLINK): Add documentation.
1122
1123 2007-01-04  Brooks Moses  <brooks.moses@codesourcery.com>
1124
1125         * intrinsic.texi (IAND): Clarify argument specifications.
1126         (IBCLR): Add documentation.
1127         (IBITS): Add documentation.
1128         (IBSET): Add documentation.
1129         (IEOR): Add documentation.
1130         (IERRNO): Add documentation.
1131         (INDEX): Add documentation.
1132         (IOR): Add documentation.
1133         (ISHFT): Add documentation.
1134         (ISHFTC): Add documentation.
1135         (KILL): Add documentation.
1136         (LEN_TRIM): Add documentation.
1137
1138 2007-01-04  Brooks Moses  <brooks.moses@codesourcery.com>
1139
1140         PR 30235
1141         * interface.c (compare_actual_formal): check for
1142         alternate returns when iterating over non-present
1143         arguments.
1144
1145 2007-01-04  Brooks Moses  <brooks.moses@codesourcery.com>
1146
1147         * invoke.texi: Update manpage copyright to include 2007.
1148
1149 2007-01-04  Brooks Moses  <brooks.moses@codesourcery.com>
1150
1151         * gfortran.texi: Update copyright to include 2007.
1152         * intrinsic.texi: Update copyright to include 2007.
1153         * invoke.texi: Update copyright to include 2007.
1154
1155 2007-01-02  Tobias Burnus  <burnus@net-b.de>
1156             Jakub Jelinek  <jakub@redhat.com>
1157
1158         PR fortran/30276
1159         * scanner.c (open_included_file): Revert patch.
1160           (gfc_open_included_file): Support absolute pathnames.
1161           (gfc_open_intrinsic_module): Support absolute pathnames.
1162
1163 2007-01-03  Brooks Moses  <brooks.moses@codesourcery.com>
1164
1165         * gfortran.texi (GNU Fortran and GCC): Rewrite
1166
1167 2007-01-03  Brooks Moses  <brooks.moses@codesourcery.com>
1168
1169         * gfortran.texi (Introduction): Lower "Part I:
1170         Introduction" to a chapter, renumber Parts II and III to
1171         Parts I and II.
1172         * intrinsic.texi (Introduction): Rename to "Introduction
1173         to Intrinsics" to avoid conflict with the new chapter.
1174
1175 2007-01-03  Brooks Moses  <brooks.moses@codesourcery.com>
1176
1177         * intrinsic.texi (Introduction): Rewrite first paragraph.
1178
1179 2007-01-03  Brooks Moses  <brooks.moses@codesourcery.com>
1180
1181         * invoke.texi (OpenMP): Added index entry.
1182         * gfortran.texi (title page): Removed erroneous '*'.
1183
1184 2007-01-03  Brooks Moses  <brooks.moses@codesourcery.com>
1185
1186         * gfortran.texi (GFORTRAN_DEFAULT_RECL): Added units
1187         to description.
1188         (Extensions): Miscellaneous minor rewriting and copyediting.
1189         (BOZ-literal constants): Renamed from Hexadecimal constants.
1190         (Hollerith constants support): Added explanation and 
1191         suggestions for standard-conforming modern equivalents.
1192
1193 2007-01-03  Brooks Moses  <brooks.moses@codesourcery.com>
1194
1195         * intrinsic.texi: Improvements to index entries; change
1196         @findex entries to @cindex entries.
1197         * invoke.texi: Standardize and improve index entries.
1198         * gfortran.texi: Fix @code in one index entry.
1199
1200 2007-01-03  Brooks Moses  <brooks.moses@codesourcery.com>
1201
1202         * invoke.texi: Change @code-type macros to appropriate
1203         variants (@command, @option, etc.)
1204         * gfortran.texi: Same.
1205
1206 2007-01-03  Brooks Moses  <brooks.moses@codesourcery.com>
1207
1208         * intrinsic.texi: Various minor cleanups.
1209
1210 2007-01-02  Steven G. Kargl  <kargls@comcast.net>
1211
1212         * trans-intrinsic.c (gfc_conv_intrinsic_ibits): Fix call to
1213         build_int_cst.
1214
1215 2007-01-02  Tobias Burnus  <burnus@net-b.de>
1216
1217         PR fortran/30276
1218         * scanner.c (open_included_file): Support full-path filenames.
1219
1220 2007-01-02  Paul Thomas  <pault@gcc.gnu.org>
1221
1222         PR fortran/20896
1223         * interface.c (check_sym_interfaces): Remove call to
1224         resolve_global_procedure.
1225         gfortran.h : Remove prototype for resolve_global_procedure.
1226         resolve.c (resolve_global_procedure): Add static attribute
1227         to function declaration.
1228
1229 2007-01-01  Steven G. Kargl  <kargls@comcast.net>
1230
1231         * ChangeLog: Copy to ...
1232         * ChangeLog-2006: here.