1 2006-01-18 Tobias Schl
\81üter <tobias.schlueter@physik.uni-muenchen.de>
5 * gfortran.h (BBT_HEADER): Move definition up.
6 (gfc_st_label): Add BBT_HEADER, remove 'prev' and 'next'.
7 * io.c (format_asterisk): Adapt initializer.
8 * resolve.c (resolve_branch): Allow FORTRAN 66 cross-block GOTOs
10 * symbol.c (compare_st_labels): New function.
11 (gfc_free_st_label, free_st_labels, gfc_get_st_label): Convert to
12 using balanced binary tree.
13 * decl.c (match_char_length, gfc_match_old_kind_spec): Do away
15 (warn_unused_label): Adapt to binary tree.
16 * match.c (gfc_match_small_literal_int): Only set cnt if non-NULL.
17 * primary.c (match_kind_param): Do away with cnt.
19 2006-01-18 Paul Thomas <pault@gcc.gnu.org>
24 * symbol.c (check_conflict): Add pointer valued elemental
25 functions and internal procedures with the external attribute
26 to the list of conflicts.
27 (gfc_add_attribute): New catch-all function to perform the
28 checking of symbol attributes for attribute declaration
30 * decl.c (attr_decl1): Call gfc_add_attribute for each of -
31 (gfc_match_external, gfc_match_intent, gfc_match_intrinsic,
32 gfc_match_pointer, gfc_match_dimension, gfc_match_target):
33 Remove spurious calls to checks in symbol.c. Set the
34 attribute directly and use the call to attr_decl() for
36 * gfortran.h: Add prototype for gfc_add_attribute.
39 * resolve.c (resolve_function): Exclude PRESENT from assumed size
40 argument checking. Replace strcmp's with comparisons with generic
43 2006-01-16 Rafael
\81Ávila de Esp
\81índola <rafael.espindola@gmail.com>
45 * gfortranspec.c (lang_specific_spec_functions): Remove.
47 2006-01-16 Richard Guenther <rguenther@suse.de>
49 * trans-stmt.c (gfc_trans_if_1): Use fold_buildN and build_int_cst.
50 (gfc_trans_arithmetic_if): Likewise.
51 (gfc_trans_simple_do): Likewise.
52 (gfc_trans_do): Likewise.
53 (gfc_trans_do_while): Likewise.
54 (gfc_trans_logical_select): Likewise.
55 (gfc_trans_forall_loop): Likewise.
56 (generate_loop_for_temp_to_lhs): Likewise.
57 (generate_loop_for_rhs_to_temp): Likewise.
58 (gfc_trans_allocate): Likewise.
59 * trans.c (gfc_add_expr_to_block): Do not fold expr again.
61 2006-01-16 Richard Guenther <rguenther@suse.de>
63 * trans-expr.c (gfc_conv_function_call): Use fold_build2.
64 * trans-stmt.c (gfc_trans_goto): Likewise. Use build_int_cst.
65 * trans.c (gfc_trans_runtime_check): Don't fold the condition
68 2006-01-13 Steven G. Kargl <kargls@comcast.net>
71 * symbol.c (gfc_free_st_label): Give variable meaningful name. Remove
72 unneeded parenthesis. Fix-up the head of the list (2 lines gleaned
75 2006-01-13 Diego Novillo <dnovillo@redhat.com>
77 * trans.c (gfc_add_expr_to_block): Do not fold tcc_statement
80 2006-01-11 Tobias Schl
\81üter <tobias.schlueter@physik.uni-muenchen.de>
82 * parse.c (next_fixed): Remove superfluous string concatenation.
84 2006-01-11 Bernhard Fischer <rep.nop@aon.at>
87 * scanner.c (load_line): use maxlen to determine the line-length used
88 for padding lines in fixed form.
90 2005-01-11 Paul Thomas <pault@gcc.gnu.org>
93 * trans-types.c (copy_dt_decls_ifequal): Copy backend decl for
96 2006-01-09 Andrew Pinski <pinskia@physics.uc.edu>
99 * trans-stmt.c (gfc_trans_pointer_assign_need_temp): Use fold_convert
100 to avoid type mismatch.
102 2006-01-09 Andrew Pinski <pinskia@physics.uc.edu>
105 * trans-decl.c (gfc_generate_function_code): Move the NULLing of
106 current_fake_result_decl down to below generate_local_vars.
108 2006-01-09 Feng Wang <fengwang@nudt.edu.cn>
111 * trans-expr.c (gfc_to_single_character): New function that converts
112 string to single character if its length is 1.
113 (gfc_build_compare_string):New function that compare string and handle
114 single character specially.
115 (gfc_conv_expr_op): Use gfc_build_compare_string.
116 (gfc_trans_string_copy): Use gfc_to_single_character.
117 * trans-intrinsic.c (gfc_conv_intrinsic_strcmp): Use
118 gfc_build_compare_string.
119 * trans.h (gfc_build_compare_string): Add prototype.
121 2006-01-09 Feng Wang <fengwang@nudt.edu.cn>
123 * simplify.c (gfc_simplify_char): Use UCHAR_MAX instead of literal
125 (gfc_simplify_ichar): Get the result from unsinged char and in the
126 range 0 to UCHAR_MAX instead of CHAR_MIN to CHAR_MAX.
128 2005-01-08 Erik Edelmann <eedelman@gcc.gnu.org>
131 * resolve.c (resolve_fntype): Check that PUBLIC functions
132 aren't of PRIVATE type.
134 2005-01-07 Tobias Schl"uter <tobias.schlueter@physik.uni-muenchen.de>
136 * decl.c (gfc_match_function_decl): Correctly error out in case of
137 omitted function argument list.
139 2006-01-07 Paul Thomas <pault@gcc.gnu.org>
142 * trans-array.c (gfc_reverse_ss): Remove static attribute.
143 (gfc_walk_elemental_function_args): Replace gfc_expr * argument for
144 the function call with the corresponding gfc_actual_arglist*. Change
146 (gfc_walk_function_expr): Call to gfc_walk_elemental_function_args
147 now requires the actual argument list instead of the expression for
149 * trans-array.h: Modify the prototype for gfc_walk_elemental_function_args
150 and provide a prototype for gfc_reverse_ss.
151 * trans-stmt.h (gfc_trans_call): Add the scalarization code for the case
152 where an elemental subroutine has array valued actual arguments.
158 * resolve.c (check_assumed_size_reference): New function to check for upper
159 bound in assumed size array references.
160 (resolve_assumed_size_actual): New function to do a very restricted scan
161 of actual argument expressions of those procedures for which incomplete
162 assumed size array references are not allowed.
163 (resolve_function, resolve_call): Switch off assumed size checking of
164 actual arguments, except for elemental procedures and intrinsic
165 inquiry functions, in some circumstances.
166 (resolve_variable): Call check_assumed_size_reference.
168 2006-01-05 Jerry DeLisle <jvdelisle@gcc.gnu.org>
171 * io.c (next_char_not_space): New function that returns the next
172 character that is not white space.
173 (format_lex): Use the new function to skip whitespace within
176 2006-01-05 Erik Edelmann <eedelman@gcc.gnu.org>
179 * expr.c (gfc_expr_set_symbols_referenced): New function.
180 * gfortran.h: Add a function prototype for it.
181 * resolve.c (resolve_function): Use it for
182 use associated character functions lengths.
183 * expr.c, gfortran.h, resolve.c: Updated copyright years.
185 2006-01-03 Steven G. Kargl <kargls@comcast.net>
188 * resolve.c (resolve_forall_iterators): Check for scalar variables;
189 Check stride is nonzero.
191 2006-01-02 Steven G. Kargl <kargls@comcast.net>
194 * parse.c (next_free): Check for whitespace after the label.
195 * match.c (gfc_match_small_literal_int): Initialize cnt variable.
197 2006-01-01 Steven G. Kargl <kargls@comcast.net>
199 * ChangeLog: Split previous years into ...
200 * ChangeLog-2002: here.
201 * ChangeLog-2003: here.
202 * ChangeLog-2004: here.
203 * ChangeLog-2005: here.