OSDN Git Service

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