OSDN Git Service

2009-01-20 Tobias Burnus <burnus@net-b.de>
[pf3gnuchains/gcc-fork.git] / gcc / fortran / ChangeLog
1 2009-01-20  Tobias Burnus  <burnus@net-b.de>
2
3         * invoke.texi (RANGE): RANGE also takes INTEGER arguments.
4
5 2009-01-19  Mikael Morin  <mikael.morin@tele2.fr>
6
7         PR fortran/38859
8         * simplify.c (simplify_bound): Don't use array specification
9         if variable or component has subsequent references.
10
11 2009-01-17  Paul Thomas  <pault@gcc.gnu.org>
12
13         PR fortran/38657
14         * module.c (write_common_0): Add argument 'this_module' and
15         check that non-use associated common blocks are written first.
16         (write_common): Call write_common_0 twice, once with true and
17         then with false.
18
19 2009-01-17  Paul Thomas  <pault@gcc.gnu.org>
20
21         PR fortran/34955
22         * trans-intrinsic.c (gfc_conv_intrinsic_array_transfer): Has
23         been absorbed into gfc_conv_intrinsic_transfer. All
24         references to it in trans-intrinsic.c have been changed
25         accordingly.  PR fixed by using a temporary for scalar
26         character transfer, when the source is shorter than the
27         destination.
28
29 2009-01-17  Paul Thomas  <pault@gcc.gnu.org>
30
31         PR fortran/38657
32         * module.c (write_common_0): Revert patch of 2009-01-05.
33
34 2009-01-16  Janus Weil  <janus@gcc.gnu.org>
35
36         PR fortran/38152
37         * expr.c (gfc_check_pointer_assign): Allow use-associated procedure
38         pointers as lvalue.
39         * trans-decl.c (get_proc_pointer_decl,gfc_create_module_variable):
40         Enable procedure pointers as module variables.
41
42 2009-01-14  Steven G. Kargl  <kargl@gcc.gnu.org>
43
44         * ChangeLog-2007: Clean out svn merge droppings.
45
46 2009-01-10  Paul Thomas  <pault@gcc.gnu.org>
47
48         PR fortran/38763
49         * target-memory.c (encode_derived): Encode NULL.
50
51 2009-01-10  Paul Thomas  <pault@gcc.gnu.org>
52
53         PR fortran/38765
54         * resolve.c (check_host_association): Use the symtree name to
55         search for a potential contained procedure, since this is the
56         name by which it would be referenced.
57
58 2009-01-06  Thomas Koenig  <tkoenig@gcc.gnu.org>
59
60         PR fortran/38220
61         * interface.c (gfc_procedure_use):  Don't warn about functions
62         from ISO_C_BINDING.
63         * symbol.c (generate_isocbinding_symbol):  Mark c_loc and
64         c_funloc as pure.
65
66 2009-01-05  Paul Thomas  <pault@gcc.gnu.org>
67
68         PR fortran/38657
69         * module.c (write_common_0): Use the name of the symtree rather
70         than the common block, to determine if the common has been
71         written.
72
73 2009-01-05  Daniel Franke  <franke.daniel@gmail.com>
74
75         PR fortran/37159
76         * check.c (gfc_check_random_seed): Added size check for GET
77         dummy argument, reworded error messages to follow common pattern.
78
79 2009-01-05  Thomas Koenig  <tkoenig@gcc.gnu.org>
80
81         PR fortran/38672
82         * trans-types.c (gfc_get_derived_type):  Check for the
83         presence of derived->ns->proc_name before
84         accessing derived->ns->proc_name->attr.flavor .
85         * resolve.c (resolve_symbol):  Likewise.
86
87 2009-01-05  Paul Thomas  <pault@gcc.gnu.org>
88
89         PR fortran/38665
90         * gfortran.h : Add bit to gfc_expr 'user_operator'
91         * interface.c (gfc_extend_expr): Set the above if the operator
92         is substituted by a function. 
93         * resolve.c (check_host_association): Return if above is set.
94
95 2009-01-04  Mikael Morin  <mikael.morin@tele2.fr>
96
97         PR fortran/35681
98         * ChangeLog-2008: Fix function name.
99
100         PR fortran/38487
101         * dependency.c (gfc_check_argument_var_dependency):
102         Move the check for pointerness inside the if block
103         so that it doesn't affect the return value.
104
105         PR fortran/38669
106         * trans-stmt.c (gfc_trans_call):
107         Add the dependency code after the loop bounds calculation one.
108
109 2009-01-04  Daniel Franke  <franke.daniel@gmail.com>
110
111         * intrinsic.c (do_simplify): Removed already implemented TODO.
112
113 2009-01-04  Daniel Franke  <franke.daniel@gmail.com>
114
115         PR fortran/38718
116         * simplify.c (gfc_simplify_merge): New.
117         * intrinsic.h (gfc_simplify_merge): New prototype.
118         * intrinsic.c (add_functions): Added simplification for MERGE.
119
120 2009-01-04  Mikael Morin  <mikael.morin@tele2.fr>
121
122         PR fortran/38536
123         * gfortran.h (gfc_is_data_pointer): Added prototype
124         * resolve.c (gfc_iso_c_func_interface):
125         Use gfc_is_data_pointer to test for pointer attribute.
126         * dependency.c (gfc_is_data_pointer):
127         Support pointer-returning functions.
128
129 2009-01-03  Daniel Franke  <franke.daniel@gmail.com>
130
131         * symbol.c (save_symbol): Don't SAVE function results.
132
133 2009-01-03  Paul Thomas  <pault@gcc.gnu.org>
134
135         PR fortran/38594
136         * resolve.c (resolve_call): When searching for proper host
137         association, use symtree rather than symbol.  For everything
138         except generic subroutines, substitute the symtree in the call
139         rather than the symbol.