OSDN Git Service

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