1 2007-01-08 Richard Guenther <rguenther@suse.de>
3 * trans-io.c (transfer_array_desc): Use build_int_cst instead
6 2007-01-08 Roger Sayle <roger@eyesopen.com>
8 * trans-array.c (constant_array_constructor_p): New function to
9 determine whether an array constructor consists only of constant
10 elements, and if so return it's size.
11 (gfc_build_constant_array_constructor): Construct a statically
12 initialized gfortran array for a given EXPR_ARRAY.
13 (gfc_trans_constant_array_constructor): Efficiently scalarize
14 a constant array constructor.
15 (gfc_trans_array_constructor): Tidy up use of CONST_STRING.
16 Special case scalarization of constant array constructors, all of
17 whose elements are specified, using constant_array_constructor_p
18 and gfc_trans_constant_array_constructor.
19 (gfc_conv_scalarized_array_ref): Check whetger info->offset is zero
20 before adding it to index, to avoid creating a NON_LVALUE_EXPR.
22 2007-01-08 Kazu Hirata <kazu@codesourcery.com>
24 gfortran.texi: Fix typos.
26 2007-01-07 Steven G. Kargl <kargl@gcc.gnu.org>
28 * decl.c, dump-parse-tree.c, error.c, data.c, expr.c, dependency.c,
29 convert.c: Update Copyright dates. Fix whitespace.
31 2007-01-07 Bernhard Fischer <aldot@gcc.gnu.org>
33 * data.c (gfc_assign_data_value): Fix whitespace.
35 2007-01-07 Bernhard Fischer <aldot@gcc.gnu.org>
37 * trans-array.c (gfc_trans_create_temp_array, gfc_array_init_size):
40 2007-01-07 Bernhard Fischer <aldot@gcc.gnu.org>
43 * match.c (gfc_match_name): Print diagnostics for invalid
46 2007-01-06 Steven G. Kargl <kargl@gcc.gnu.org>
48 * array.c: Fix whitespace in comment table.
50 2007-01-06 Steven G. Kargl <kargl@gcc.gnu.org>
52 * array.c, bbt.c, check.c: Update copyright years. Whitespace.
54 2007-01-06 Steven G. Kargl <kargl@gcc.gnu.org>
56 * arith.c: Update copyright years. Whitespace.
58 2007-01-05 Roger Sayle <roger@eyesopen.com>
60 * trans-expr.c (gfc_trans_assignment_1): New subroutine to scalarize
61 array assignments split out from gfc_trans_assignment.
62 (gfc_trans_array_copy): New function to implement array to array
63 copies via calls to __builtin_memcpy.
64 (copyable_array_p): New helper function to identify an array of
65 simple/POD types, that may be copied/assigned using memcpy.
66 (gfc_trans_assignment): Use gfc_trans_array_copy to handle simple
67 whole array assignments considered suitable by copyable_array_p.
68 Invoke gfc_trans_assignment_1 to perform the fallback scalarization.
70 2007-01-05 Roger Sayle <roger@eyesopen.com>
72 * trans-array.c (gfc_trans_array_constructor_value): Make the
73 static const "data" array as TREE_READONLY.
74 * trans-stmt.c (gfc_trans_character_select): Likewise.
76 2007-01-05 Roger Sayle <roger@eyesopen.com>
78 * trans-array.c (gfc_conv_loop_setup): Test whether the loop
79 stride is one, to avoid fold_build2 introducing a useless
82 2007-01-05 Tobias Burnus <burnus@net-b.de>
84 * symbol.c (check_conflict): Fix error message.
86 2007-01-05 Paul Thomas <pault@gcc.gnu.org>
89 * decl.c (gfc_in_match_data, gfc_set_in_match_data): New
90 functions to signal that a DATA statement is being matched.
91 (gfc_match_data): Call gfc_set_in_match_data on entry and on
93 * gfortran.h : Add prototypes for above.
94 * expr.c (check_init_expr): Avoid check on parameter or
95 variable if gfc_in_match_data is true.
96 (gfc_match_init_expr): Do not call error on non-reduction of
97 expression if gfc_in_match_data is true.
101 * decl.c (gfc_set_constant_character_len): Add boolean arg to
102 flag array constructor resolution. Warn if string is being
103 truncated. Standard dependent error if string is padded. Set
104 new arg to false for all three calls to
105 gfc_set_constant_character_len.
106 * match.h : Add boolean arg to prototype for
107 gfc_set_constant_character_len.
108 * gfortran.h : Add warn_character_truncation to gfc_options.
109 * options.c (set_Wall): Set warn_character_truncation if -Wall
111 * resolve.c (resolve_code): Warn if rhs string in character
112 assignment has to be truncated.
113 * array.c (gfc_resolve_character_array_constructor): Set new
114 argument to true for call to gfc_set_constant_character_len.
116 2007-01-05 Tobias Burnus <burnus@net-b.de>
119 * interface.c (compare_parameter_intent): New function.
120 (check_intents): Support pointer intents.
121 * symbol.c (check_conflict): Support pointer intents,
122 better conflict_std message.
123 * expr.c (gfc_check_assign,gfc_check_pointer_assign):
124 Support pointer intents.
125 * resolve.c (resolve_deallocate_expr,resolve_allocate_expr):
126 Support pointer intents.
128 2007-01-03 Brooks Moses <brooks.moses@codesourcery.com>
131 * check.c (gfc_check_kill_sub): Add checks for non-scalar
134 2007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
136 * intrinsic.texi: Minor cleanup, reflowing overlong
137 paragraphs, and correcting whitespace.
139 2007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
141 * intrinsic.texi (LBOUND): Add documentation.
142 (LGE): Add documentation.
143 (LGT): Add documentation.
144 (LINK): Add documentation.
145 (LLE): Add documentation.
146 (LLT): Add documentation.
147 (LNBLNK): Add documentation.
148 (UBOUND): Add documentation.
149 (UNLINK): Add documentation.
151 2007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
153 * intrinsic.texi (IAND): Clarify argument specifications.
154 (IBCLR): Add documentation.
155 (IBITS): Add documentation.
156 (IBSET): Add documentation.
157 (IEOR): Add documentation.
158 (IERRNO): Add documentation.
159 (INDEX): Add documentation.
160 (IOR): Add documentation.
161 (ISHFT): Add documentation.
162 (ISHFTC): Add documentation.
163 (KILL): Add documentation.
164 (LEN_TRIM): Add documentation.
166 2007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
169 * interface.c (compare_actual_formal): check for
170 alternate returns when iterating over non-present
173 2007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
175 * invoke.texi: Update manpage copyright to include 2007.
177 2007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
179 * gfortran.texi: Update copyright to include 2007.
180 * intrinsic.texi: Update copyright to include 2007.
181 * invoke.texi: Update copyright to include 2007.
183 2007-01-02 Tobias Burnus <burnus@net-b.de>
184 Jakub Jelinek <jakub@redhat.com>
187 * scanner.c (open_included_file): Revert patch.
188 (gfc_open_included_file): Support absolute pathnames.
189 (gfc_open_intrinsic_module): Support absolute pathnames.
191 2007-01-03 Brooks Moses <brooks.moses@codesourcery.com>
193 * gfortran.texi (GNU Fortran and GCC): Rewrite
195 2007-01-03 Brooks Moses <brooks.moses@codesourcery.com>
197 * gfortran.texi (Introduction): Lower "Part I:
198 Introduction" to a chapter, renumber Parts II and III to
200 * intrinsic.texi (Introduction): Rename to "Introduction
201 to Intrinsics" to avoid conflict with the new chapter.
203 2007-01-03 Brooks Moses <brooks.moses@codesourcery.com>
205 * intrinsic.texi (Introduction): Rewrite first paragraph.
207 2007-01-03 Brooks Moses <brooks.moses@codesourcery.com>
209 * invoke.texi (OpenMP): Added index entry.
210 * gfortran.texi (title page): Removed erroneous '*'.
212 2007-01-03 Brooks Moses <brooks.moses@codesourcery.com>
214 * gfortran.texi (GFORTRAN_DEFAULT_RECL): Added units
216 (Extensions): Miscellaneous minor rewriting and copyediting.
217 (BOZ-literal constants): Renamed from Hexadecimal constants.
218 (Hollerith constants support): Added explanation and
219 suggestions for standard-conforming modern equivalents.
221 2007-01-03 Brooks Moses <brooks.moses@codesourcery.com>
223 * intrinsic.texi: Improvements to index entries; change
224 @findex entries to @cindex entries.
225 * invoke.texi: Standardize and improve index entries.
226 * gfortran.texi: Fix @code in one index entry.
228 2007-01-03 Brooks Moses <brooks.moses@codesourcery.com>
230 * invoke.texi: Change @code-type macros to appropriate
231 variants (@command, @option, etc.)
232 * gfortran.texi: Same.
234 2007-01-03 Brooks Moses <brooks.moses@codesourcery.com>
236 * intrinsic.texi: Various minor cleanups.
238 2007-01-02 Steven G. Kargl <kargls@comcast.net>
240 * trans-intrinsic.c (gfc_conv_intrinsic_ibits): Fix call to
243 2007-01-02 Tobias Burnus <burnus@net-b.de>
246 * scanner.c (open_included_file): Support full-path filenames.
248 2007-01-02 Paul Thomas <pault@gcc.gnu.org>
251 * interface.c (check_sym_interfaces): Remove call to
252 resolve_global_procedure.
253 gfortran.h : Remove prototype for resolve_global_procedure.
254 resolve.c (resolve_global_procedure): Add static attribute
255 to function declaration.
257 2007-01-01 Steven G. Kargl <kargls@comcast.net>
259 * ChangeLog: Copy to ...
260 * ChangeLog-2006: here.