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