1 2007-01-05 Roger Sayle <roger@eyesopen.com>
3 * trans-expr.c (gfc_trans_assignment_1): New subroutine to scalarize
4 array assignments split out from gfc_trans_assignment.
5 (gfc_trans_array_copy): New function to implement array to array
6 copies via calls to __builtin_memcpy.
7 (copyable_array_p): New helper function to identify an array of
8 simple/POD types, that may be copied/assigned using memcpy.
9 (gfc_trans_assignment): Use gfc_trans_array_copy to handle simple
10 whole array assignments considered suitable by copyable_array_p.
11 Invoke gfc_trans_assignment_1 to perform the fallback scalarization.
13 2007-01-05 Roger Sayle <roger@eyesopen.com>
15 * trans-array.c (gfc_trans_array_constructor_value): Make the
16 static const "data" array as TREE_READONLY.
17 * trans-stmt.c (gfc_trans_character_select): Likewise.
19 2007-01-05 Roger Sayle <roger@eyesopen.com>
21 * trans-array.c (gfc_conv_loop_setup): Test whether the loop
22 stride is one, to avoid fold_build2 introducing a useless
25 2007-01-05 Tobias Burnus <burnus@net-b.de>
27 * symbol.c (check_conflict): Fix error message.
29 2007-01-05 Paul Thomas <pault@gcc.gnu.org>
32 * decl.c (gfc_in_match_data, gfc_set_in_match_data): New
33 functions to signal that a DATA statement is being matched.
34 (gfc_match_data): Call gfc_set_in_match_data on entry and on
36 * gfortran.h : Add prototypes for above.
37 * expr.c (check_init_expr): Avoid check on parameter or
38 variable if gfc_in_match_data is true.
39 (gfc_match_init_expr): Do not call error on non-reduction of
40 expression if gfc_in_match_data is true.
44 * decl.c (gfc_set_constant_character_len): Add boolean arg to
45 flag array constructor resolution. Warn if string is being
46 truncated. Standard dependent error if string is padded. Set
47 new arg to false for all three calls to
48 gfc_set_constant_character_len.
49 * match.h : Add boolean arg to prototype for
50 gfc_set_constant_character_len.
51 * gfortran.h : Add warn_character_truncation to gfc_options.
52 * options.c (set_Wall): Set warn_character_truncation if -Wall
54 * resolve.c (resolve_code): Warn if rhs string in character
55 assignment has to be truncated.
56 * array.c (gfc_resolve_character_array_constructor): Set new
57 argument to true for call to gfc_set_constant_character_len.
59 2007-01-05 Tobias Burnus <burnus@net-b.de>
62 * interface.c (compare_parameter_intent): New function.
63 (check_intents): Support pointer intents.
64 * symbol.c (check_conflict): Support pointer intents,
65 better conflict_std message.
66 * expr.c (gfc_check_assign,gfc_check_pointer_assign):
67 Support pointer intents.
68 * resolve.c (resolve_deallocate_expr,resolve_allocate_expr):
69 Support pointer intents.
71 2007-01-03 Brooks Moses <brooks.moses@codesourcery.com>
74 * check.c (gfc_check_kill_sub): Add checks for non-scalar
77 2007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
79 * intrinsic.texi: Minor cleanup, reflowing overlong
80 paragraphs, and correcting whitespace.
82 2007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
84 * intrinsic.texi (LBOUND): Add documentation.
85 (LGE): Add documentation.
86 (LGT): Add documentation.
87 (LINK): Add documentation.
88 (LLE): Add documentation.
89 (LLT): Add documentation.
90 (LNBLNK): Add documentation.
91 (UBOUND): Add documentation.
92 (UNLINK): Add documentation.
94 2007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
96 * intrinsic.texi (IAND): Clarify argument specifications.
97 (IBCLR): Add documentation.
98 (IBITS): Add documentation.
99 (IBSET): Add documentation.
100 (IEOR): Add documentation.
101 (IERRNO): Add documentation.
102 (INDEX): Add documentation.
103 (IOR): Add documentation.
104 (ISHFT): Add documentation.
105 (ISHFTC): Add documentation.
106 (KILL): Add documentation.
107 (LEN_TRIM): Add documentation.
109 2007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
112 * interface.c (compare_actual_formal): check for
113 alternate returns when iterating over non-present
116 2007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
118 * invoke.texi: Update manpage copyright to include 2007.
120 2007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
122 * gfortran.texi: Update copyright to include 2007.
123 * intrinsic.texi: Update copyright to include 2007.
124 * invoke.texi: Update copyright to include 2007.
126 2007-01-02 Tobias Burnus <burnus@net-b.de>
127 Jakub Jelinek <jakub@redhat.com>
130 * scanner.c (open_included_file): Revert patch.
131 (gfc_open_included_file): Support absolute pathnames.
132 (gfc_open_intrinsic_module): Support absolute pathnames.
134 2007-01-03 Brooks Moses <brooks.moses@codesourcery.com>
136 * gfortran.texi (GNU Fortran and GCC): Rewrite
138 2007-01-03 Brooks Moses <brooks.moses@codesourcery.com>
140 * gfortran.texi (Introduction): Lower "Part I:
141 Introduction" to a chapter, renumber Parts II and III to
143 * intrinsic.texi (Introduction): Rename to "Introduction
144 to Intrinsics" to avoid conflict with the new chapter.
146 2007-01-03 Brooks Moses <brooks.moses@codesourcery.com>
148 * intrinsic.texi (Introduction): Rewrite first paragraph.
150 2007-01-03 Brooks Moses <brooks.moses@codesourcery.com>
152 * invoke.texi (OpenMP): Added index entry.
153 * gfortran.texi (title page): Removed erroneous '*'.
155 2007-01-03 Brooks Moses <brooks.moses@codesourcery.com>
157 * gfortran.texi (GFORTRAN_DEFAULT_RECL): Added units
159 (Extensions): Miscellaneous minor rewriting and copyediting.
160 (BOZ-literal constants): Renamed from Hexadecimal constants.
161 (Hollerith constants support): Added explanation and
162 suggestions for standard-conforming modern equivalents.
164 2007-01-03 Brooks Moses <brooks.moses@codesourcery.com>
166 * intrinsic.texi: Improvements to index entries; change
167 @findex entries to @cindex entries.
168 * invoke.texi: Standardize and improve index entries.
169 * gfortran.texi: Fix @code in one index entry.
171 2007-01-03 Brooks Moses <brooks.moses@codesourcery.com>
173 * invoke.texi: Change @code-type macros to appropriate
174 variants (@command, @option, etc.)
175 * gfortran.texi: Same.
177 2007-01-03 Brooks Moses <brooks.moses@codesourcery.com>
179 * intrinsic.texi: Various minor cleanups.
181 2007-01-02 Steven G. Kargl <kargls@comcast.net>
183 * trans-intrinsic.c (gfc_conv_intrinsic_ibits): Fix call to
186 2007-01-02 Tobias Burnus <burnus@net-b.de>
189 * scanner.c (open_included_file): Support full-path filenames.
191 2007-01-02 Paul Thomas <pault@gcc.gnu.org>
194 * interface.c (check_sym_interfaces): Remove call to
195 resolve_global_procedure.
196 gfortran.h : Remove prototype for resolve_global_procedure.
197 resolve.c (resolve_global_procedure): Add static attribute
198 to function declaration.
200 2007-01-01 Steven G. Kargl <kargls@comcast.net>
202 * ChangeLog: Copy to ...
203 * ChangeLog-2006: here.