1 2004-07-01 Richard Henderson <rth@redhat.com>
3 * tree-sra.c (sra_walk_expr): Don't maybe_lookup_element_for_expr
4 in order to disable scalarization. Instead set a flag and wait
7 2004-07-01 Joseph S. Myers <jsm@polyomino.org.uk>
9 * doc/cppinternals.texi, doc/install.texi, doc/invoke.texi,
10 doc/md.texi, doc/sourcebuild.texi, doc/tm.texi, doc/trouble.texi:
11 Use terminology "testsuite" and "enumerated".
13 2004-07-01 Richard Henderson <rth@redhat.com>
15 * dwarf2out.c (reg_save): Use INVALID_REGNUM.
16 (dwarf2out_reg_save, dwarf2out_return_save): Likewise.
17 (initial_return_save): Likewise.
18 (flush_queued_reg_saves): Remap register numbers.
19 (dwarf2out_return_reg): Likewise.
21 2004-07-01 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
23 * gimplify.c (gimplify_one_sizepos): Don't do anything if any VAR_DECL.
25 * tree-pretty-print.c (dump_generic_node, case ARRAY_REF): Use
26 access functions for lower bound and element size and only output
27 if lower bound nonzero or element size not same as that of type.
28 (dump_generic_node, case COMPONENT_REF): Use access func. for offset.
30 2004-07-01 Paolo Bonzini <bonzini@gnu.org>
32 * c-pretty-print.c (pp_c_postfix_expression): Fix pasto.
34 2004-07-01 Per Bothner <per@bothner.com>
36 * final.c (final): Fix typo reported by Aaron W. LaFramboise.
38 2004-07-01 Jakub Jelinek <jakub@redhat.com>
40 * expr.c (expand_assignment): Optimize bitfld += cst for 1 bit
41 bitfields as well. STRIP_NOPS from src operand and PLUS_EXPR's
42 first operand. Don't optimize if the bitfield is volatile.
44 2004-07-01 Paolo Bonzini <bonzini@gnu.org>
46 * c-pretty-print.c (pp_c_postfix_expression): Handle
47 floating-point comparison operators.
48 (pp_c_expression): Pass floating-point comparison
49 operators to pp_c_postfix_expression.
51 2004-07-01 Roger Sayle <roger@eyesopen.com>
53 * simplify-rtx.c (simplify_binary_operation) <PLUS, MINUS>: Use
54 rtx_cost instead of "had_mult" to determine whether the transformed
55 expression is cheaper than the original.
57 2004-07-01 Jerry Quinn <jlquinn@optonline.net>
59 * alias.c (get_alias_set, canon_rtx, get_addr,
60 nonoverlapping_memrefs_p, nonlocal_referenced_p_1, memory_modified_1):
62 * builtins.c (expand_builtin_prefetch, expand_builtin_profile_func,
63 expand_builtin): Likewise.
64 * calls.c (expand_call, emit_library_call_value_1, store_one_arg):
66 * combine.c (can_combine_p, combinable_i3pat, try_combine,
67 find_split_point, combine_simplify_rtx, simplify_set, make_extraction,
68 rtx_equal_for_field_assignment_p, gen_lowpart_for_combine,
69 record_dead_and_set_regs_1, get_last_value_validate,
70 mark_used_regs_combine, move_deaths, unmentioned_reg_p_1): Likewise.
71 * cse.c (check_dependence, canon_hash, equiv_constant,
72 gen_lowpart_if_possible, cse_insn, invalidate_from_clobbers,
73 cse_around_loop, cse_check_loop_start, cse_set_around_loop,
74 count_reg_usage): Likewise.
75 * cselib.c (rtx_equal_for_cselib_p, add_mem_for_addr, cselib_lookup,
76 cselib_invalidate_mem, cselib_invalidate_rtx, cselib_record_set,
77 cselib_record_sets): Likewise.
78 * dbxout.c (PARM_PASSED_IN_MEMORY, dbxout_symbol,
79 dbxout_symbol_location, dbxout_parms, dbxout_reg_parms): Likewise.
80 * ddg.c (mark_mem_use, mark_mem_store, rtx_mem_access_p): Likewise.
81 * df.c (df_uses_record): Likewise.
82 * dojump (do_jump): Likewise.
83 * dwarf2out.c (stack_adjust_offset, mem_loc_descriptor,
84 loc_descriptor_from_tree, rtl_for_decl_location, add_bound_info,
85 decl_start_label): Likewise.
86 * emit-rtl.c (gen_complex_constant_part, gen_highpart,
87 operand_subword, change_address_1, make_safe_from): Likewise.
88 * explow.c (break_out_memory_refs, copy_all_regs, validize_mem,
89 stabilize, force_not_mem): Likewise.
90 * expmed.c (store_bit_field, store_split_bit_field, extract_bit_field,
91 expand_mult_const, expand_divmod, emit_store_flag): Likewise.
92 * expr.c (convert_move, convert_modes, emit_block_move,
93 emit_group_load, emit_group_store, clear_storage, emit_move_insn,
94 emit_move_insn_1, expand_assignment, store_expr,
95 store_constructor_field, store_constructor, store_field,
96 force_operand, safe_from_p, expand_expr_real_1, expand_increment):
98 * final.c (cleanup_subreg_operands, alter_subreg,
99 get_mem_expr_from_op): Likewise.
100 * flow.c (notice_stack_pointer_modification_1,
101 init_propagate_block_info, insn_dead_p, mark_set_1, mark_used_regs):
103 * function.c (mark_temp_addr_taken, preserve_temp_slots,
104 preserve_rtl_expr_result, put_var_into_stack, fixup_var_refs_1,
105 optimize_bit_field, flush_addressof, purge_addressof_1,
106 instantiate_decl, instantiate_virtual_regs_1, assign_parms,
107 setjmp_protect, setjmp_protect_args, fix_lexical_addr,
108 keep_stack_depressed): Likewise.
109 * ifcvt.c (noce_try_cmove_arith, noce_try_abs, noce_operand_ok,
110 noce_process_if_block, find_memory): Likewise.
111 * integrate.c (subst_constants, allocate_initial_values): Likewise.
112 * local-alloc.c (validate_equiv_mem_from_store, memref_referenced_p,
113 update_equiv_regs): Likewise.
114 * loop.c (scan_loop, prescan_loop, note_addr_stored, check_store,
115 maybe_eliminate_biv_1, find_mem_in_note_1): Likewise.
116 * optabs.c (expand_abs, emit_unop_insn): Likewise.
117 * passes.c (rest_of_handle_final): Likewise.
118 * postreload.c (reload_cse_simplify_set, reload_cse_simplify_operands,
119 move2add_note_store): Likewise.
120 * ra-build.c (detect_remat_webs): Likewise.
121 * ra-debug.c (dump_static_insn_cost): Likewise.
122 * ra-rewrite.c (slots_overlap_p, insert_stores): Likewise.
123 * recog.c (validate_change, apply_change_group, cancel_changes,
124 validate_replace_rtx_1, general_operand, register_operand,
125 nonmemory_operand, push_operand, pop_operand, memory_operand,
126 indirect_operand, asm_operand_ok, offsettable_memref_p,
127 offsettable_nonstrict_memref_p, constrain_operands,
128 store_data_bypass_p): Likewise.
129 * reg-stack.c (subst_stack_regs_pat): Likewise.
130 * regclass.c (record_operand_costs, scan_one_insn, record_reg_classes,
131 copy_cost, reg_scan_mark_refs): Likewise.
132 * regmove.c (optimize_reg_copy_3, stack_memref_p,
133 combine_stack_adjustments_for_block): Likewise.
134 * regrename.c (copyprop_hardreg_forward_1): Likewise.
135 * reload.c (can_reload_into, push_reload, decompose, immune_p,
136 find_reloads, find_reloads_address, find_reloads_address_1,
137 reg_overlap_mentioned_for_reload_p, refers_to_mem_for_reload_p,
138 find_equiv_reg): Likewise.
139 * reload1.c (reload, eliminate_regs, eliminate_regs_in_insn,
140 reload_as_needed, choose_reload_regs, emit_input_reload_insns,
141 do_input_reload, emit_reload_insns, gen_reload, delete_output_reload,
142 delete_address_reloads): Likewise.
143 * resource.c (mark_referenced_resources): Likewise.
144 * rtlanal.c (get_jump_table_offset, count_occurrences,
145 reg_referenced_p, reg_set_p, set_of_1, set_noop_p,
146 reg_overlap_mentioned_p, note_uses, replace_regs, nonzero_bits1,
147 num_sign_bit_copies1): Likewise.
148 * rtlhooks.c (gen_lowpart_general): Likewise.
149 * sched-deps.c (sched_analyze_1, sched_analyze_2): Likewise.
150 * sdbout.c (PARM_PASSED_IN_MEMORY, sdbout_symbol,
151 sdbout_toplevel_data, sdbout_parms, sdbout_reg_parms,
152 sdbout_global_decl): Likewise.
153 * simplify-rtx.c (simplify_subreg): Likewise.
154 * stmt.c (expand_asm_operands, expand_expr_stmt_value, expand_decl,
155 expand_anon_union_decl, expand_end_case_type): Likewise.
156 * unroll.c (calculate_giv_inc): Likewise.
157 * var-tracking.c (stack_adjust_offset_pre_post,
158 bb_stack_adjust_offset, track_expr_p, count_uses, add_uses,
159 add_stores, compute_bb_dataflow, vt_get_decl_and_offset,
160 vt_add_function_parameters): Likewise.
161 * varasm.c (make_var_volatile, notice_global_symbol,
162 assemble_external, decode_addr_const, mark_weak,
163 default_encode_section_info): Likewise.
165 2004-07-01 Steven Bosscher <stevenb@suse.de>
167 * stmt.c (check_seenlabel): Remove.
168 (pushcase, pushcase_range, expand_end_case_type): Don't call it.
170 2004-07-01 Richard Henderson <rth@redhat.com>
172 * function.h (struct function): Remove x_function_call_count.
173 (function_call_count): Remove.
174 * calls.c (expand_call): Don't set it.
175 * integrate.c (copy_rtx_and_substitute): Likewise.
177 * function.h (struct function): Remove x_cleanup_label.
178 (cleanup_label): Remove.
179 * stmt.c (expand_value_return): Don't use it.
180 * function.c (free_after_compilation): Don't set it.
181 (expand_function_start): Likewise. Remove parms_have_cleanups arg.
182 * cfgexpand.c (tree_expand_cfg): Update call.
183 * tree.h (expand_function_start): Update decl.
185 2004-07-01 Joseph S. Myers <jsm@polyomino.org.uk>
188 * c-lang.c (c_initialize_diagnostics): Move from here ...
189 * c-objc-common.c: ... to here. Include "c-pretty-print.h".
190 (c_tree_printer): Use pretty-printer to format %T.
191 * c-pretty-print.c (pp_c_specifier_qualifier_list): Include space
192 before '*' if not C++.
193 (pp_c_direct_abstract_declarator): Don't try to print array upper
194 bound for flexible array members.
195 * c-tree.h: Include "diagnostic.h".
196 (c_initialize_diagnostics): Declare.
197 * objc/objc-lang.c (LANG_HOOKS_INITIALIZE_DIAGNOSTICS): Define.
198 * c-format.c (format_type_warning): New function. Improve
199 diagnostics for incorrect format argument types.
200 (check_format_types): Use it. Add two parameters. Use the
201 TYPE_MAIN_VARIANT of wanted_type.
202 (check_format_info_main): Pass new parameters to
204 (struct format_wanted_type): Update comment.
206 2004-07-01 Nick Clifton <nickc@redhat.com>
208 * target.h (struct gcc_target): Add new field to struct cxx:
210 * target-def.h (TARGET_CXX): Initialise the new field.
211 (TARGET_CXX_IMPORT_EXPORT_CLASS): Provide a default value for
213 * doc/tm.texi: Document the new target hook.
215 2004-07-01 Paolo Bonzini <bonzini@gnu.org>
217 * builtins.c (fold_builtin_classify): Fix typo.
219 2004-07-01 Richard Henderson <rth@redhat.com>
221 * function.c (identify_blocks, identify_blocks_1): Remove.
222 * function.h (identify_blocks): Remove.
223 * rtl.h (NOTE_INSN_BLOCK_BEG): Update comment.
225 2004-07-01 Paolo Bonzini <bonzini@gnu.org>
227 * builtins.c (fold_builtin_classify): New.
228 (fold_builtin_unordered_cmp): Fix commentary.
229 (fold_builtin): Use it.
230 * builtins.def: Define builtins for isnan,
231 isnanf, isnanl, finite, finitef, finitel,
232 isinf, isinff, isinfl.
234 2004-07-01 Richard Henderson <rth@redhat.com>
236 * function.h (struct function): Remove dont_emit_block_notes.
237 * gimple-low.c (lower_function_body): Don't set it.
238 * cfgexpand.c (expand_block): Don't check it.
239 * cfglayout.c (insn_locators_initialize): Likewise.
240 * expr.c (expand_expr_real, expand_expr_real_1): Likewise.
241 * passes.c (rest_of_compilation): Likewise.
242 * stmt.c (expand_start_bindings_and_block): Likewise.
243 (expand_end_bindings): Likewise.
245 2004-07-01 Richard Henderson <rth@redhat.com>
247 * cgraph.h (cgraph_build_static_cdtor): Declare.
248 * cgraphunit.c (cgraph_build_static_cdtor): New.
249 * c-objc-common.c (build_cdtor): Use it.
250 * coverage.c (create_coverage): Likewise.
251 * libfuncs.h (LTI_gcov_init, gcov_init_libfunc): Remove.
252 * optabs.c (init_optabs): Don't set gcov_init_libfunc.
254 See ChangeLog.11 for earlier changes.