OSDN Git Service

fortran/ChangeLog
[pf3gnuchains/gcc-fork.git] / gcc / fortran / ChangeLog
1 2007-01-07  Bernhard Fischer  <aldot@gcc.gnu.org>
2
3         PR fortran/27698
4         * match.c (gfc_match_name): Print diagnostics for invalid
5         character in names.
6
7 2007-01-06  Steven G. Kargl  <kargl@gcc.gnu.org>
8
9         * array.c: Fix whitespace in comment table.
10
11 2007-01-06  Steven G. Kargl  <kargl@gcc.gnu.org>
12
13         * array.c, bbt.c, check.c:  Update copyright years.  Whitespace.
14
15 2007-01-06  Steven G. Kargl  <kargl@gcc.gnu.org>
16
17         * arith.c: Update copyright years.  Whitespace.
18
19 2007-01-05  Roger Sayle  <roger@eyesopen.com>
20
21         * trans-expr.c (gfc_trans_assignment_1): New subroutine to scalarize
22         array assignments split out from gfc_trans_assignment.
23         (gfc_trans_array_copy): New function to implement array to array
24         copies via calls to __builtin_memcpy.
25         (copyable_array_p): New helper function to identify an array of
26         simple/POD types, that may be copied/assigned using memcpy.
27         (gfc_trans_assignment): Use gfc_trans_array_copy to handle simple
28         whole array assignments considered suitable by copyable_array_p.
29         Invoke gfc_trans_assignment_1 to perform the fallback scalarization.
30
31 2007-01-05  Roger Sayle  <roger@eyesopen.com>
32
33         * trans-array.c (gfc_trans_array_constructor_value): Make the
34         static const "data" array as TREE_READONLY.
35         * trans-stmt.c (gfc_trans_character_select): Likewise.
36
37 2007-01-05  Roger Sayle  <roger@eyesopen.com>
38
39         * trans-array.c (gfc_conv_loop_setup):  Test whether the loop
40         stride is one, to avoid fold_build2 introducing a useless
41         NON_LVALUE_EXPR node.
42
43 2007-01-05  Tobias Burnus  <burnus@net-b.de>
44
45         * symbol.c (check_conflict): Fix error message.
46
47 2007-01-05  Paul Thomas  <pault@gcc.gnu.org>
48
49         PR fortran/23232
50         * decl.c (gfc_in_match_data, gfc_set_in_match_data): New
51         functions to signal that a DATA statement is being matched.
52         (gfc_match_data): Call gfc_set_in_match_data on entry and on
53         exit.
54         * gfortran.h : Add prototypes for above.
55         * expr.c (check_init_expr): Avoid check on parameter or
56         variable if gfc_in_match_data is true.
57         (gfc_match_init_expr): Do not call error on non-reduction of
58         expression if gfc_in_match_data is true.
59
60         PR fortran/27996
61         PR fortran/27998
62         * decl.c (gfc_set_constant_character_len): Add boolean arg to
63         flag array constructor resolution.  Warn if string is being
64         truncated.  Standard dependent error if string is padded. Set
65         new arg to false for all three calls to
66         gfc_set_constant_character_len.
67         * match.h : Add boolean arg to prototype for
68         gfc_set_constant_character_len.
69         * gfortran.h : Add warn_character_truncation to gfc_options.
70         * options.c (set_Wall): Set warn_character_truncation if -Wall
71         is set.
72         * resolve.c (resolve_code): Warn if rhs string in character
73         assignment has to be truncated.
74         * array.c (gfc_resolve_character_array_constructor): Set new
75         argument to true for call to gfc_set_constant_character_len.
76
77 2007-01-05  Tobias Burnus  <burnus@net-b.de>
78
79         PR fortran/29624
80         * interface.c (compare_parameter_intent): New function.
81           (check_intents): Support pointer intents.
82         * symbol.c (check_conflict): Support pointer intents,
83           better conflict_std message.
84         * expr.c (gfc_check_assign,gfc_check_pointer_assign):
85           Support pointer intents.
86         * resolve.c (resolve_deallocate_expr,resolve_allocate_expr):
87           Support pointer intents.
88
89 2007-01-03  Brooks Moses  <brooks.moses@codesourcery.com>
90
91         PR 30371
92         * check.c (gfc_check_kill_sub): Add checks for non-scalar
93         arguments.
94
95 2007-01-04  Brooks Moses  <brooks.moses@codesourcery.com>
96
97         * intrinsic.texi: Minor cleanup, reflowing overlong
98         paragraphs, and correcting whitespace.
99
100 2007-01-04  Brooks Moses  <brooks.moses@codesourcery.com>
101
102         * intrinsic.texi (LBOUND): Add documentation.
103         (LGE): Add documentation.
104         (LGT): Add documentation.
105         (LINK): Add documentation.
106         (LLE): Add documentation.
107         (LLT): Add documentation.
108         (LNBLNK): Add documentation.
109         (UBOUND): Add documentation.
110         (UNLINK): Add documentation.
111
112 2007-01-04  Brooks Moses  <brooks.moses@codesourcery.com>
113
114         * intrinsic.texi (IAND): Clarify argument specifications.
115         (IBCLR): Add documentation.
116         (IBITS): Add documentation.
117         (IBSET): Add documentation.
118         (IEOR): Add documentation.
119         (IERRNO): Add documentation.
120         (INDEX): Add documentation.
121         (IOR): Add documentation.
122         (ISHFT): Add documentation.
123         (ISHFTC): Add documentation.
124         (KILL): Add documentation.
125         (LEN_TRIM): Add documentation.
126
127 2007-01-04  Brooks Moses  <brooks.moses@codesourcery.com>
128
129         PR 30235
130         * interface.c (compare_actual_formal): check for
131         alternate returns when iterating over non-present
132         arguments.
133
134 2007-01-04  Brooks Moses  <brooks.moses@codesourcery.com>
135
136         * invoke.texi: Update manpage copyright to include 2007.
137
138 2007-01-04  Brooks Moses  <brooks.moses@codesourcery.com>
139
140         * gfortran.texi: Update copyright to include 2007.
141         * intrinsic.texi: Update copyright to include 2007.
142         * invoke.texi: Update copyright to include 2007.
143
144 2007-01-02  Tobias Burnus  <burnus@net-b.de>
145             Jakub Jelinek  <jakub@redhat.com>
146
147         PR fortran/30276
148         * scanner.c (open_included_file): Revert patch.
149           (gfc_open_included_file): Support absolute pathnames.
150           (gfc_open_intrinsic_module): Support absolute pathnames.
151
152 2007-01-03  Brooks Moses  <brooks.moses@codesourcery.com>
153
154         * gfortran.texi (GNU Fortran and GCC): Rewrite
155
156 2007-01-03  Brooks Moses  <brooks.moses@codesourcery.com>
157
158         * gfortran.texi (Introduction): Lower "Part I:
159         Introduction" to a chapter, renumber Parts II and III to
160         Parts I and II.
161         * intrinsic.texi (Introduction): Rename to "Introduction
162         to Intrinsics" to avoid conflict with the new chapter.
163
164 2007-01-03  Brooks Moses  <brooks.moses@codesourcery.com>
165
166         * intrinsic.texi (Introduction): Rewrite first paragraph.
167
168 2007-01-03  Brooks Moses  <brooks.moses@codesourcery.com>
169
170         * invoke.texi (OpenMP): Added index entry.
171         * gfortran.texi (title page): Removed erroneous '*'.
172
173 2007-01-03  Brooks Moses  <brooks.moses@codesourcery.com>
174
175         * gfortran.texi (GFORTRAN_DEFAULT_RECL): Added units
176         to description.
177         (Extensions): Miscellaneous minor rewriting and copyediting.
178         (BOZ-literal constants): Renamed from Hexadecimal constants.
179         (Hollerith constants support): Added explanation and 
180         suggestions for standard-conforming modern equivalents.
181
182 2007-01-03  Brooks Moses  <brooks.moses@codesourcery.com>
183
184         * intrinsic.texi: Improvements to index entries; change
185         @findex entries to @cindex entries.
186         * invoke.texi: Standardize and improve index entries.
187         * gfortran.texi: Fix @code in one index entry.
188
189 2007-01-03  Brooks Moses  <brooks.moses@codesourcery.com>
190
191         * invoke.texi: Change @code-type macros to appropriate
192         variants (@command, @option, etc.)
193         * gfortran.texi: Same.
194
195 2007-01-03  Brooks Moses  <brooks.moses@codesourcery.com>
196
197         * intrinsic.texi: Various minor cleanups.
198
199 2007-01-02  Steven G. Kargl  <kargls@comcast.net>
200
201         * trans-intrinsic.c (gfc_conv_intrinsic_ibits): Fix call to
202         build_int_cst.
203
204 2007-01-02  Tobias Burnus  <burnus@net-b.de>
205
206         PR fortran/30276
207         * scanner.c (open_included_file): Support full-path filenames.
208
209 2007-01-02  Paul Thomas  <pault@gcc.gnu.org>
210
211         PR fortran/20896
212         * interface.c (check_sym_interfaces): Remove call to
213         resolve_global_procedure.
214         gfortran.h : Remove prototype for resolve_global_procedure.
215         resolve.c (resolve_global_procedure): Add static attribute
216         to function declaration.
217
218 2007-01-01  Steven G. Kargl  <kargls@comcast.net>
219
220         * ChangeLog: Copy to ...
221         * ChangeLog-2006: here.