]> git.ipfire.org Git - thirdparty/gcc.git/blame - gcc/fortran/ChangeLog
re PR fortran/30410 (Host association bug w/ EXTERNAL)
[thirdparty/gcc.git] / gcc / fortran / ChangeLog
CommitLineData
c89686a8
PT
12007-01-14 Paul Thomas <pault@gcc.gnu.org>
2
3 PR fortran/30410
4 * trans-decl.c (gfc_sym_mangled_function_id): Module, external
5 symbols must not have the module name prepended.
6
90d715b0
TK
72007-01-11 Thomas Koenig <Thomas.Koenig@online.de>
8
9 PR libfortran/30415
10 * iresolve.c (gfc_resolve_maxloc): If the rank
11 of the return array is nonzero and we process an
12 integer array smaller than default kind, coerce
13 the array to default integer.
14 * iresolve.c (gfc_resolve_minloc): Likewise.
15
4d499824
BM
162007-01-11 Brooks Moses <brooks.moses@codesourcery.com>
17
18 * simplify.c: Update copyright to 2007.
19 * scanner.c: Same.
20
1bc23383
FXC
212007-01-11 Francois-Xavier Coudert <coudert@clipper.ens.fr>
22
23 PR fortran/30430
24 * scanner.c (gfc_release_include_path): Free gfc_option.module_dir
25 only once!
26
3775c3dc
BM
272007-01-09 Brooks Moses <brooks.moses@codesourcery.com>
28
29 * simplify.c (gfc_simplify_ibclr): Fix POS comparison.
30 (gfc_simplify_ibset): Same.
31
f1dcb9bf
BM
322007-01-09 Brooks Moses <brooks.moses@codesourcery.com>
33
34 PR 30381
35 PR 30420
36 * simplify.c (convert_mpz_to_unsigned): New function.
37 (convert_mpz_to_signed): New function, largely based on
38 twos_complement().
39 (twos_complement): Removed.
40 (gfc_simplify_ibclr): Add conversions to and from an
41 unsigned representation before bit-twiddling.
42 (gfc_simplify_ibset): Same.
43 (gfc_simplify_ishftc): Add checks for overly large
44 constant arguments, only check the third argument if
45 it's present, carry over high bits into the result as
46 appropriate, and perform the final conversion back to
47 a signed representation using the correct sign bit.
48 (gfc_simplify_not): Removed unnecessary masking.
49
0b30ba3b
JD
502007-01-09 Paul Thomas <pault@gcc.gnu.org>
51
52 PR fortran/30408
53 * resolve.c (resolve_code): Use the code->expr character length
54 directly to set length of llen.
55
562007-01-09 Jerry DeLisle <jvdelisle@gcc.gnu.org>
57
58 PR fortran/30408
59 * lang.opt: Add Wcharacter_truncation option.
60 * options.c (gfc_init_options): Initialize
61 gfc_option.warn_character_truncation to zero.
62 (gfc_handle_option): Add case for OPT_Wcharacter_truncation.
63
b251af97
SK
642007-01-08 Steven G. Kargl <kargl@gcc.gnu.org>
65
66 * interface.c, intrinsic.c, gfortranspec.c, io.c, f95-lang.c,
67 iresolve.c, match.c: Update Copyright years. Whitespace.
68
7fb41a42
RG
692007-01-08 Richard Guenther <rguenther@suse.de>
70
71 * trans-io.c (transfer_array_desc): Use build_int_cst instead
72 of build_int_cstu.
73
62511fb1
RS
742007-01-08 Roger Sayle <roger@eyesopen.com>
75
76 * trans-array.c (constant_array_constructor_p): New function to
77 determine whether an array constructor consists only of constant
78 elements, and if so return it's size.
79 (gfc_build_constant_array_constructor): Construct a statically
80 initialized gfortran array for a given EXPR_ARRAY.
81 (gfc_trans_constant_array_constructor): Efficiently scalarize
82 a constant array constructor.
83 (gfc_trans_array_constructor): Tidy up use of CONST_STRING.
84 Special case scalarization of constant array constructors, all of
85 whose elements are specified, using constant_array_constructor_p
86 and gfc_trans_constant_array_constructor.
87 (gfc_conv_scalarized_array_ref): Check whetger info->offset is zero
88 before adding it to index, to avoid creating a NON_LVALUE_EXPR.
89
0979f01d
KH
902007-01-08 Kazu Hirata <kazu@codesourcery.com>
91
92 gfortran.texi: Fix typos.
93
636dff67
SK
942007-01-07 Steven G. Kargl <kargl@gcc.gnu.org>
95
96 * decl.c, dump-parse-tree.c, error.c, data.c, expr.c, dependency.c,
97 convert.c: Update Copyright dates. Fix whitespace.
98
cd85e27a
BF
992007-01-07 Bernhard Fischer <aldot@gcc.gnu.org>
100
101 * data.c (gfc_assign_data_value): Fix whitespace.
102
dbfd1e01
BF
1032007-01-07 Bernhard Fischer <aldot@gcc.gnu.org>
104
105 * trans-array.c (gfc_trans_create_temp_array, gfc_array_init_size):
106 Commentary typo fix.
107
be58af47
BF
1082007-01-07 Bernhard Fischer <aldot@gcc.gnu.org>
109
110 PR fortran/27698
111 * match.c (gfc_match_name): Print diagnostics for invalid
112 character in names.
113
b7fdd4ed
SK
1142007-01-06 Steven G. Kargl <kargl@gcc.gnu.org>
115
116 * array.c: Fix whitespace in comment table.
117
65f8144a
SK
1182007-01-06 Steven G. Kargl <kargl@gcc.gnu.org>
119
120 * array.c, bbt.c, check.c: Update copyright years. Whitespace.
121
1222007-01-06 Steven G. Kargl <kargl@gcc.gnu.org>
74e3459c
SK
123
124 * arith.c: Update copyright years. Whitespace.
125
a3018753
RS
1262007-01-05 Roger Sayle <roger@eyesopen.com>
127
128 * trans-expr.c (gfc_trans_assignment_1): New subroutine to scalarize
129 array assignments split out from gfc_trans_assignment.
130 (gfc_trans_array_copy): New function to implement array to array
131 copies via calls to __builtin_memcpy.
132 (copyable_array_p): New helper function to identify an array of
133 simple/POD types, that may be copied/assigned using memcpy.
134 (gfc_trans_assignment): Use gfc_trans_array_copy to handle simple
135 whole array assignments considered suitable by copyable_array_p.
136 Invoke gfc_trans_assignment_1 to perform the fallback scalarization.
137
0f0707d1
RS
1382007-01-05 Roger Sayle <roger@eyesopen.com>
139
140 * trans-array.c (gfc_trans_array_constructor_value): Make the
141 static const "data" array as TREE_READONLY.
142 * trans-stmt.c (gfc_trans_character_select): Likewise.
143
c96111c0
RS
1442007-01-05 Roger Sayle <roger@eyesopen.com>
145
146 * trans-array.c (gfc_conv_loop_setup): Test whether the loop
147 stride is one, to avoid fold_build2 introducing a useless
148 NON_LVALUE_EXPR node.
149
ee167bcb
TB
1502007-01-05 Tobias Burnus <burnus@net-b.de>
151
152 * symbol.c (check_conflict): Fix error message.
153
2220652d
PT
1542007-01-05 Paul Thomas <pault@gcc.gnu.org>
155
156 PR fortran/23232
157 * decl.c (gfc_in_match_data, gfc_set_in_match_data): New
158 functions to signal that a DATA statement is being matched.
159 (gfc_match_data): Call gfc_set_in_match_data on entry and on
160 exit.
161 * gfortran.h : Add prototypes for above.
162 * expr.c (check_init_expr): Avoid check on parameter or
163 variable if gfc_in_match_data is true.
164 (gfc_match_init_expr): Do not call error on non-reduction of
165 expression if gfc_in_match_data is true.
166
167 PR fortran/27996
168 PR fortran/27998
169 * decl.c (gfc_set_constant_character_len): Add boolean arg to
170 flag array constructor resolution. Warn if string is being
171 truncated. Standard dependent error if string is padded. Set
172 new arg to false for all three calls to
173 gfc_set_constant_character_len.
174 * match.h : Add boolean arg to prototype for
175 gfc_set_constant_character_len.
176 * gfortran.h : Add warn_character_truncation to gfc_options.
177 * options.c (set_Wall): Set warn_character_truncation if -Wall
178 is set.
179 * resolve.c (resolve_code): Warn if rhs string in character
180 assignment has to be truncated.
181 * array.c (gfc_resolve_character_array_constructor): Set new
182 argument to true for call to gfc_set_constant_character_len.
183
f17facac
TB
1842007-01-05 Tobias Burnus <burnus@net-b.de>
185
186 PR fortran/29624
187 * interface.c (compare_parameter_intent): New function.
188 (check_intents): Support pointer intents.
189 * symbol.c (check_conflict): Support pointer intents,
190 better conflict_std message.
191 * expr.c (gfc_check_assign,gfc_check_pointer_assign):
192 Support pointer intents.
193 * resolve.c (resolve_deallocate_expr,resolve_allocate_expr):
194 Support pointer intents.
195
c7944152
BM
1962007-01-03 Brooks Moses <brooks.moses@codesourcery.com>
197
198 PR 30371
199 * check.c (gfc_check_kill_sub): Add checks for non-scalar
200 arguments.
201
ea8dda63
BM
2022007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
203
204 * intrinsic.texi: Minor cleanup, reflowing overlong
205 paragraphs, and correcting whitespace.
206
bc5b7642
BM
2072007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
208
209 * intrinsic.texi (LBOUND): Add documentation.
210 (LGE): Add documentation.
211 (LGT): Add documentation.
212 (LINK): Add documentation.
213 (LLE): Add documentation.
214 (LLT): Add documentation.
215 (LNBLNK): Add documentation.
216 (UBOUND): Add documentation.
217 (UNLINK): Add documentation.
218
6d413586
BM
2192007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
220
221 * intrinsic.texi (IAND): Clarify argument specifications.
222 (IBCLR): Add documentation.
223 (IBITS): Add documentation.
224 (IBSET): Add documentation.
225 (IEOR): Add documentation.
226 (IERRNO): Add documentation.
227 (INDEX): Add documentation.
228 (IOR): Add documentation.
229 (ISHFT): Add documentation.
230 (ISHFTC): Add documentation.
231 (KILL): Add documentation.
232 (LEN_TRIM): Add documentation.
233
3ab7b3de
BM
2342007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
235
236 PR 30235
237 * interface.c (compare_actual_formal): check for
238 alternate returns when iterating over non-present
239 arguments.
240
5f9a37a6
BM
2412007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
242
243 * invoke.texi: Update manpage copyright to include 2007.
244
2553e4e0
BM
2452007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
246
247 * gfortran.texi: Update copyright to include 2007.
248 * intrinsic.texi: Update copyright to include 2007.
249 * invoke.texi: Update copyright to include 2007.
250
e01f74e0
TB
2512007-01-02 Tobias Burnus <burnus@net-b.de>
252 Jakub Jelinek <jakub@redhat.com>
253
254 PR fortran/30276
255 * scanner.c (open_included_file): Revert patch.
256 (gfc_open_included_file): Support absolute pathnames.
257 (gfc_open_intrinsic_module): Support absolute pathnames.
258
de43c613
BM
2592007-01-03 Brooks Moses <brooks.moses@codesourcery.com>
260
261 * gfortran.texi (GNU Fortran and GCC): Rewrite
262
e6b38f67
BM
2632007-01-03 Brooks Moses <brooks.moses@codesourcery.com>
264
265 * gfortran.texi (Introduction): Lower "Part I:
266 Introduction" to a chapter, renumber Parts II and III to
267 Parts I and II.
268 * intrinsic.texi (Introduction): Rename to "Introduction
269 to Intrinsics" to avoid conflict with the new chapter.
270
e1b4184c
BM
2712007-01-03 Brooks Moses <brooks.moses@codesourcery.com>
272
273 * intrinsic.texi (Introduction): Rewrite first paragraph.
274
4e8b3590
BM
2752007-01-03 Brooks Moses <brooks.moses@codesourcery.com>
276
277 * invoke.texi (OpenMP): Added index entry.
278 * gfortran.texi (title page): Removed erroneous '*'.
279
11de78ff
BM
2802007-01-03 Brooks Moses <brooks.moses@codesourcery.com>
281
282 * gfortran.texi (GFORTRAN_DEFAULT_RECL): Added units
283 to description.
284 (Extensions): Miscellaneous minor rewriting and copyediting.
285 (BOZ-literal constants): Renamed from Hexadecimal constants.
286 (Hollerith constants support): Added explanation and
287 suggestions for standard-conforming modern equivalents.
288
4ba96c02
BM
2892007-01-03 Brooks Moses <brooks.moses@codesourcery.com>
290
291 * intrinsic.texi: Improvements to index entries; change
292 @findex entries to @cindex entries.
293 * invoke.texi: Standardize and improve index entries.
294 * gfortran.texi: Fix @code in one index entry.
295
40746dcc
BM
2962007-01-03 Brooks Moses <brooks.moses@codesourcery.com>
297
298 * invoke.texi: Change @code-type macros to appropriate
299 variants (@command, @option, etc.)
300 * gfortran.texi: Same.
301
0c5a1cbc
BM
3022007-01-03 Brooks Moses <brooks.moses@codesourcery.com>
303
304 * intrinsic.texi: Various minor cleanups.
305
b17a1b93
SK
3062007-01-02 Steven G. Kargl <kargls@comcast.net>
307
308 * trans-intrinsic.c (gfc_conv_intrinsic_ibits): Fix call to
309 build_int_cst.
310
f1441c81
TB
3112007-01-02 Tobias Burnus <burnus@net-b.de>
312
313 PR fortran/30276
314 * scanner.c (open_included_file): Support full-path filenames.
315
ff604888
PT
3162007-01-02 Paul Thomas <pault@gcc.gnu.org>
317
318 PR fortran/20896
319 * interface.c (check_sym_interfaces): Remove call to
320 resolve_global_procedure.
321 gfortran.h : Remove prototype for resolve_global_procedure.
322 resolve.c (resolve_global_procedure): Add static attribute
323 to function declaration.
324
afdc40f5 3252007-01-01 Steven G. Kargl <kargls@comcast.net>
20a037d5 326
afdc40f5
SK
327 * ChangeLog: Copy to ...
328 * ChangeLog-2006: here.