OSDN Git Service

* gcc/java/jvspec.c (lang_specific_spec_functions): remove
[pf3gnuchains/gcc-fork.git] / gcc / fortran / ChangeLog
1 2006-01-16  Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
2
3         * gfortranspec.c (lang_specific_spec_functions): remove
4
5 2006-01-16  Richard Guenther  <rguenther@suse.de>
6
7         * trans-stmt.c (gfc_trans_if_1): Use fold_buildN and build_int_cst.
8         (gfc_trans_arithmetic_if): Likewise.
9         (gfc_trans_simple_do): Likewise.
10         (gfc_trans_do): Likewise.
11         (gfc_trans_do_while): Likewise.
12         (gfc_trans_logical_select): Likewise.
13         (gfc_trans_forall_loop): Likewise.
14         (generate_loop_for_temp_to_lhs): Likewise.
15         (generate_loop_for_rhs_to_temp): Likewise.
16         (gfc_trans_allocate): Likewise.
17         * trans.c (gfc_add_expr_to_block): Do not fold expr again.
18
19 2006-01-16  Richard Guenther  <rguenther@suse.de>
20
21         * trans-expr.c (gfc_conv_function_call): Use fold_build2.
22         * trans-stmt.c (gfc_trans_goto): Likewise.  Use build_int_cst.
23         * trans.c (gfc_trans_runtime_check): Don't fold the condition
24         again.
25
26 2006-01-13  Steven G. Kargl  <kargls@comcast.net>
27
28         PR fortran/25756
29         * symbol.c (gfc_free_st_label): Give variable meaningful name. Remove
30         unneeded parenthesis. Fix-up the head of the list (2 lines gleaned
31         from g95).
32
33 2006-01-13  Diego Novillo  <dnovillo@redhat.com>
34
35         * trans.c (gfc_add_expr_to_block): Do not fold tcc_statement
36         nodes.
37
38 2006-01-11  Tobias Schl"uter  <tobias.schlueter@physik.uni-muenchen.de>
39
40         * parse.c (next_fixed): Remove superfluous string concatenation.
41
42 2006-01-11  Bernhard Fischer  <rep.nop@aon.at>
43
44         PR fortran/25486
45         * scanner.c (load_line): use maxlen to determine the line-length used
46         for padding lines in fixed form.
47
48 2005-01-11  Paul Thomas  <pault@gcc.gnu.org>
49
50         PR fortran/25730
51         * trans-types.c (copy_dt_decls_ifequal): Copy backend decl for
52         character lengths.
53
54 2006-01-09  Andrew Pinski  <pinskia@physics.uc.edu>
55
56         fortran/24936
57         * trans-stmt.c (gfc_trans_pointer_assign_need_temp): Use fold_convert
58         to avoid type mismatch.
59
60 2006-01-09  Andrew Pinski  <pinskia@physics.uc.edu>
61
62         PR fortran/21977
63         * trans-decl.c (gfc_generate_function_code): Move the NULLing of
64         current_fake_result_decl down to below generate_local_vars.
65
66 2006-01-09  Feng Wang  <fengwang@nudt.edu.cn>
67
68         PR fortran/12456
69         * trans-expr.c (gfc_to_single_character): New function that converts
70         string to single character if its length is 1.
71         (gfc_build_compare_string):New function that compare string and handle
72         single character specially.
73         (gfc_conv_expr_op): Use gfc_build_compare_string.
74         (gfc_trans_string_copy): Use gfc_to_single_character.
75         * trans-intrinsic.c (gfc_conv_intrinsic_strcmp): Use
76         gfc_build_compare_string.
77         * trans.h (gfc_build_compare_string): Add prototype.
78
79 2006-01-09  Feng Wang  <fengwang@nudt.edu.cn>
80
81         * simplify.c (gfc_simplify_char): Use UCHAR_MAX instead of literal
82         constant.
83         (gfc_simplify_ichar): Get the result from unsinged char and in the
84         range 0 to UCHAR_MAX instead of CHAR_MIN to CHAR_MAX.
85
86 2005-01-08  Erik Edelmann  <eedelman@gcc.gnu.org>
87
88         PR fortran/25093
89         * resolve.c (resolve_fntype): Check that PUBLIC functions
90         aren't of PRIVATE type.
91
92 2005-01-07  Tobias Schl"uter  <tobias.schlueter@physik.uni-muenchen.de>
93
94         * decl.c (gfc_match_function_decl): Correctly error out in case of
95         omitted function argument list.
96
97 2006-01-07  Paul Thomas  <pault@gcc.gnu.org>
98
99         PR fortran/22146
100         * trans-array.c (gfc_reverse_ss): Remove static attribute.
101         (gfc_walk_elemental_function_args): Replace gfc_expr * argument for
102         the function call with the corresponding gfc_actual_arglist*.  Change
103         code accordingly.
104         (gfc_walk_function_expr): Call to gfc_walk_elemental_function_args
105         now requires the actual argument list instead of the expression for
106         the function call.
107         * trans-array.h: Modify the prototype for gfc_walk_elemental_function_args
108         and provide a prototype for gfc_reverse_ss.
109         * trans-stmt.h (gfc_trans_call): Add the scalarization code for the case
110         where an elemental subroutine has array valued actual arguments.
111
112         PR fortran/25029
113         PR fortran/21256
114         PR fortran/20868
115         PR fortran/20870
116         * resolve.c (check_assumed_size_reference): New function to check for upper
117         bound in assumed size array references.
118         (resolve_assumed_size_actual): New function to do a very restricted scan
119         of actual argument expressions of those procedures for which incomplete
120         assumed size array references are not allowed.
121         (resolve_function, resolve_call): Switch off assumed size checking of
122         actual arguments, except for elemental procedures and intrinsic
123         inquiry functions, in some circumstances.
124         (resolve_variable): Call check_assumed_size_reference.
125
126 2006-01-05  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
127
128         PR fortran/24268
129         * io.c (next_char_not_space): New function that returns the next
130         character that is not white space.
131         (format_lex): Use the new function to skip whitespace within
132         a format string.
133
134 2006-01-05  Erik Edelmann  <eedelman@gcc.gnu.org>
135
136         PR fortran/23675
137         * expr.c (gfc_expr_set_symbols_referenced): New function.
138         * gfortran.h: Add a function prototype for it.
139         * resolve.c (resolve_function): Use it for
140         use associated character functions lengths.
141         * expr.c, gfortran.h, resolve.c: Updated copyright years.
142
143 2006-01-03  Steven G. Kargl  <kargls@comcast.net>
144
145         PR fortran/25101
146         * resolve.c (resolve_forall_iterators):  Check for scalar variables;
147         Check stride is nonzero.
148
149 2006-01-02  Steven G. Kargl  <kargls@comcast.net>
150
151         PR fortran/24640
152         * parse.c (next_free): Check for whitespace after the label.
153         * match.c (gfc_match_small_literal_int): Initialize cnt variable.
154
155 2006-01-01  Steven G. Kargl  <kargls@comcast.net>
156
157         * ChangeLog: Split previous years into ...
158         * ChangeLog-2002: here.
159         * ChangeLog-2003: here.
160         * ChangeLog-2004: here.
161         * ChangeLog-2005: here.