OSDN Git Service

2008-01-16 Tobias Burnus <burnus@net-b.de>
[pf3gnuchains/gcc-fork.git] / gcc / fortran / ChangeLog
1 2008-01-16  Tobias Burnus  <burnus@net-b.de>
2
3         PR fortran/34796
4         * interface.c (compare_parameter): Allow AS_DEFERRED array
5         elements and reject attr.pointer array elemenents.
6         (get_expr_storage_size): Return storage size of elements of
7         assumed-shape and pointer arrays.
8
9 2008-01-15  Sebastian Pop  <sebastian.pop@amd.com>
10
11         * f95-lang.c (gfc_init_builtin_functions): Initialize GOMP builtins
12         for flag_tree_parallelize_loops.
13
14 2008-01-15  Thomas Koenig  <tkoenig@gcc.gnu.org>
15
16         PR libfortran/34671
17         * iresolve.c (gfc_resolve_all):  Call resolve_mask_arg.
18         (gfc_resolve_any):  Likewise.
19         (gfc_resolve_count):  Likewise.  Don't append kind of
20         argument to function name.
21
22 2008-01-13  Tobias Burnus  <burnus@net-b.de>
23
24         PR fortran/34665
25         * resolve.c (resolve_actual_arglist): For expressions,
26         also check for assume-sized arrays.
27         * interface.c (compare_parameter): Move F2003 character checks
28         here, print error messages here, reject elements of
29         assumed-shape array as argument to dummy arrays.
30         (compare_actual_formal): Update for the changes above.
31
32 2008-01-13  Tobias Burnus  <burnus@net-b.de>
33
34         PR fortran/34763
35         * decl.c (contained_procedure): Only check directly preceeding state.
36
37 2008-01-13  Tobias Burnus  <burnus@net-b.de>
38
39         PR fortran/34759
40         * check.c (gfc_check_shape): Accept array ranges of
41         assumed-size arrays.
42
43 2008-01-12  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
44
45         PR fortran/34432
46         * match.c (gfc_match_name): Don't error if leading character is a '(',
47         just return MATCH_NO.
48
49 2008-01-11  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
50
51         PR fortran/34722
52         * trans-io.c (create_dummy_iostat): Commit the symbol.
53
54 2008-01-11  Paul Thomas  <pault@gcc.gnu.org>
55
56         PR fortran/34537
57         * simplify.c (gfc_simplify_transfer): Return NULL if the size
58         of the element is unavailable and only assign character length
59         to the result, if 'mold' is constant.
60
61 2008-01-10  Paul Thomas  <pault@gcc.gnu.org>
62
63         PR fortran/34396
64         * trans-array.c (gfc_trans_array_ctor_element):  Use gfc_trans_string_copy
65         to assign strings and perform bounds checks on the string length.
66         (get_array_ctor_strlen): Remove bounds checking.
67         (gfc_trans_array_constructor): Initialize string length checking.
68         * trans-array.h : Add prototype for gfc_trans_string_copy.
69
70 2008-01-08  Richard Guenther  <rguenther@suse.de>
71
72         PR fortran/34706
73         PR tree-optimization/34683
74         * trans-types.c (gfc_get_array_type_bounds): Use an array type
75         with known size for accesses if that is known.
76
77 2008-01-08  Paul Thomas  <pault@gcc.gnu.org>
78
79         PR fortran/34476
80         * expr.c (find_array_element): Check that the array bounds are
81         constant before using them.  Use lower, as well as upper bound.
82         (check_restricted): Allow implied index variable.
83
84 2008-01-08  Paul Thomas  <pault@gcc.gnu.org>
85
86         PR fortran/34681
87         * trans_array.c (gfc_trans_deferred_array): Do not null the
88         data pointer on entering scope, nor deallocate it on leaving
89         scope, if the symbol has the 'save' attribute.
90
91         PR fortran/34704
92         * trans_decl.c (gfc_finish_var_decl): Derived types with
93         allocatable components and an initializer must be TREE_STATIC.
94
95 2008-01-07  Paul Thomas  <pault@gcc.gnu.org>
96
97         PR fortran/34672
98         * module.c (write_generic): Rewrite completely.
99         (write_module): Change call to write_generic.
100
101 2008-01-06  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
102
103         PR fortran/34659
104         * scanner.c (load_line): Do not count ' ' as printable when checking for
105         continuations.
106
107 2008-01-06  Paul Thomas  <pault@gcc.gnu.org>
108
109         PR fortran/34545
110         * module.c (load_needed): If the namespace has no proc_name
111         give it the module symbol.
112
113 2008-01-06  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
114
115         PR fortran/34387
116         * trans-expr.c (gfc_conv_missing_dummy): Use a temporary to type convert
117         the dummy variable expression, test for NULL, and pass the variable
118         address to the called function.
119
120 2007-01-06  Tobias Burnus  <burnus@net-b.de>
121
122         PR fortran/34658
123         * match.c (gfc_match_common): Remove blank common in
124         DATA BLOCK warning.
125         * resolve.c (resolve_common_vars): New function.
126         (resolve_common_blocks): Move checks to resolve_common_vars
127         and invoke that function.
128         (resolve_types): Call resolve_common_vars for blank commons.
129
130 2008-01-06  Tobias Burnus  <burnus@net-b.de>
131
132         PR fortran/34655
133         * resolve.c (resolve_equivalence_derived): Reject derived types with
134         default initialization if equivalenced with COMMON variable.
135
136 2008-01-06  Tobias Burnus  <burnus@net-b.de>
137
138         PR fortran/34654
139         * io.c (check_io_constraints): Disallow unformatted I/O for
140         internal units.
141
142 2008-01-06  Tobias Burnus  <burnus@net-b.de>
143
144         PR fortran/34660
145         * resolve.c (resolve_formal_arglist): Reject dummy procedure in
146         ELEMENTAL functions.
147
148 2008-01-06  Tobias Burnus  <burnus@net-b.de>
149
150         PR fortran/34662
151         * interface.c (compare_actual_formal): Reject parameter
152         actual to intent(out) dummy.
153
154 2008-01-04  Tobias Burnus  <burnus@net-b.de>
155
156         PR fortran/34557
157         * primary.c (match_varspec): Gobble whitespace before
158         checking for '('.