OSDN Git Service

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