OSDN Git Service

2010-01-14 Paul Thomas <pault@gcc.gnu.org>
[pf3gnuchains/gcc-fork.git] / gcc / fortran / ChangeLog
1 2010-01-14  Paul Thomas  <pault@gcc.gnu.org>
2
3         PR fortran/42481
4         * module.c (load_generic_interfaces): If a procedure that is
5         use associated but not generic is given an interface that
6         includes itself, then make it generic.
7
8 2010-01-11  Joseph Myers  <joseph@codesourcery.com>  
9             Shujing Zhao  <pearly.zhao@oracle.com>
10
11         PR translation/42469
12         * lang.opt (fblas-matmul-limit=, finit-character=, finit-integer=,
13         finit-logical=, finit-real=, fmax-array-constructor=): Use tab
14         character between option name and help text.
15
16 2010-01-09 Jerry DeLisle <jvdelisle@gcc.gnu.org>
17
18         PR fortran/20923
19         PR fortran/32489
20         * trans-array.c (gfc_conv_array_initializer): Change call to
21         gfc_error_now to call to gfc_fatal_error.
22         * array.c (count_elements): Whitespace. (extract_element): Whitespace.
23         (is_constant_element): Changed name from constant_element.
24         (gfc_constant_ac): Only use expand_construuctor for expression
25         types of EXPR_ARRAY.  If expression type is EXPR_CONSTANT, no need to
26         call gfc_is_constant_expr.
27         * expr.c (gfc_reduce_init_expr): Adjust conditionals and delete error
28         message.
29         * resolve.c (gfc_is_expandable_expr): New function that determiners if
30         array expressions should have their constructors expanded.
31         (gfc_resolve_expr): Use new function to determine whether or not to call
32         gfc_expand_constructor.
33
34 2010-01-09  Tobias Burnus  <burnus@net-b.de>
35
36         PR fortran/41298
37         * trans-expr.c (gfc_trans_structure_assign): Handle
38         c_null_(fun)ptr.
39         * symbol.c (gen_special_c_interop_ptr): Add NULL_EXPR
40         to the constructor for c_null_(fun)ptr.
41         * resolve.c (resolve_structure_cons): Add special case
42         for c_null_(fun)ptr.
43
44 2010-01-09  Jakub Jelinek  <jakub@redhat.com>
45
46         * gfortranspec.c (lang_specific_driver): Update copyright notice
47         dates.
48
49 2010-01-08  Tobias Burnus  <burnus@net-b.de>
50
51         PR/fortran 25829
52         * symbol.c (check_conflict, gfc_copy_attr): Add
53         ASYNCHRONOUS support.
54         (gfc_add_asynchronous): New function.
55         * decl.c (match_attr_spec): Add ASYNCHRONOUS support.
56         (gfc_match_asynchronous): New function.
57         * dump-parse-tree.c (show_attr): Add ASYNCHRONOUS support.
58         * gfortran.h (symbol_attribute): New ASYNCHRONOUS bit.
59         (gfc_add_asynchronous): New Prototype.
60         * module.c (ab_attribute, mio_symbol_attribute): Add
61         ASYNCHRONOUS support.
62         * resolve.c (was_declared): Ditto.
63         * match.h (gfc_match_asynchronous): New prototype.
64         * parse.c (decode_specification_statement,decode_statement):
65         Add ASYNCHRONOUS support.
66
67 2010-01-07  Tobias Burnus  <burnus@net-b.de>
68
69         PR fortran/42597
70         * trans-decl.c (get_proc_pointer_decl): Fix call to
71         gfc_conv_initializer for array-valued proc-pointer funcs.
72
73 2010-01-07  Tobias Burnus  <burnus@net-b.de>
74
75         PR fortran/41872
76         * trans-decl.c (gfc_trans_deferred_vars): Don't initialize
77         allocatable scalars with SAVE attribute.
78
79 2010-01-05  Tobias Burnus  <burnus@net-b.de>
80
81         PR fortran/42517
82         * options.c (gfc_post_options): Set -frecursion
83         when -fopenmp is used.
84
85 2010-01-05  Tobias Burnus  <burnus@net-b.de>
86
87         PR fortran/41872
88         * trans-expr.c (gfc_conv_procedure_call): Nullify
89         return value for allocatable-scalar character functions.
90
91 2010-01-04  Tobias Burnus  <burnus@net-b.de>
92
93         PR fortran/36161
94         * error.c (error_printf, gfc_warning, gfc_notify_std,
95         gfc_warning_now, gfc_error, gfc_error_now,
96         gfc_fatal_error): Change argument name from nocmsgid to
97         gmsgid to enable (x)gettext's % checking.
98
99 2010-01-04  Tobias Burnus  <burnus@net-b.de>
100         
101         * trans-decl.c (gfc_trans_deferred_vars): Fix spelling.
102
103 2010-01-04  Tobias Burnus  <burnus@net-b.de>
104
105         PR fortran/41872
106         * trans-expr.c (gfc_conv_procedure_call): Add indirect ref
107         for functions returning allocatable scalars.
108         * trans-stmt.c (gfc_trans_allocate): Emmit error when
109         reallocating an allocatable scalar.
110         * trans.c (gfc_allocate_with_status): Fix pseudocode syntax
111         in comment.
112         * trans-decl.c (gfc_trans_deferred_vars): Nullify local
113         allocatable scalars.
114         (gfc_generate_function_code): Nullify result variable for
115         allocatable scalars.
116         
117         PR fortran/40849
118         * module.c (gfc_use_module): Fix warning string to allow
119         for translation.
120
121         PR fortran/42517
122         * invoke.texi (-fcheck=recursion): Mention that the checking
123         is also disabled for -frecursive.
124         * trans-decl.c (gfc_generate_function_code): Disable
125         -fcheck=recursion when -frecursive is used.
126
127         * intrinsic.texi (iso_c_binding): Improve wording.
128
129 \f
130 Copyright (C) 2010 Free Software Foundation, Inc.
131
132 Copying and distribution of this file, with or without modification,
133 are permitted in any medium without royalty provided the copyright
134 notice and this notice are preserved.