1 2007-01-11 Brooks Moses <brooks.moses@codesourcery.com>
3 * simplify.c: Update copyright to 2007.
6 2007-01-11 Francois-Xavier Coudert <coudert@clipper.ens.fr>
9 * scanner.c (gfc_release_include_path): Free gfc_option.module_dir
12 2007-01-09 Brooks Moses <brooks.moses@codesourcery.com>
14 * simplify.c (gfc_simplify_ibclr): Fix POS comparison.
15 (gfc_simplify_ibset): Same.
17 2007-01-09 Brooks Moses <brooks.moses@codesourcery.com>
21 * simplify.c (convert_mpz_to_unsigned): New function.
22 (convert_mpz_to_signed): New function, largely based on
24 (twos_complement): Removed.
25 (gfc_simplify_ibclr): Add conversions to and from an
26 unsigned representation before bit-twiddling.
27 (gfc_simplify_ibset): Same.
28 (gfc_simplify_ishftc): Add checks for overly large
29 constant arguments, only check the third argument if
30 it's present, carry over high bits into the result as
31 appropriate, and perform the final conversion back to
32 a signed representation using the correct sign bit.
33 (gfc_simplify_not): Removed unnecessary masking.
35 2007-01-09 Paul Thomas <pault@gcc.gnu.org>
38 * resolve.c (resolve_code): Use the code->expr character length
39 directly to set length of llen.
41 2007-01-09 Jerry DeLisle <jvdelisle@gcc.gnu.org>
44 * lang.opt: Add Wcharacter_truncation option.
45 * options.c (gfc_init_options): Initialize
46 gfc_option.warn_character_truncation to zero.
47 (gfc_handle_option): Add case for OPT_Wcharacter_truncation.
49 2007-01-08 Steven G. Kargl <kargl@gcc.gnu.org>
51 * interface.c, intrinsic.c, gfortranspec.c, io.c, f95-lang.c,
52 iresolve.c, match.c: Update Copyright years. Whitespace.
54 2007-01-08 Richard Guenther <rguenther@suse.de>
56 * trans-io.c (transfer_array_desc): Use build_int_cst instead
59 2007-01-08 Roger Sayle <roger@eyesopen.com>
61 * trans-array.c (constant_array_constructor_p): New function to
62 determine whether an array constructor consists only of constant
63 elements, and if so return it's size.
64 (gfc_build_constant_array_constructor): Construct a statically
65 initialized gfortran array for a given EXPR_ARRAY.
66 (gfc_trans_constant_array_constructor): Efficiently scalarize
67 a constant array constructor.
68 (gfc_trans_array_constructor): Tidy up use of CONST_STRING.
69 Special case scalarization of constant array constructors, all of
70 whose elements are specified, using constant_array_constructor_p
71 and gfc_trans_constant_array_constructor.
72 (gfc_conv_scalarized_array_ref): Check whetger info->offset is zero
73 before adding it to index, to avoid creating a NON_LVALUE_EXPR.
75 2007-01-08 Kazu Hirata <kazu@codesourcery.com>
77 gfortran.texi: Fix typos.
79 2007-01-07 Steven G. Kargl <kargl@gcc.gnu.org>
81 * decl.c, dump-parse-tree.c, error.c, data.c, expr.c, dependency.c,
82 convert.c: Update Copyright dates. Fix whitespace.
84 2007-01-07 Bernhard Fischer <aldot@gcc.gnu.org>
86 * data.c (gfc_assign_data_value): Fix whitespace.
88 2007-01-07 Bernhard Fischer <aldot@gcc.gnu.org>
90 * trans-array.c (gfc_trans_create_temp_array, gfc_array_init_size):
93 2007-01-07 Bernhard Fischer <aldot@gcc.gnu.org>
96 * match.c (gfc_match_name): Print diagnostics for invalid
99 2007-01-06 Steven G. Kargl <kargl@gcc.gnu.org>
101 * array.c: Fix whitespace in comment table.
103 2007-01-06 Steven G. Kargl <kargl@gcc.gnu.org>
105 * array.c, bbt.c, check.c: Update copyright years. Whitespace.
107 2007-01-06 Steven G. Kargl <kargl@gcc.gnu.org>
109 * arith.c: Update copyright years. Whitespace.
111 2007-01-05 Roger Sayle <roger@eyesopen.com>
113 * trans-expr.c (gfc_trans_assignment_1): New subroutine to scalarize
114 array assignments split out from gfc_trans_assignment.
115 (gfc_trans_array_copy): New function to implement array to array
116 copies via calls to __builtin_memcpy.
117 (copyable_array_p): New helper function to identify an array of
118 simple/POD types, that may be copied/assigned using memcpy.
119 (gfc_trans_assignment): Use gfc_trans_array_copy to handle simple
120 whole array assignments considered suitable by copyable_array_p.
121 Invoke gfc_trans_assignment_1 to perform the fallback scalarization.
123 2007-01-05 Roger Sayle <roger@eyesopen.com>
125 * trans-array.c (gfc_trans_array_constructor_value): Make the
126 static const "data" array as TREE_READONLY.
127 * trans-stmt.c (gfc_trans_character_select): Likewise.
129 2007-01-05 Roger Sayle <roger@eyesopen.com>
131 * trans-array.c (gfc_conv_loop_setup): Test whether the loop
132 stride is one, to avoid fold_build2 introducing a useless
133 NON_LVALUE_EXPR node.
135 2007-01-05 Tobias Burnus <burnus@net-b.de>
137 * symbol.c (check_conflict): Fix error message.
139 2007-01-05 Paul Thomas <pault@gcc.gnu.org>
142 * decl.c (gfc_in_match_data, gfc_set_in_match_data): New
143 functions to signal that a DATA statement is being matched.
144 (gfc_match_data): Call gfc_set_in_match_data on entry and on
146 * gfortran.h : Add prototypes for above.
147 * expr.c (check_init_expr): Avoid check on parameter or
148 variable if gfc_in_match_data is true.
149 (gfc_match_init_expr): Do not call error on non-reduction of
150 expression if gfc_in_match_data is true.
154 * decl.c (gfc_set_constant_character_len): Add boolean arg to
155 flag array constructor resolution. Warn if string is being
156 truncated. Standard dependent error if string is padded. Set
157 new arg to false for all three calls to
158 gfc_set_constant_character_len.
159 * match.h : Add boolean arg to prototype for
160 gfc_set_constant_character_len.
161 * gfortran.h : Add warn_character_truncation to gfc_options.
162 * options.c (set_Wall): Set warn_character_truncation if -Wall
164 * resolve.c (resolve_code): Warn if rhs string in character
165 assignment has to be truncated.
166 * array.c (gfc_resolve_character_array_constructor): Set new
167 argument to true for call to gfc_set_constant_character_len.
169 2007-01-05 Tobias Burnus <burnus@net-b.de>
172 * interface.c (compare_parameter_intent): New function.
173 (check_intents): Support pointer intents.
174 * symbol.c (check_conflict): Support pointer intents,
175 better conflict_std message.
176 * expr.c (gfc_check_assign,gfc_check_pointer_assign):
177 Support pointer intents.
178 * resolve.c (resolve_deallocate_expr,resolve_allocate_expr):
179 Support pointer intents.
181 2007-01-03 Brooks Moses <brooks.moses@codesourcery.com>
184 * check.c (gfc_check_kill_sub): Add checks for non-scalar
187 2007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
189 * intrinsic.texi: Minor cleanup, reflowing overlong
190 paragraphs, and correcting whitespace.
192 2007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
194 * intrinsic.texi (LBOUND): Add documentation.
195 (LGE): Add documentation.
196 (LGT): Add documentation.
197 (LINK): Add documentation.
198 (LLE): Add documentation.
199 (LLT): Add documentation.
200 (LNBLNK): Add documentation.
201 (UBOUND): Add documentation.
202 (UNLINK): Add documentation.
204 2007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
206 * intrinsic.texi (IAND): Clarify argument specifications.
207 (IBCLR): Add documentation.
208 (IBITS): Add documentation.
209 (IBSET): Add documentation.
210 (IEOR): Add documentation.
211 (IERRNO): Add documentation.
212 (INDEX): Add documentation.
213 (IOR): Add documentation.
214 (ISHFT): Add documentation.
215 (ISHFTC): Add documentation.
216 (KILL): Add documentation.
217 (LEN_TRIM): Add documentation.
219 2007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
222 * interface.c (compare_actual_formal): check for
223 alternate returns when iterating over non-present
226 2007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
228 * invoke.texi: Update manpage copyright to include 2007.
230 2007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
232 * gfortran.texi: Update copyright to include 2007.
233 * intrinsic.texi: Update copyright to include 2007.
234 * invoke.texi: Update copyright to include 2007.
236 2007-01-02 Tobias Burnus <burnus@net-b.de>
237 Jakub Jelinek <jakub@redhat.com>
240 * scanner.c (open_included_file): Revert patch.
241 (gfc_open_included_file): Support absolute pathnames.
242 (gfc_open_intrinsic_module): Support absolute pathnames.
244 2007-01-03 Brooks Moses <brooks.moses@codesourcery.com>
246 * gfortran.texi (GNU Fortran and GCC): Rewrite
248 2007-01-03 Brooks Moses <brooks.moses@codesourcery.com>
250 * gfortran.texi (Introduction): Lower "Part I:
251 Introduction" to a chapter, renumber Parts II and III to
253 * intrinsic.texi (Introduction): Rename to "Introduction
254 to Intrinsics" to avoid conflict with the new chapter.
256 2007-01-03 Brooks Moses <brooks.moses@codesourcery.com>
258 * intrinsic.texi (Introduction): Rewrite first paragraph.
260 2007-01-03 Brooks Moses <brooks.moses@codesourcery.com>
262 * invoke.texi (OpenMP): Added index entry.
263 * gfortran.texi (title page): Removed erroneous '*'.
265 2007-01-03 Brooks Moses <brooks.moses@codesourcery.com>
267 * gfortran.texi (GFORTRAN_DEFAULT_RECL): Added units
269 (Extensions): Miscellaneous minor rewriting and copyediting.
270 (BOZ-literal constants): Renamed from Hexadecimal constants.
271 (Hollerith constants support): Added explanation and
272 suggestions for standard-conforming modern equivalents.
274 2007-01-03 Brooks Moses <brooks.moses@codesourcery.com>
276 * intrinsic.texi: Improvements to index entries; change
277 @findex entries to @cindex entries.
278 * invoke.texi: Standardize and improve index entries.
279 * gfortran.texi: Fix @code in one index entry.
281 2007-01-03 Brooks Moses <brooks.moses@codesourcery.com>
283 * invoke.texi: Change @code-type macros to appropriate
284 variants (@command, @option, etc.)
285 * gfortran.texi: Same.
287 2007-01-03 Brooks Moses <brooks.moses@codesourcery.com>
289 * intrinsic.texi: Various minor cleanups.
291 2007-01-02 Steven G. Kargl <kargls@comcast.net>
293 * trans-intrinsic.c (gfc_conv_intrinsic_ibits): Fix call to
296 2007-01-02 Tobias Burnus <burnus@net-b.de>
299 * scanner.c (open_included_file): Support full-path filenames.
301 2007-01-02 Paul Thomas <pault@gcc.gnu.org>
304 * interface.c (check_sym_interfaces): Remove call to
305 resolve_global_procedure.
306 gfortran.h : Remove prototype for resolve_global_procedure.
307 resolve.c (resolve_global_procedure): Add static attribute
308 to function declaration.
310 2007-01-01 Steven G. Kargl <kargls@comcast.net>
312 * ChangeLog: Copy to ...
313 * ChangeLog-2006: here.