OSDN Git Service

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