OSDN Git Service

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