]>
Commit | Line | Data |
---|---|---|
d711cf67 JDA |
1 | 2004-08-25 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
2 | ||
3 | PR libstdc++/17005 (fix for HP-UX 11.11) | |
4 | * config.gcc (hppa*-*-*): Move MASK_BIG_SWITCH to target_cpu_default2. | |
5 | (hppa*-*-hpux*): Consolidate hppa1.0-*-* code. Rework handling of | |
6 | tm_file including pa-hpux1010.h or pa-hpux1111.h when appropriate. | |
7 | * config/pa/pa-hpux1010.h, config/pa/pa-hpux1111.h: New files. | |
8 | * config/pa/pa-hpux.h (TARGET_HPUX): Define. | |
9 | (LINK_SPEC): Handle march=1.0 option. | |
10 | * config/pa/pa-hpux10.h (TARGET_OS_CPP_BUILTINS): Predefine _XOPEN_UNIX | |
11 | and _XOPEN_SOURCE_EXTENDED for UNIX 95. | |
12 | (SUBTARGET_OPTIONS): New define. | |
13 | (LINK_SPEC): Handle march=1.0 option. | |
14 | (STARTFILE_SPEC): New define. | |
15 | * config/pa/pa-hpux11.h (TARGET_OS_CPP_BUILTINS): Predefine _XOPEN_UNIX | |
16 | and _XOPEN_SOURCE_EXTENDED for UNIX 95. Additionally, predefine | |
17 | _INCLUDE__STDC_A1_SOURCE and _INCLUDE_XOPEN_SOURCE_500 for UNIX 98. | |
18 | (SUBTARGET_OPTIONS): New define. | |
19 | (LINK_SPEC): Handle march=1.0 option. | |
20 | (STARTFILE_SPEC): New define. | |
21 | * config/pa/pa.c (override_options): Add code to process -munix= option. | |
22 | * config/pa/pa.h (pa_unix_string, flag_pa_unix): Declare. | |
23 | (TARGET_HPUX, TARGET_HPUX_10_10, TARGET_HPUX_11_11): Provide default | |
24 | defines. | |
25 | (TARGET_OPTIONS): Add SUBTARGET_OPTIONS to option list. | |
26 | (SUBTARGET_OPTIONS): Provide default define. | |
27 | * config/pa/pa64-hpux.h (STANDARD_STARTFILE_PREFIX_1, | |
28 | STANDARD_STARTFILE_PREFIX_2): New defines. | |
29 | (STARTFILE_SPEC): Provide unix95.o or unix98.o startfiles as necessary. | |
30 | (ENDFILE_SPEC): Use %O. | |
31 | * doc/install.texi (hppa*-*-hpux*): Reword paragraph on -g and gas. | |
32 | Mention issue caused by changing namespace and runtime to UNIX 95/98. | |
33 | * doc/invoke.texi (HPPA options): Move misplaced text to FRV options. | |
34 | Document -munix=std option. | |
35 | ||
5affca01 SB |
36 | 2004-08-25 Steven Bosscher <stevenb@suse.de> |
37 | ||
38 | * cse.c (cse_around_loop, cse_check_loop_start, | |
39 | cse_set_around_loop): Remove. | |
40 | (cse_basic_block): Remove the around_loop argument. | |
41 | (cse_end_of_basic_block): Remove the after_loop argument. | |
42 | (cse_main): Likewise. | |
43 | * rtl.h (cse_main): Update prototype. | |
44 | * passes.c (rest_of_handle_cse, rest_of_handle_cse2, | |
45 | rest_of_handle_gcse): Update cse_main calls. | |
46 | ||
7d60be94 NS |
47 | 2004-08-25 Nathan Sidwell <nathan@codesourcery.com> |
48 | ||
49 | * tree.h (build_int_cst): New, sign extended constant. | |
50 | (build_int_cstu): New, zero extended constant. | |
51 | (build_int_cst_wide): Renamed from build_int_cst. | |
52 | * tree.c (build_int_cst, build_int_cstu): New. | |
53 | (build_int_cst_wide): Renamed from build_int_cst. | |
54 | (make_vector_type, build_common_tree_nodes, | |
55 | build_common_tree_nodes_2): Adjust build_int_cst calls. | |
56 | * builtins.c (expand_builtin_prefetch, expand_builtin_strstr, | |
57 | expand_builtin_strpbrk, expand_builtin_fputs, | |
58 | build_string_literal, expand_builtin_printf, | |
59 | expand_builtin_sprintf, fold_builtin_classify_type, | |
60 | fold_builtin_lround, fold_builtin_bitop, fold_builtin_isascii, | |
61 | fold_builtin_toascii, fold_builtin_isdigit, | |
62 | simplify_builtin_strstr, simplify_builtin_strpbrk, | |
63 | fold_builtin_fputs, simplify_builtin_sprintf): Likewise. | |
64 | * c-common.c (start_fname_decls, fix_string_type, shorten_compare, | |
65 | DEF_ATTR_INT): Likewise. | |
66 | * c-decl.c (complete_array_type, check_bitfield_type_and_width): | |
67 | Likewise. | |
68 | * c-lex.c (interpret_integer, lex_charconst): Likewise. | |
69 | * c-parse.in (primary) <TYPES_COMPATIBLE_P> Likewise. | |
70 | * c-pretty-print.c (pp_c_integer_constant): Likewise. | |
71 | * c-typeck.c (really_start_incremental_init, push_init_level, | |
72 | set_nonincremental_init_from_string): Likewise. | |
73 | * calls.c (load_register_parameters): Likewise. | |
74 | convert.c (convert_to_pointer): Likewise. | |
75 | coverage.c (coverage_counter_alloc, tree_coverage_counter_ref, | |
76 | build_fn_info_type, build_fn_info_value, build_ctr_info_value, | |
77 | build_gcov_info): Likewise. | |
78 | * except.c (init_eh, assign_filter_values): Likewise. | |
79 | * expmed.c (store_fixed_bit_field, extract_bit_field, | |
80 | extract_fixed_bit_field, extract_split_bit_field, expand_shift, | |
81 | expand_mult_const, expand_mult_highpart_adjust, extract_high_half, | |
82 | expand_sdiv_pow2, expand_divmod, make_tree): Likewise. | |
83 | * expr.c (convert_move, emit_group_load, emit_group_store, | |
84 | expand_assignment, store_constructor, store_field, | |
85 | expand_expr_real_1, reduce_to_bit_field_precision): Likewise. | |
86 | fold-const.c (force_fit_type, int_const_binop, fold_convert_const, | |
87 | invert_truthvalue, optimize_bit_field_compare, | |
88 | decode_field_reference, all_ones_mask_p, constant_boolean_node, | |
89 | fold_div_compare, fold, fold_read_from_constant_string, | |
90 | fold_negate_const, fold_abs_const, fold_not_const, round_up, | |
91 | round_down): Likewise. | |
92 | * function.c (assign_parm_setup_block): Likewise. | |
93 | * stmt.c (shift_return_value, expand_case, estimate_case_costs): | |
94 | Likewise. | |
95 | * stor-layout.c (layout_type, initialize_sizetypes, | |
96 | set_min_and_max_values_for_integral_type): Likewise. | |
97 | * tree-chrec.c (chrec_fold_multiply_poly_poly, | |
98 | reset_evolution_in_loop): Likewise. | |
99 | * tree-chrec.h (build_polynomial_chrec): Likewise. | |
100 | * tree-complex.c (build_replicated_const): Likewise. | |
101 | * tree-eh.c (honor_protect_cleanup_actions, | |
102 | lower_try_finally_onedest, lower_try_finally_copy, | |
103 | lower_try_finally_switch): Likewise. | |
104 | * tree-mudflap.c (mf_build_string, mx_register_decls, | |
105 | mudflap_register_call, mudflap_enqueue_constant): Likewise. | |
106 | * tree-nested.c (get_trampoline_type, get_nl_goto_field): Likewise. | |
107 | * tree-pretty-print.c (dump_generic_node): Likewise. | |
108 | * tree-ssa-ccp.c (widen_bitfield, maybe_fold_offset_to_array_ref): | |
109 | Likewise. | |
110 | * tree-ssa-dom.c (simplify_rhs_and_lookup_avail_expr): Likewise. | |
111 | * tree-ssa-loop-niter.c (number_of_iterations_cond, | |
112 | loop_niter_by_eval, upper_bound_in_type, lower_bound_in_type): | |
113 | Likewise. | |
114 | * tree-ssa-loop-ivcanon.c (create_canonical_iv, | |
115 | canonicalize_loop_induction_variables): Likewise. | |
116 | * tree-vectorizer.c (vect_create_index_for_array_ref, | |
117 | vect_transform_loop_bound, vect_compute_data_ref_alignment): | |
118 | Likewise. | |
119 | ||
120 | * config/alpha/alpha.c (alpha_initialize_trampoline, alpha_va_start, | |
121 | alpha_gimplify_va_arg_1): Likewise. | |
122 | * config/arm/arm.c (arm_get_cookie_size): Likewise. | |
123 | * config/c4x/c4x.c (c4x_gimplify_va_arg_expr): Likewise. | |
124 | * config/i386/i386.c (ix86_va_start, ix86_gimplify_va_arg): Likewise. | |
125 | * config/ia64/ia64.c (ia64_gimplify_va_arg): Likewise. | |
126 | * config/mips/mips.c (mips_build_builtin_va_list, mips_va_start, | |
127 | mips_gimplify_va_arg_expr): Likewise. | |
128 | * config/pa/pa.c (hppa_gimplify_va_arg_expr): Likewise. | |
129 | * config/rs6000/rs6000.c (rs6000_va_start, rs6000_gimplify_va_arg, | |
130 | add_compiler_branch_island): Likewise. | |
131 | * config/s390/s390.c (s390_va_start): Likewise. | |
132 | * config/sh/sh.c (sh_va_start): Likewise. | |
133 | * config/stormy16/stormy16.c (xstormy16_expand_builtin_va_start): | |
134 | Likewise. | |
135 | * config/xtensa/xtensa.c (xtensa_va_start, | |
136 | xtensa_gimplify_va_arg_expr): Likewise. | |
137 | ||
138 | * objc/objc-act.c (build_objc_string_object, | |
139 | build_objc_symtab_template, init_def_list, init_objc_symtab, | |
140 | init_module_descriptor, generate_static_references, | |
141 | build_selector_translation_table, get_proto_encoding, | |
142 | build_typed_selector_reference, build_selector_reference, | |
143 | build_next_objc_exception_stuff, | |
144 | build_method_prototype_list_template, generate_descriptor_table, | |
145 | generate_protocols, build_protocol_initializer, | |
146 | build_ivar_list_template, build_method_list_template, | |
147 | build_ivar_list_initializer, generate_ivars_list, | |
148 | generate_dispatch_table, generate_protocol_list, | |
149 | build_category_initializer, build_shared_structure_initializer, | |
150 | generate_shared_structures, handle_impent, | |
151 | generate_objc_image_info): Likewise. | |
152 | ||
8b63d0e5 PB |
153 | 2004-04-25 Paolo Bonzini <bonzini@gnu.org> |
154 | ||
155 | * cfglayout.c (duplicate_insn_chain): Remove references to | |
156 | NOTE_INSN_LOOP_VTOP and NOTE_INSN_LOOP_CONT. | |
157 | * cfgloop.h (struct loop): Remove fields vtop, cont and cont_dominator. | |
158 | * cfgrtl.c (rtl_delete_block): Remove handling of NOTE_INSN_LOOP_CONT. | |
159 | * final.c (final_scan_insn): Remove references to NOTE_INSN_LOOP_VTOP | |
160 | and NOTE_INSN_LOOP_CONT. | |
161 | * insn-notes.def (NOTE_INSN_LOOP_VTOP, NOTE_INSN_LOOP_CONT): Remove. | |
162 | * jump.c (squeeze_notes): Remove references to NOTE_INSN_LOOP_VTOP | |
163 | and NOTE_INSN_LOOP_CONT. | |
164 | * loop.c (scan_loops, find_and_verify_loops, for_each_insn_in_loop, | |
165 | check_dbra_loop, loop_dump_aux): Remove references to removed notes | |
166 | and fields. | |
167 | * reorg.c (mostly_true_jump): Do not rely on NOTE_INSN_LOOP_VTOPs. | |
168 | * unroll.c (unroll_loop, copy_loop_body, loop_iterations): Remove | |
169 | references to removed notes and fields. | |
170 | (subtract_reg_term, ujump_to_loop_cont): Remove. | |
171 | ||
078e3ffe PB |
172 | 2004-08-25 Paolo Bonzini <bonzini@gnu.org> |
173 | ||
8b63d0e5 | 174 | * doc/install.texi: Document that libcpp does not require |
078e3ffe PB |
175 | Automake any longer. Document that Automake 1.9.1 should |
176 | work everywhere. | |
177 | ||
f8ca7e49 ZW |
178 | 2004-08-25 Zack Weinberg <zack@codesourcery.com> |
179 | ||
180 | * flags.h (enum debug_info_type): Remove DWARF_DEBUG. | |
181 | * defaults.h (PREFERRED_DEBUGGING_TYPE): Remove check for | |
182 | DWARF_DEBUGGING_INFO from choice-of-definition chain; | |
183 | restructure using C89 features (#elif, #error). | |
184 | * c-lex.c, final.c, opts.c, config/cris/cris.c, config/frv/frv.c | |
185 | * config/sh/sh.h: Remove references to DWARF_DEBUG. | |
186 | * doc/invoke.texi: Remove references to DWARF version 1; | |
187 | clarify why -gdwarf-2<n> doesn't work. | |
188 | ||
51a904c9 ZW |
189 | 2004-08-25 Zack Weinberg <zack@codesourcery.com> |
190 | ||
191 | * basic-block.h (BB_SET_PARTITION): Clear old value first. | |
192 | * cfg.c (clear_bb_flags): Don't clear partition setting. | |
69b9b0d2 | 193 | * ifcvt.c (find_if_case_1): Remove ??? comment. |
51a904c9 | 194 | |
e548ead9 AM |
195 | 2004-08-25 Alan Modra <amodra@bigpond.net.au> |
196 | ||
197 | PR target/17052 | |
198 | * config/rs6000/rs6000.h (machine_function): Remove sysv_varargs_p. | |
199 | * config/rs6000/sysv4.h (RS6000_VARARGS_AREA): Use | |
200 | current_function_stdarg in place of sysv_varargs_p. | |
201 | * config/rs6000/rs6000.c (setup_incoming_varargs): Don't set | |
202 | sysv_varargs_p. | |
203 | ||
1e19ac74 RH |
204 | 2004-08-24 Richard Henderson <rth@redhat.com> |
205 | ||
206 | PR target/16298 | |
207 | * config/i386/i386.c (legitimate_constant_p): Rework to not accept | |
208 | random codes within CONST. | |
209 | ||
c61225e7 JW |
210 | 2004-08-24 James E Wilson <wilson@specifixinc.com> |
211 | ||
212 | * Makefile.in (STAGEFEEDBACK_FLAGS_TO_PASS): Remove | |
213 | -freorder-blocks-and-partition. | |
214 | ||
37840132 JDA |
215 | 2004-08-24 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
216 | ||
217 | PR middle-end/17044 | |
218 | * tree-ssa-threadupdate.c (redirection_data): Make static. | |
219 | (thread_block): Use ggc_alloc_cleared to allocate struct | |
220 | redirection_data. Don't free elements in redirection_data. | |
221 | ||
cf1d880b RS |
222 | 2004-08-24 Richard Sandiford <rsandifo@redhat.com> |
223 | ||
224 | * config/mips/predicates.md (small_data_pattern): Match prefetches. | |
225 | ||
b3393f1f ZD |
226 | 2004-08-24 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> |
227 | ||
228 | PR tree-optimization/17016 | |
229 | * tree-ssa-loop-niter.c (number_of_iterations_cond, | |
230 | number_of_iterations_exit): Use POINTER_TYPE_P instead | |
231 | of testing for POINTER_TYPE. | |
232 | ||
82b85a85 ZD |
233 | 2004-08-24 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> |
234 | ||
235 | * tree-ssa-loop-ivcanon.c: New file. | |
236 | * tree-ssa-loop-manip.c (create_iv): New function. | |
237 | * Makefile.in (tree-ssa-loop-ivcanon.o): Add. | |
238 | (tree-ssa-loop.o, tree-ssa-loop-manip.o): Add SCEV_H dependency. | |
239 | * cfgloop.c (mark_single_exit_loops): New function. | |
240 | (verify_loop_structure): Verify single-exit loops. | |
241 | * cfgloop.h (struct loop): Add single_exit field. | |
242 | (LOOPS_HAVE_MARKED_SINGLE_EXITS): New constant. | |
243 | (mark_single_exit_loops): Declare. | |
244 | (tree_num_loop_insns): Declare. | |
245 | * cfgloopmanip.c (update_single_exits_after_duplication): New function. | |
246 | (duplicate_loop_to_header_edge): Use it. | |
247 | * common.opt (fivcanon): New flag. | |
248 | * timevar.def (TV_TREE_LOOP_IVCANON, TV_COMPLETE_UNROLL): New timevars. | |
249 | * tree-cfg.c (tree_find_edge_insert_loc): Return newly created block. | |
250 | (bsi_commit_edge_inserts_1): Pass null to tree_find_edge_insert_loc. | |
251 | (bsi_insert_on_edge_immediate): New function. | |
252 | * tree-flow.h (bsi_insert_on_edge_immediate, | |
253 | canonicalize_induction_variables, tree_unroll_loops_completely, | |
254 | create_iv): Declare. | |
255 | * tree-optimize.c (init_tree_optimization_passes): Add | |
256 | pass_iv_canon and pass_complete_unroll. | |
257 | * tree-pass.h (pass_iv_canon, pass_complete_unroll): Declare. | |
258 | * tree-scalar-evolution.c (get_loop_exit_condition, | |
259 | get_exit_conditions_rec, number_of_iterations_in_loop, | |
260 | scev_initialize): Use single_exit information. | |
261 | * tree-ssa-loop-niter.c (number_of_iterations_cond): Record | |
262 | missing assumptions. | |
263 | (loop_niter_by_eval): Return number of iterations as unsigned | |
264 | int. | |
265 | * tree-ssa-loop.c (tree_ssa_loop_init): Mark single exit loops. | |
266 | (tree_ssa_loop_ivcanon, gate_tree_ssa_loop_ivcanon, pass_iv_canon, | |
267 | tree_complete_unroll, gate_tree_complete_unroll, pass_complete_unroll): | |
268 | New passes. | |
269 | (tree_ssa_loop_done): Call free_numbers_of_iterations_estimates. | |
270 | * tree-ssanames.c (make_ssa_name): Allow creating ssa name before | |
271 | the defining statement is ready. | |
272 | * tree-vectorizer.c (vect_create_iv_simple): Removed. | |
273 | (vect_create_index_for_array_ref, vect_transform_loop_bound): | |
274 | Use create_iv. | |
275 | (vect_transform_loop_bound): Use single_exit information. | |
276 | (vect_analyze_loop_form): Cleanup bogus tests. | |
277 | (vectorize_loops): Do not call flow_loop_scan. | |
278 | * tree.h (may_negate_without_overflow_p): Declare. | |
279 | * fold-const.c (may_negate_without_overflow_p): Split out from ... | |
280 | (negate_expr_p): ... this function. | |
281 | (tree_expr_nonzero_p): Handle overflowed constants correctly. | |
282 | * doc/invoke.texi (-fivcanon): Document. | |
283 | * doc/passes.texi: Document canonical induction variable creation. | |
284 | ||
b3c90666 RS |
285 | 2004-08-24 Richard Sandiford <rsandifo@redhat.com> |
286 | ||
287 | * config/mips/mips.h (ISA_HAS_INT_CONDMOVE): Delete. | |
288 | * config/mips/mips.c (print_operand): Fold %B/%b handling into %T/%t, | |
289 | using the mode of the operand to decide between them. | |
290 | * config/mips/mips.md (MOVECC): New mode macro. | |
291 | (ccreg): New mode attribute. | |
292 | (*mov{si,di,sf,df}_on_{cc,si,di}): Name formerly unnamed patterns. | |
293 | Redefine using :GPR and :MOVECC. Use %T and %t for the condition. | |
294 | (mov[sd]icc): Redefine using :GPR. | |
295 | ||
4767c570 RS |
296 | 2004-08-24 Richard Sandiford <rsandifo@redhat.com> |
297 | ||
04550232 RS |
298 | * config/mips/mips-protos.h (mips_emit_prefetch): Delete. |
299 | (mips_prefetch_cookie): New function. | |
300 | * config/mips/mips.c (print_operand_address): Fix handling of | |
301 | ADDRESS_CONST_INT. | |
302 | (mips_emit_prefetch): Delete. | |
303 | (mips_prefetch_cookie): New function. | |
304 | * config/mips/mips.md (prefetch): Turn into a define_insn. Use a | |
305 | mode of QImode for the address_operand. Use mips_prefetch_cookie | |
306 | to calculate the first "pref" operand. | |
307 | (prefetch_[sd]i, prefetch_[sd]i_address): Delete. | |
308 | (prefetch_indexed_[sd]i): Redefine using :P. Use mips_prefetch_cookie. | |
4767c570 | 309 | |
a657c98a RE |
310 | 2004-08-24 Richard Earnshaw <rearnsha@arm.com> |
311 | ||
312 | * arm.md: Include predicates.md. | |
313 | * predicates.md: New file. | |
314 | * arm.c (s_register_operand, arm_hard_register_operand) | |
315 | (arm_general_register_operand, f_register_operand, reg_or_int_operand) | |
316 | (arm_immediate_operand, arm_neg_immediate_operand) | |
317 | (arm_not_immediate_operand, arm_rhs_operand, arm_rhsm_operand) | |
318 | (arm_add_operand, arm_addimm_operand, arm_not_operand) | |
319 | (offsettable_memory_operand, alignable_memory_operand) | |
320 | (arm_reload_memory_operand, arm_float_rhs_operand) | |
321 | (arm_float_add_operand, vfp_compare_operand, arm_float_compare_operand) | |
322 | (index_operand, shiftable_operator, logical_binary_operator) | |
323 | (shift_operator, equality_operator, arm_comparison_operator) | |
324 | (minmax_operator, cc_register, dominant_cc_register) | |
325 | (arm_extendqisi_mem_op, power_of_two_operand, nonimmediate_di_operand) | |
326 | (di_operand, nonimmediate_soft_df_operand, soft_df_operand) | |
327 | (const_shift_operand, load_multiple_operation) | |
328 | (store_multiple_operation, multi_register_push, thumb_cmp_operand) | |
329 | (thumb_cmpneg_operand, thumb_cbrch_target_operand) | |
330 | (cirrus_register_operand, cirrus_fp_register) | |
331 | (cirrus_shift_const): Delete, replaced with equivalents in | |
332 | predicates.md. | |
333 | (shift_op): Handle ROTATE. | |
334 | * arm-protos.h: Delete declarations for above. | |
335 | * arm.h (PREDICATE_CODES, SPECIAL_MODE_PREDICATES): Delete. | |
336 | * t-arm (MD_INCLUDES): Add predicates.md. | |
337 | (s-preds): Depends on MD_INCLUDES. | |
338 | ||
886ce862 RS |
339 | 2004-08-24 Richard Sandiford <rsandifo@redhat.com> |
340 | ||
341 | * config/mips/mips.c (mips_gen_conditional_trap): Fix mode. | |
342 | * config/mips/mips.md (*conditional_trap[sd]i): Name previously unnamed | |
343 | patterns. Redefine using :GPR. Give the match_operator a mode. | |
344 | Use '%2' rather than '%z2' for operand 2. | |
345 | ||
be659abd RS |
346 | 2004-08-24 Richard Sandiford <rsandifo@redhat.com> |
347 | ||
348 | * config/mips/mips.md (load_call[sd]i): Redefine using :P. Add mode | |
349 | attribute. | |
350 | ||
92dcb882 RS |
351 | 2004-08-24 Richard Sandiford <rsandifo@redhat.com> |
352 | ||
353 | * config/mips/mips.md (indirect_jump): Use force_reg. Adjust names | |
354 | of internal patterns. | |
355 | (indirect_jump[sd]i): Renamed from indirect_jump_internal[12]. | |
356 | Redefine using :P. | |
357 | (tablejump): Use expand_binop to calculate address. Adjust names | |
358 | of internal patterns. | |
359 | (tablejump[sd]i): Renamed from tablejump_internal[12]. | |
360 | Redefine using :P. | |
361 | (tablejump_mips16[12]): Delete. | |
362 | ||
a0160289 RS |
363 | 2004-08-24 Richard Sandiford <rsandifo@redhat.com> |
364 | ||
365 | * config/mips/mips.md (*seq_[sd]i, *seq_[sd]i_mips16, *sne_[sd]i) | |
366 | (*sgt_[sd]i, *sgt_[sd]i_mips16, *sge_[sd]i, *slt_[sd]i) | |
367 | (*slt_[sd]i_mips16, *sle_[sd]i, *sle_[sd]i_mips16, *sgtu_[sd]i) | |
368 | (*sgtu_[sd]i_mips16, *sge_[sd]i, *sltu_[sd]i, *sltu_[sd]i_mips16) | |
369 | (*sleu_[sd]i, *sleu_[sd]i_mips16): Redefine using :GPR. | |
370 | ||
2c4402f4 RS |
371 | 2004-08-24 Richard Sandiford <rsandifo@redhat.com> |
372 | ||
373 | * config/mips/mips.md (cmpsi, cmpdi): Redefine using :GPR. | |
374 | (*branch_zero[sd]i): Renamed from branch_zero{,_di}. Redefine | |
375 | using :GPR. | |
376 | (*branch_zero[sd]i_inverted): Likewise branch_zero{,_di}_inverted. | |
377 | (*branch_equality[sd]i): Likewise branch_equality{,_di}. | |
378 | (*branch_equality[sd]i_inverted): Likewise | |
379 | branch_equality{,_di}_inverted. | |
380 | (*branch_equality[sd]i_mips16): Name formerly unnamed patterns. | |
381 | Redefine using :GPR. | |
382 | ||
b5c2f1d1 ZW |
383 | 2004-08-24 Zack Weinberg <zack@codesourcery.com> |
384 | ||
385 | * rtl.def: Reorganize, placing all codes used only in machine | |
386 | descriptions at the end. | |
387 | ||
9e995780 ZW |
388 | * rtl.def: Wrap MD-only codes in #ifdef GENERATOR_FILE. |
389 | * gengtype.c: Don't include rtl.h. Define enum rtx_code and | |
390 | rtx_name, rtx_format arrays by direct reference to rtl.def, | |
391 | first undefining GENERATOR_FILE. Define enum insn_note and | |
392 | note_insn_name array by direct reference to insn-notes.def. | |
393 | (adjust_field_rtx_def): Remove local definition of rtx_name. | |
394 | Use symbolic names for insn notes. | |
395 | * Makefile.in (gengtype.o): Update dependencies. | |
396 | ||
076c7ab8 ZW |
397 | 2004-08-24 Zack Weinberg <zack@codesourcery.com> |
398 | ||
399 | * basic-block.h (struct basic_block_def): Reorder fields to | |
400 | eliminate interior padding. Remove 'partition' field. | |
401 | (BB_DISABLE_SCHEDULE, BB_HOT_PARTITION, BB_COLD_PARTITION) | |
402 | (BB_UNPARTITIONED, BB_PARTITION, BB_SET_PARTITION) | |
403 | (BB_COPY_PARTITION): New macros. | |
404 | * bb-reorder.c, cfgcleanup.c, cfglayout.c, cfgrtl.c, ifcvt.c | |
405 | Replace all references to the 'partition' field of a basic | |
406 | block with new macros. | |
407 | ||
408 | * insn-notes.def: Delete NOTE_INSN_DISABLE_SCHED_OF_BLOCK. | |
409 | * final.c (final_scan_insn): Don't handle it. | |
410 | * modulo-sched.c: Set BB_DISABLE_SCHEDULE flag on g->bb | |
411 | instead of emitting a NOTE_INSN_DISABLE_SCHED_OF_BLOCK note. | |
412 | * sched-rgn.c (sched_is_disabled_for_current_region_p): | |
413 | Look for a BB_DISABLE_SCHEDULE flag on the block instead of a note. | |
414 | ||
8c1d6d62 NS |
415 | 2004-08-24 Nathan Sidwell <nathan@codesourcery.com> |
416 | ||
417 | * c-decl.c (c_init_decl_processing): Adjust | |
418 | build_common_tree_nodes call. | |
419 | * expmed.c (const_mult_add_overflow_p): Use | |
420 | build_distinct_type_copy. | |
421 | * stor-layout.c (early_type_list): Remove. | |
422 | (layout_type): Don't append to early_type_list. | |
423 | (initialize_sizetypes): Add signed_p argument. | |
424 | (set_sizetype): Overwrite the stub type nodes directly. | |
425 | * tree.c (copy_node_stat): Clear a type's value cache here ... | |
426 | (build_distinct_type): ... not here. | |
427 | (build_common_tree_nodes): Add signed_sizetype argument. Adjust. | |
428 | * tree.h (initialize_sizetypes): Add signed_p argument. | |
429 | (build_common_tree_nodes): Likewise. | |
430 | ||
431 | * objc/objc-act.c (get_static_reference): Use | |
432 | build_variant_type_copy. | |
433 | (get_protocol_reference): Likewise. | |
434 | * objc/objc-act.h (TREE_STATIC_TEMPLATE): Use TREE_PRIVATE. | |
435 | ||
97dc04b3 | 436 | 2004-08-24 Richard Henderson <rth@redhat.com> |
076c7ab8 | 437 | Andrew Pinski <apinski@apple.com> |
97dc04b3 RH |
438 | |
439 | * gimplify.c (gimplify_array_ref_to_plus): Delete. | |
440 | (gimplify_addr_expr): Do not call gimplify_array_ref_to_plus | |
441 | for ARRAY_REF. | |
442 | ||
443 | * config/rs6000/rs6000.c (altivec_expand_builtin): Go passed | |
444 | ARRAY_REF also to get to the STRING_CST. | |
445 | ||
72cdc543 PB |
446 | 2004-08-24 Paul Brook <paul@codesourcery.com> |
447 | ||
448 | * config/arm/arm.c (arm_override_options): Update error message. | |
449 | * config/arm/arm.h (TARGET_HARD_FLOAT): Rename to | |
450 | TARGET_HARD_FLOAT_ABI. | |
451 | (TARGET_SOFT_FLOAT_ABI): Rename to TARGET_HARD_FLOAT. | |
452 | (LIBCALL_VALUE, FUNCTION_VALUE_REGNO_P): Use TARGET_HARD_FLOAT_ABI. | |
453 | ||
bd5ca07e NC |
454 | 2004-08-24 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com> |
455 | ||
456 | PR target/17093 | |
457 | * config/m32r.md (movsi_sda): Add SI mode specification to | |
458 | UNSPEC. | |
459 | ||
460 | 2004-08-24 Nick Clifton <nickc@redhat.com> | |
461 | ||
462 | * config/m32r/m32r.h (PREDICATE_CODES): Remove duplicate definition | |
463 | of seth_add3_operand. | |
464 | ||
d46cd2be NS |
465 | 2004-08-24 Nathan Sidwell <nathan@codesourcery.com> |
466 | ||
467 | * Makefile.in (PROTO_OBJS): Add errors.o. | |
468 | * protoize.c (fancy_abort): Remove. | |
469 | * mips-tfile.c (fancy_abort): Add parameters. | |
470 | ||
748fa294 JW |
471 | 2004-08-24 Jonathan Wakely <redi@gcc.gnu.org> |
472 | ||
473 | * doc/trouble.texi (C++ misunderstandings): Fix example code. | |
474 | ||
4505f099 AT |
475 | 2004-08-24 Andreas Tobler <a.tobler@schweiz.ch> |
476 | ||
477 | * Makefile.in (HOOKS_H): Add dependency on MACHMODE_H. | |
478 | (host-default.o): Add dependency on HOOKS_H. | |
479 | * config/x-linux: Likewise. | |
480 | * config/x-solaris: Likewise. | |
481 | * config/i386/x-mingw32: Likewise. | |
482 | * config/rs6000/x-darwin: Likewise. | |
483 | ||
a2fe1975 JW |
484 | 2004-08-23 James E Wilson <wilson@specifixinc.com> |
485 | ||
486 | * reg-notes.def (REG_NOTE): In comment, change DEF_INSN_NOTE to | |
487 | DEF_REG_NOTE. | |
488 | ||
c3f216e2 MM |
489 | 2004-08-23 Mark Mitchell <mark@codesourcery.com> |
490 | ||
491 | PR c/14492 | |
492 | * dwarf2out.c (loc_descriptor_from_tree): Robustify. | |
493 | ||
2e6ae27f DN |
494 | 2004-08-23 Diego Novillo <dnovillo@redhat.com> |
495 | ||
496 | * cfg.c (check_bb_profile): Fix typos. | |
497 | * function.c (assign_parm_is_stack_parm): Likewise. | |
498 | * tree-nested.c: Likewise. | |
499 | ||
d685c974 DJ |
500 | 2004-08-23 Daniel Jacobowitz <dan@debian.org> |
501 | ||
502 | * ggc-zone.c (struc alloc_chunk): Rearrange flag bits and SIZE. | |
503 | Remove TYPECODE. | |
504 | (ggc_alloc_zone_1): Mark TYPE as unused. Don't save it in the chunk. | |
505 | ||
f676971a EC |
506 | 2004-08-23 Eric Christopher <echristo@redhat.com> |
507 | ||
508 | * defaults.h (VECTOR_MODE_SUPPORTED_P): Remove macro. | |
509 | * system.h (VECTOR_MODE_SUPPORTED_P): Poison. | |
510 | * target-def.h (TARGET_VECTOR_MODE_SUPPORTED_P): Define. | |
511 | * target.h: Ditto. | |
512 | * hooks.h: Include machmode.h. | |
513 | (hook_bool_mode_false): Declare. | |
514 | * hooks.c (hook_bool_mode_false): Define. | |
515 | * expr.c (vector_mode_valid_p): Use targetm.vector_mode_supported_p. | |
516 | * stor-layout.c (layout_type): Ditto. | |
517 | * config/alpha/alpha.c (alpha_vector_mode_supported_p): New function. | |
518 | Define to target macro. | |
519 | * config/alpha/alpha.h (VECTOR_MODE_SUPPORTED_P): Delete. | |
520 | * config/arm/arm.c: Ditto. Use. | |
521 | * config/arm/arm.h: Ditto. | |
522 | * config/arm/arm-protos.h: Ditto. | |
523 | * config/i386/i386.c: Ditto. | |
524 | * config/i386/i386.h: Ditto. | |
525 | * config/rs6000/rs6000.c: Ditto. | |
526 | * config/rs6000/rs6000.h: Ditto. | |
527 | * config/sh/sh.c: Ditto. | |
528 | * config/sh/sh.h: Ditto. | |
529 | * config/sh/sh-protos.h: Ditto. | |
530 | * config/sh/sh.md: Use. | |
531 | * doc/tm.texi: Move documentation for VECTOR_MODE_SUPPORTED_P | |
532 | to TARGET_VECTOR_MODE_SUPPORTED_P. | |
533 | ||
8dd16ecc NS |
534 | 2004-08-23 Nathan Sidwell <nathan@codesourcery.com> |
535 | ||
b3d1f5b4 NS |
536 | * Makefile.in (BUILD_ERRORS): Set to build-errors. |
537 | (errors.o): New target for host. | |
538 | (build-errors.o): New target for build. | |
539 | (genobjs): Replace errors.o with build-errors. | |
540 | (gengenrtl$(buildexeext)): Add $(BUILD_ERRORS). | |
541 | (GCOV_OBJS, GCOV_DUMP_OBJS): Add errors.o. | |
542 | (fix-headers$(build_exeext)): Add $(BUILD_ERRORS). | |
543 | (fix-header.o): Add errors.h | |
544 | * collect2.c (fancy_abort): Add parameters. | |
545 | * collect2.h (fancy_abort): Don't declare. | |
546 | * errors.h (fancy_abort): Don't declare. | |
547 | * errors.c: Include either bconfig.h or config.h. | |
548 | (fancy_abort): Trim filename. | |
549 | * fix-header.c (v_fatal, fatal): Remove. | |
550 | (progname): Remove definition. | |
551 | (main): Set progname here. | |
552 | * gcc.c (fancy_abort): Add parameters. | |
553 | * gcc.h (fancy_abort): Remove declaration. | |
554 | * gcov.c (fancy_abort): Remove. | |
555 | * rtl.h (fancy_abort): Don't declare. | |
556 | (abort): Don't define. | |
557 | * tree.h (fancy_abort): Don't declare. | |
558 | (abort): Don't define. | |
559 | * system.h (fancy_abort): Declare. | |
560 | (abort): Define to fancy_abort. | |
561 | * fixinc/Makefile.in (ALLOBJ): Add ../build-errors.o | |
562 | ||
be88a628 NS |
563 | * tree.h (enum size_type_kind): Remove USIZETYPE, UBITSIZETYPE. |
564 | (usize_type, ubitsizetype): Remove. | |
565 | * stor-layout.c (set_sizetype): Don't initialize usizetype, | |
566 | ubitsizetype. | |
567 | * fold-const.c (size_diffop): TYPE can never be ubitsizetype. | |
568 | ||
8dd16ecc NS |
569 | * tree.h (build_distinct_type_copy): New. |
570 | (build_type_copy): ... here. Rename to ... | |
571 | (build_variant_type_copy): ... here. | |
572 | * tree.c (build_qualified_type): Rename build_type_copy call. | |
573 | (build_distinct_type_copy): New, broken out of ... | |
574 | (build_type_copy): ... here. Rename to ... | |
575 | (build_variant_type_copy): ... here. Use | |
576 | build_distinct_type_copy. | |
577 | (build_common_tree_nodes_2): Rename build_type_copy call. | |
578 | * c-common.c (c_common_nodes_and_builtins): Rename build_type_copy | |
579 | call. | |
580 | (handle_packed_attribute, handle_unused_attribute, | |
581 | handle_transparanet_union_attribute, handle_aligned_attribute, | |
582 | handle_deprecated_attribute): Likewise. | |
583 | * c-decl.c (clone_underlying_type, store_parm_decls_oldstyle): | |
584 | Likewise. | |
585 | * config/arm/arm.c (arm_handle_isr_attribyte): Likewise. | |
586 | * config/rs6000/rs6000.c (rs6000_init_builtins): Use | |
587 | build_distinct_type_copy. | |
588 | ||
e8bf0f3b RS |
589 | 2004-08-23 Richard Sandiford <rsandifo@redhat.com> |
590 | ||
591 | * config/mips/mips.md (mfhilo_[sd]i): Redefine using :GPR. Add mode | |
592 | attribute. | |
593 | ||
4d06ed0a RS |
594 | 2004-08-23 Richard Sandiford <rsandifo@redhat.com> |
595 | ||
596 | * config/mips/mips.md (length): Don't use mips_fetch_insns for indexed | |
597 | loads and stores. | |
598 | (*lwxc1_<mode>, *ldxc1_<mode>, *swxc1_<mode>, *sdxc1_<mode>): Name | |
599 | formerly unnamed patterns. Redefine using :P for the address. Remove | |
600 | explicit length attributes. | |
601 | ||
a3631d97 ZD |
602 | 2004-08-23 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> |
603 | ||
604 | * tree-ssa-loop-im.c (fem_single_reachable_address, for_each_memref): | |
605 | New functions. | |
606 | (single_reachable_address): Use them. | |
607 | (schedule_sm): Add dump. | |
608 | (is_call_clobbered_ref): New function. | |
609 | (determine_lsm_reg): Check whether the reference is call clobbered. | |
610 | Only work for gimple_reg_type values. | |
611 | ||
b1f58428 RS |
612 | 2004-08-23 Richard Sandiford <rsandifo@redhat.com> |
613 | ||
614 | * config/mips/mips.md (*mov<mode>_ra): Name previously unnamed MIPS16 | |
615 | $31 store insns. Redefine using :GPR. | |
616 | ||
237b301e RS |
617 | 2004-08-23 Richard Sandiford <rsandifo@redhat.com> |
618 | ||
619 | * config/mips/mips.md (P): New mode macro. | |
620 | (*xgot_hi[sd]i, *xgot_lo[sd]i, *got_disp[sd]i, *got_page[sd]i) | |
621 | (*load_got[sd]i, *low[sd]i, *low[sd]i_mips16): Redefine using :P. | |
622 | Add mode attributes. | |
623 | ||
c9081a92 RS |
624 | 2004-08-23 Richard Sandiford <rsandifo@redhat.com> |
625 | ||
626 | * config/mips/mips.md (UNSPEC_[LS][WD][LR]): Delete in favor of... | |
627 | (UNSPEC_{LOAD,STORE}_{LEFT,RIGHT}): ...these new constants. Shuffle | |
628 | later constants to cover the gap. | |
629 | (load, store): New mode attributes. | |
630 | (mov_l[wd]l, mov_l[wd]r, mov_s[wd]l, mov_s[wd]r): Redefine using :GPR. | |
631 | Use new unspec constants. | |
632 | ||
3d1f285d RS |
633 | 2004-08-23 Richard Sandiford <rsandifo@redhat.com> |
634 | ||
635 | * config/mips/mips.md (one_cmpl[sd]i2): Redefine using :GPR. | |
636 | (and[sd]3, ior[sd]i3, xor[sd]i3): Likewise. Change 32-bit patterns | |
637 | to use register_operand rather than uns_arith_operand as the predicate | |
638 | for operand 1. Remove redundant MIPS16 force_reg() for operand 1. | |
639 | (*and[sd]i3, *ior[sd]i3, *xor[sd]i3): Name formerly unnamed patterns. | |
640 | Redefine using :GPR. Make same predicate change here. Extend the | |
641 | commutativity of operands 1 and 2 from the SImode version to the | |
642 | DImode one. | |
643 | (*and[sd]i3_mips16, *ior[sd]i3_mips16, *xor[sd]i3_mips16): Likewise, | |
644 | but with no predicate changes. | |
645 | (*nor[sd]i3): Redefine using :GPR. | |
646 | ||
c0e1b12f ZD |
647 | 2004-08-23 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> |
648 | ||
649 | * tree-ssa-operands.c (get_call_expr_operands): Add VUSE operands for | |
650 | noreturn functions. | |
651 | ||
400a9325 RS |
652 | 2004-08-23 Richard Sandiford <rsandifo@redhat.com> |
653 | ||
654 | * config/mips/mips.h (ISA_HAS_DCLZ_DCLO): Delete. | |
655 | * config/mips/mips.md (abs[sd]i2): Redefine using :GPR. Only use | |
656 | branch-likely insns for absdi2 if GENERATE_BRANCHLIKELY. Use "%." | |
657 | rather than "%z2" (with a fake const0_rtx for operand 2). | |
658 | (ffs[sd]i2): Redefine using :GPR. | |
659 | (clz[sd]i2): Likewise. Use ISA_HAS_CLO_CLZ for the 64-bit case. | |
660 | ||
2222da3a RS |
661 | 2004-08-23 Richard Sandiford <rsandifo@redhat.com> |
662 | ||
663 | * config/mips/mips.md ({,u}divmod[sd]i4): Redefine using :GPR. | |
664 | ||
15ac4ccf RS |
665 | 2004-08-23 Richard Sandiford <rsandifo@redhat.com> |
666 | ||
667 | * config/mips/mips.md (any_extend): New code macro. | |
668 | (u, su): New code attributes. | |
669 | ({,u}mulsidi3, {,u}mulsidi3_32bit_internal, {,u}mulsidi3_32bit_r4000) | |
670 | ({u,s}mulsi3_highpart, {u,s}mulsi3_highpart_internal) | |
671 | ({u,s}mulsi3_highpart_mulhi_internal, {s,u}muldi3_highpart) | |
672 | (*{s,u}mul_acc_di): Redefine using any_extend. | |
673 | (*{,u}muls_di, *{s,u}msac_di): Likewise. Change names of patterns | |
674 | to reflect real insn names. | |
675 | (*mulsidi3_64bit, *mulsidi3_64bit_parts): Replace use of match_operator | |
676 | with an any_extend template. | |
677 | ({u,s}mulsi3_highpart_neg_mulhi_internal): Redefine using any_extend. | |
678 | Add '*' to name. | |
679 | ||
d46c971d RS |
680 | 2004-08-23 Richard Sandiford <rsandifo@redhat.com> |
681 | ||
682 | * config/mips/mips.h (GENERATE_MULT3_SI): Check TARGET_MAD. | |
683 | * config/mips/mips.md (mul[sd]i3, mul[sd]i3_internal) | |
684 | (mul[sd]i3_r4000): Redefine using :GPR. | |
685 | (mulsi3_mult3): Don't check TARGET_MAD separately. | |
686 | (muldi3_mult3): Moved after mulsi_mult3. | |
687 | ||
5811cb27 RS |
688 | 2004-08-23 Richard Sandiford <rsandifo@redhat.com> |
689 | ||
690 | * config.gcc (mips-*-*): Remove definitions of MASK_GAS and | |
691 | OBJECT_FORMAT_ELF. Set MASK_SPLIT_ADDR by default if using GNU ld. | |
692 | * config/mips/mips.h (MASK_GAS): Delete. Shuffle later masks down. | |
693 | (TARGET_GAS, TARGET_MIPS_AS): Delete. | |
694 | (TARGET_GPWORD): Define to true for n32 on IRIX. | |
695 | (TARGET_SWITCHES): Remove -mmips-as. Turn -mgas into a no-op. | |
696 | (MIPS_AS_ASM_SPEC, SUBTARGET_MIPS_AS_ASM_SPEC): Delete. | |
697 | (GAS_ASM_SPEC): Delete, folding into ASM_SPEC. | |
698 | (ASM_ABI_DEFAULT_SPEC, TARGET_ASM_SPEC): Delete. | |
699 | (MDEBUG_ASM_SPEC): Delete, folding into... | |
700 | (SUBTARGET_ASM_DEBUGGING_SPEC): ...here. | |
701 | (ASM_SPEC): Inline old GAS_ASM_SPEC. Use GNU names for ABI switches. | |
702 | (EXTRA_SPECS): Remove mips_as_asm_spec, gas_asm_spec, target_asm_spec, | |
703 | subtarget_mips_as_asm_spec, mdebug_asm_spec. Use MULTILIB_ABI_DEFAULT | |
704 | to define asm_abi_default_spec. | |
705 | (ASM_STABS_OP, ASM_STABN_OP, ASM_STABD_OP): Delete. | |
706 | (TARGET_ASM_SELECT_SECTION): Delete. | |
707 | * config/mips/mips.c (MIPS_MAX_FIRST_STACK_STEP): Define to 0x7ff0 | |
708 | for non-mips16 code, removing previous workaround for SGI assemblers. | |
709 | (TARGET_ASM_INTEGER, mips_assemble_integer): Delete. | |
710 | (TARGET_ASM_ALIGNED_DI_OP): Define this instead. | |
711 | (override_options): Remove !TARGET_GAS and !have_named_sections code. | |
712 | (print_operand): Fold TARGET_GAS conditionals into asm strings. | |
713 | (mips_output_filename): Remove !TARGET_GAS code. Replace use of | |
714 | ASM_STABS_OP and ASM_STABN_OP. | |
715 | (mips_file_start): Remove TARGET_MIPS_AS/TARGET_GAS checks. | |
716 | (mips_output_aligned_decl_common): Remove mention of SGI o32 assembler. | |
717 | (mips_output_function_prologue): Remove !TARGET_GAS code. | |
718 | (mips_select_rtx_section): Remove !have_named_sections code. | |
719 | (mips_select_section): Delete. | |
720 | * config/mips/mips.md (trap): Remove !TARGET_GAS check. | |
721 | * config/mips/linux.h (TARGET_DEFAULT): Remove use of MASK_GAS. | |
722 | * config/mips/sdb.h (PUT_SDB_DEF, PUT_SDB_PLAIN_DEF): Delete. | |
723 | (PUT_SDB_BLOCK_START, PUT_SDB_BLOCK_END): Fold TARGET_GAS conditional. | |
724 | * config/mips/vxworks.h (ASM_SPEC): As for mips.h. | |
725 | * config/mips/windiss.h (ASM_SPEC): Likewise. | |
726 | ||
032e8348 RS |
727 | 2004-08-23 Richard Sandiford <rsandifo@redhat.com> |
728 | ||
729 | * read-rtl.c (map_value, mapping, macro_group): New structures. | |
730 | (BELLWETHER_CODE): New macro. | |
731 | (modes, codes, bellwether_codes): New variables. | |
732 | (find_mode, uses_mode_macro_p, apply_mode_macro, find_code) | |
733 | (uses_code_macro_p, apply_code_macro, apply_macro_to_string) | |
734 | (apply_macro_to_rtx, uses_macro_p, add_condition_to_string) | |
735 | (add_condition_to_rtx, apply_macro_traverse, add_mapping) | |
736 | (add_map_value, initialize_macros): New functions. | |
737 | (def_hash, def_hash_eq_p): Generalize to anything that points to, | |
738 | or starts with, a char * field. | |
739 | (find_macro, read_mapping, check_code_macro): New functions. | |
740 | (read_rtx_1): New, split out from read_rtx. Handle the new | |
741 | define_{mode,code}_{macro,attr} constructs. Use find_macro | |
742 | to parse the name of a code or mode. Use BELLWETHER_CODE to | |
743 | extract the format and to choose a suitable code for rtx_alloc. | |
744 | Modify recursive invocations to use read_rtx_1. | |
745 | (read_rtx): Call initialize_macros. Apply code and mode macros | |
746 | to the rtx returned by read_rtx_1. Cache everything after the | |
747 | first macro expansion for subsequent read_rtx calls. | |
748 | * doc/md.texi: Document new .md constructs. | |
749 | * config/mips/mips.md (GPR): New mode macro. | |
750 | (d, si8_di5): New mode attributes. | |
751 | (any_cond): New code macro. | |
752 | (add[sd]i3): Redefine using :GPR. | |
753 | (*add[sd]i3): Likewise, renaming from add[sd]i3_internal. | |
754 | (*add[sd]i3_sp[12], *add<mode>3_mips16): Redefine using :GPR, naming | |
755 | previously unnamed MIPS16 patterns. | |
756 | (*addsi3_extended): Renamed from addsi3_internal_2. Fix overly long | |
757 | lines. Don't match (plus (const_int 0) ...). | |
758 | (*addsi3_extended_mips16): Name previously unnamed MIPS16 pattern. | |
759 | Use a define_split to generate the addition. | |
760 | (sub[sd]i3): Redefine using :GPR. Turn subsi3 into a define_insn. | |
761 | (subsi3_internal): Delete. | |
762 | (*subsi3_extended): Renamed from subsi3_internal_2. | |
763 | (bunordered, bordered, bunlt, bunge, buneq, bltgt, bunle, bungt) | |
764 | (beq, bne, bgt, bge, blt, ble, bgtu, bgeu, bltu, bleu): Redefine | |
765 | using an any_cond template. | |
766 | ||
ecce923e RS |
767 | 2004-08-23 Richard Sandiford <rsandifo@redhat.com> |
768 | ||
769 | * read-rtl.c (read_rtx): Tidy use of format_ptr. | |
770 | ||
a269d6c8 RS |
771 | 2004-08-23 Richard Sandiford <rsandifo@redhat.com> |
772 | ||
773 | * read-rtl.c (string_obstack): New file-scope variable. | |
774 | (read_string, read_quoted_string, read_braced_string) | |
775 | (read_escape): Remove obstack parameter and use string_obstack instead. | |
776 | (read_rtx): Remove function-local rtl_obstack and initialize | |
777 | string_obstack instead. Update call to read_string. | |
778 | ||
9fc3b39a AP |
779 | 2004-08-22 Andrew Pinski <apinski@apple.com> |
780 | ||
781 | PR c/15262 | |
782 | * c-typeck.c (build_unary_op): Use &a.b if the foldded lowered | |
783 | expression is not constant. | |
784 | (c_finish_return): Do not go through INDIRECT_REF when looking | |
785 | for the inner expression of an ADDR_EXPR for warning about. | |
786 | ||
cea49550 RH |
787 | 2004-08-22 Richard Henderson <rth@redhat.com> |
788 | ||
789 | PR 17075 | |
790 | * cfgexpand.c (expand_gimple_tailcall): Detect when we can both | |
791 | create new blocks and fall through. | |
792 | (expand_gimple_basic_block): Update to match. | |
793 | ||
0b540f12 UW |
794 | 2004-08-22 Ulrich Weigand <uweigand@de.ibm.com> |
795 | ||
796 | * reload.c (find_reloads_address): Make return value tri-state. | |
797 | Return -1 if LEGITIMIZE_RELOAD_ADDRESS succeeded. | |
798 | (find_reloads): Assume that reloaded addresses match 'o' or | |
799 | EXTRA_MEMORY_CONSTRAINT constraints only if find_reloads_address | |
800 | returned 1 (not -1). Omit optional reloads for address operands | |
801 | only if find_reloads_address returned 1 (not -1). | |
802 | ||
803 | * config/s390/s390.c (legitimize_reload_address): New function. | |
804 | * config/s390/s390-protos.h (legitimize_reload_address): Declare. | |
805 | * config/s390/s390.h (LEGITIMIZE_RELOAD_ADDRESS): Define. Call | |
806 | legitimize_reload_address. | |
807 | ||
7f5e6307 RH |
808 | 2004-08-22 Richard Hendersion <rth@redhat.com> |
809 | ||
810 | * tree.h (SAVE_EXPR_RESOLVED_P): New. | |
811 | * gimplify.c (gimplify_save_expr): Use it. | |
812 | * expr.c (expand_expr_real_1): Likewise. Also set DECL_IGNORED_P | |
813 | on the temporary variable. | |
814 | ||
efd610a6 AP |
815 | 2004-08-22 Andrew Pinski <pinskia@physics.uc.edu> |
816 | ||
817 | * fold-const.c (rtl_expr_nonnegative_p): Delete. | |
818 | * tree.h (rtl_expr_nonnegative_p): Remove. | |
819 | ||
324a6c95 SB |
820 | 2004-08-22 Steven Bosscher <stevenb@suse.de> |
821 | ||
822 | * config/i386/ppro.md (ppro_complex_insn): Add missing check | |
823 | for cpu==pentiumpro. | |
824 | ||
825 | * combine.c (struct reg_stat): Fix comment typo. | |
826 | ||
41db8425 JM |
827 | 2004-08-22 Joseph S. Myers <jsm@polyomino.org.uk> |
828 | ||
829 | * c-tree.h (c_sizeof_nowarn): Remove. | |
830 | ||
00325bce JM |
831 | 2004-08-21 Joseph S. Myers <jsm@polyomino.org.uk> |
832 | ||
833 | * c-decl.c (set_array_declarator_type): Rename to | |
834 | set_array_declarator_inner. | |
835 | (build_c_parm, build_attrs_declarator, build_function_declarator): | |
836 | New functions. | |
837 | (make_pointer_declarator): Call build_attrs_declarator. | |
838 | * c-tree.h (set_array_declarator_type): Rename to | |
839 | set_array_declarator_inner. | |
840 | (build_c_parm, build_attrs_declarator, build_function_declarator): | |
841 | New prototypes. | |
842 | * c-parse.in (after_type_declarator, | |
843 | parm_declarator_starttypename, parm_declarator_nostarttypename, | |
844 | notype_declarator, absdcl_maybe_attribute, direct_absdcl1, parm, | |
845 | firstparm): Use these functions | |
846 | ||
60919bce JM |
847 | 2004-08-21 Joseph S. Myers <jsm@polyomino.org.uk> |
848 | ||
849 | * c-decl.c (build_array_declarator, set_array_declarator_type, | |
850 | start_decl, grokdeclarator, grokparms): Change boolean parameters | |
851 | to type bool. | |
852 | * c-tree.h (build_array_declarator, set_array_declarator_type, | |
853 | start_decl): Update prototypes. | |
854 | * c-decl.c, c-parse.in: All callers changed. | |
855 | ||
bdfd0ed4 MS |
856 | 2004-08-21 Mike Stump <mrs@apple.com> |
857 | ||
858 | * config/rs6000/darwin.h (SUBTARGET_OPTIONS): Move from here, to... | |
859 | (darwin_fix_and_continue): Likewise. | |
860 | (darwin_fix_and_continue_switch): Likewise. | |
861 | * config/darwin.h (SUBTARGET_OPTIONS): ...here, to fix -mone-byte-bool. | |
862 | (darwin_fix_and_continue): Likewise. | |
863 | (darwin_fix_and_continue_switch): Likewise. | |
864 | ||
35da8b56 | 865 | 2004-08-21 Danny Smith <dannysmith@users.sourceforge.net> |
23d34220 DS |
866 | |
867 | PR c++/16030 | |
868 | * config/i386/winnt/c (gen_stdcall_suffix, gen_fastcall_suffix): | |
869 | Remove, merging into ... | |
870 | (gen_stdcall_or_fastcall_suffix): New function, returning tree | |
871 | rather than const char*, and accepting additional parameter. | |
872 | Don't add suffix to '*'-prefixed symbols or variadic functions. | |
873 | (i386_pe_encode_section_info): Adjust for call to new function. | |
874 | Call change_decl_assembler_name. | |
875 | ||
828a4fe4 MS |
876 | 2004-08-20 Mike Stump <mrs@apple.com> |
877 | ||
878 | * config/darwin.c (machopic_indirect_data_reference): Mark | |
879 | stubs as defined. | |
880 | * config/386/386.c (darwin_local_data_pic): Add. | |
881 | (legitimate_constant_p): Reorder so that PLUS handling runs | |
882 | before darwin_local_data_pic to match the ordering in | |
883 | legitimate_pic_address_disp_p and so that MINUS runs after | |
884 | darwin_local_data_pic as otherwise the darwin_local_data_pic | |
885 | logic can be skipped, which would be very bad. | |
886 | (legitimate_pic_address_disp_p): Move from from here to | |
887 | darwin_local_data_pic so it can be reused. | |
888 | ||
85b776df AM |
889 | 2004-08-21 Alan Modra <amodra@bigpond.net.au> |
890 | ||
891 | * config/rs6000/linux64.h (DOT_SYMBOLS): Define. | |
892 | (CRT_CALL_STATIC_FUNCTION): Define !DOT_SYMBOLS version. | |
893 | (ASM_DECLARE_FUNCTION_SIZE): Modify for !DOT_SYMBOLS. | |
894 | (ASM_OUTPUT_SOURCE_LINE, DBX_OUTPUT_BRAC, DBX_OUTPUT_NFUN): Likewise. | |
895 | (RS6000_ABI_NAME): Define as "linux". | |
896 | (SUBSUBTARGET_OVERRIDE_OPTIONS): Set dot_symbols. | |
897 | * config/rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS): Select | |
898 | ABI_AIX when rs6000_abi_name is "linux" and TARGET_64BIT. | |
899 | * config/rs6000/rs6000-protos.h (rs6000_output_function_entry): Decl. | |
900 | * config/rs6000/rs6000.c (dot_symbols): New global var. | |
901 | (rs6000_output_function_entry): New function, modified for | |
902 | !DOT_SYMBOLS.. | |
903 | (print_operand <case 'z'>): ..extracted from here. | |
904 | (rs6000_assemble_visibility): Modify for !DOT_SYMBOLS. | |
905 | (rs6000_output_function_epilogue): Likewise. | |
906 | (rs6000_elf_declare_function_name): Likewise. | |
907 | * config/rs6000/rs6000.h (DOT_SYMBOLS): Define. | |
908 | (ASM_WEAKEN_DECL, ASM_OUTPUT_DEF_FROM_DECLS): Modify for !DOT_SYMBOLS. | |
909 | * configure.ac (HAVE_LD_NO_DOT_SYMS): Add new AC_DEFINE. | |
910 | * configure: Regenerate. | |
911 | * config.in: Regenerate. | |
912 | ||
14d3dc34 MM |
913 | 2004-08-20 Mark Mitchell <mark@codesourcery.com> |
914 | ||
0e544c37 MM |
915 | * reload.c (find_reloads_address): Fix thinko in previous change. |
916 | ||
14d3dc34 MM |
917 | * reload.c (find_reloads_address): Reload the sum of a LO_SUM and |
918 | a CONST_INT. | |
919 | ||
f3b2657c JJ |
920 | 2004-08-20 Jakub Jelinek <jakub@redhat.com> |
921 | ||
922 | PR rtl-optimization/17099 | |
923 | * combine.c (force_to_mode): Check if inner_mask has any bits set | |
924 | outside of GET_MODE (x) instead of op_mode. | |
925 | ||
d2294baa MM |
926 | 2004-08-20 Mark Mitchell <mark@codesourcery.com> |
927 | ||
928 | * config.gcc (arm*-*-symbianelf*): Add t-symbian Makefile | |
929 | fragment. | |
930 | * config/arm/bpabi.h (RENAME_LIBRARY_SET): Fix typo. | |
931 | (SUBTARGET_EXTRA_ASM_SPEC): Pass -meabi=3 to the assembler. | |
932 | * config/arm/symbian.h (SUBTARGET_CPU_DEFAULT): Assume ARMV5 | |
933 | architecture. | |
934 | (SUBTARGET_ASM_FLOAT_SPEC): Default to -mfpu=vfp for hard-float | |
935 | configurations. | |
936 | * config/arm/t-symbian: New file. | |
937 | ||
753d0efa AP |
938 | 2004-08-20 Andrew Pinski <apinski@apple.com> |
939 | ||
940 | * regrename.c (kill_value_regno): ANSIfy. | |
941 | ||
627b6fe2 DJ |
942 | 2004-08-20 Dale Johannesen <dalej@apple.com> |
943 | ||
324a6c95 | 944 | * config/rs6000/rs6000.c (rs6000_rtx_costs): Improve DIV/MOD. |
627b6fe2 | 945 | |
d64d5e80 DJ |
946 | 2004-08-20 Daniel Jacobowitz <dan@debian.org> |
947 | ||
948 | * regrename.c (kill_value_one_regno): Renamed from kill_value_regno. | |
949 | (kill_value_regno): New function, derived from kill_value. | |
950 | (kill_value): Update. | |
951 | (copyprop_hardreg_forward_1): Update call to kill_value_regno. | |
952 | ||
af75a7ea | 953 | 2004-08-20 Daniel Berlin <dberlin@dberlin.org> |
f676971a | 954 | |
af75a7ea DB |
955 | Fix PR tree-optimization/17111 |
956 | * tree-ssa-pre.c (create_value_expr_from): Don't change the types | |
957 | of non-value_handles. | |
958 | (bitmap_set_contains): All constants are in every set. | |
959 | ||
0a936b12 NS |
960 | 2004-08-20 Nathan Sidwell <nathan@codesourcery.com> |
961 | ||
962 | * fold-const.c (round_up, round_down): Use build_int_cst. | |
963 | Optimize common case. | |
964 | ||
774acadf ZW |
965 | 2004-08-20 Zack Weinberg <zack@codesourcery.com> |
966 | John David Anglin <dave.anglin@nrc-cnrc.gc.ca> | |
967 | ||
324a6c95 | 968 | * config/pa/pa-protos.h (readonly_data, one_only_readonly_data_section, |
774acadf ZW |
969 | one_only_data_section): Rename to som_readonly_data_section, |
970 | som_one_only_readonly_data_section and som_one_only_data_section. | |
324a6c95 | 971 | * config/pa/pa.c (ONE_ONLY_TEXT_SECTION_ASM_OP, |
0a936b12 NS |
972 | NEW_TEXT_SECTION_ASM_OP, DEFAULT_TEXT_SECTION_ASM_OP): Delete |
973 | conditional defines. | |
774acadf ZW |
974 | (som_text_section_asm_op): Replace ONE_ONLY_TEXT_SECTION_ASM_OP, |
975 | NEW_TEXT_SECTION_ASM_OP and DEFAULT_TEXT_SECTION_ASM_OP with actual | |
976 | string values. | |
977 | (pa_select_section): Use renamed section functions. | |
978 | * config/pa/pa.h (EXTRA_SECTIONS, EXTRA_SECTION_FUNCTIONS, | |
324a6c95 | 979 | SOM_READONLY_DATA_SECTION_FUNCTION, |
774acadf | 980 | SOM_ONE_ONLY_READONLY_DATA_SECTION_FUNCTION, |
324a6c95 SB |
981 | SOM_ONE_ONLY_DATA_SECTION_FUNCTION, FORGET_SECTION_FUNCTION): |
982 | Define here ... | |
983 | * config/pa/som.h: ... not here. | |
984 | (DEFAULT_TEXT_SECTION_ASM_OP, NEW_TEXT_SECTION_ASM_OP, | |
774acadf ZW |
985 | ONE_ONLY_TEXT_SECTION_ASM_OP, READONLY_DATA_ASM_OP, |
986 | ONE_ONLY_READONLY_DATA_SECTION_ASM_OP, | |
324a6c95 SB |
987 | ONE_ONLY_DATA_SECTION_ASM_OP): Delete. |
988 | (READONLY_DATA_SECTION): Use som_readonly_data_section. | |
774acadf | 989 | |
3224bead NS |
990 | 2004-08-20 Nathan Sidwell <nathan@codesourcery.com> |
991 | ||
fabead06 NS |
992 | * fold-const.c (int_const_binop): Don't generate non-overflowing |
993 | size-types specially. | |
994 | (fold_convert_const): Likewise. | |
995 | ||
3224bead NS |
996 | * stor-layout.c (initialize_sizetypes): Set SIZETYPE earlier, |
997 | clear cache on copied sizetype. | |
998 | ||
fb38008e BE |
999 | 2004-08-20 Ben Elliston <bje@au.ibm.com> |
1000 | ||
1001 | * configure.ac: Don't escape apostrophe in --enable-coverage help. | |
1002 | * configure: Regenerate. | |
1003 | ||
a9024779 DS |
1004 | 2004-08-20 Danny Smith <dannysmith@users.sourceforge.net> |
1005 | ||
1006 | PR 5620 | |
1007 | * gcc.c (struct stat input_stat): Don't define if | |
1008 | HOST_LACKS_INODE_NUMBERS | |
1009 | (do_spec_1): If HOST_LACKS_INODE_NUMBERS, use lrealpath rather | |
1010 | than stat to determine if temp file is same as input file. | |
1011 | * doc/hostconfig.texi: Document HOST_LACKS_INODE_NUMBERS. | |
1012 | * config/i386/xm-mingw32.h: Define HOST_LACKS_INODE_NUMBERS | |
1013 | ||
82563d35 RS |
1014 | 2004-08-20 Richard Sandiford <rsandifo@redhat.com> |
1015 | ||
1016 | * configure.ac (mips*-*-*): Print an error if not using GAS. | |
1017 | * configure: Regenerated. | |
1018 | * doc/install.texi: Remove irix5 bullet from --with-gnu-as. Remove | |
1019 | comments about buggy MIPSpro assemblers. | |
1020 | * config.gcc (mips-sgi-irix[56]*): Combine stanzas. Include elfos.h | |
1021 | before mips.h and iris.h after it. Use t-iris and t-slibgcc-irix. | |
1022 | Use iris5.h only for IRIX 5 configs. Use iris6.h and t-iris6 for | |
1023 | IRIX 6 configs. Define IRIX_USING_GNU_LD if using GNU ld. | |
1024 | * config/mips/iris5.h (TARGET_IRIX, SWITCHES_NEED_SPACES) | |
1025 | (DEFAULT_SIGNED_CHAR, WORD_SWITCH_TAKES_ARG, SUBTARGET_CC1_SPEC) | |
1026 | (NO_IMPLICIT_EXTERN_C, MIPS_DEFAULT_GVALUE) | |
1027 | (TARGET_ASM_EXTERNAL_LIBCALL): Move to iris.h. | |
1028 | (WCHAR_TYPE, WCHAR_TYPE_SIZE, TARGET_OS_CPP_BUILTINS): Delete in favor | |
1029 | of more general IRIX 6 definitions. | |
1030 | (OBJECT_FORMAT_ELF, ASM_OUTPUT_ASCII, ASM_WEAKEN_LABEL) | |
1031 | (HANDLE_SYSV_PRAGMA): Delete in favor of elfos.h definitions. | |
1032 | (TARGET_IRIX5, ABICALLS_ASM_OP, BSS_SECTION_ASM_OP, HAS_INIT_SECTION) | |
1033 | (LD_INIT_SWITCH, LD_FINI_SWITCH, SUBTARGET_ASM_OPTIMIZING_SPEC) | |
1034 | (ASM_FINAL_SPEC, DBX_DEBUGGING_INFO, MIPS_DEBUGGING_INFO) | |
1035 | (PREFERRED_DEBUGGING_TYPE, DWARF2_UNWIND_INFO, SET_FILE_NUMBER) | |
1036 | (LABEL_AFTER_LOC, DOLLARS_IN_IDENTIFIERS, NO_DOLLAR_IN_LABEL) | |
1037 | (TARGET_ASM_NAMED_SECTION, EXTRA_SECTION_FUNCTIONS) | |
1038 | (ASM_DECLARE_FUNCTION_SIZE, ASM_OUTPUT_WEAK_ALIAS) | |
1039 | (SUBTARGET_EXTRA_SPECS): Delete definitions or undefs. | |
1040 | (LINK_SPEC): Move most of definition to iris.h. | |
1041 | (SUBTARGET_LINK_SPEC): New macro. | |
1042 | (IRIX_STARTFILE_SPEC): Fold into... | |
1043 | (STARTFILE_SPEC): ...here. | |
1044 | (IRIX_ENDFILE_SPEC): Fold into... | |
1045 | (ENDFILE_SPEC): ...here. | |
1046 | * config/mips/iris6.h (TARGET_IRIX5): Remove override. | |
1047 | (WCHAR_TYPE, WCHAR_TYPE_SIZE, WINT_TYPE, WINT_TYPE_SIZE) | |
1048 | (DWARF_OFFSET_SIZE, DWARF_INITIAL_LENGTH_SIZE, SET_ASM_OP) | |
1049 | (LINK_ELIMINATE_DUPLICATE_LDIRECTORIES, ASM_DECLARE_OBJECT_NAME) | |
1050 | (ASM_FINISH_DECLARE_OBJECT, LOCAL_LABEL_PREFIX): Move to iris.h. | |
1051 | (TARGET_OS_CPP_BUILTINS): Likewise. Guard IRIX6-specific bits. | |
1052 | (DWARF2_UNWIND_INFO, DWARF2_GENERATE_TEXT_SECTION_LABEL) | |
1053 | (SUBTARGET_CPP_SPEC, DWARF2_DEBUGGING_INFO, MIPS_DEBUGGING_INFO) | |
1054 | (PREFERRED_DEBUGGING_TYPE, DWARF2_FRAME_INFO, MD_EXEC_PREFIX) | |
1055 | (ASM_DECLARE_FUNCTION_NAME, ASM_DECLARE_FUNCTION_SIZE) | |
1056 | (FUNCTION_NAME_ALREADY_DECLARED, SUPPORTS_INIT_PRIORITY) | |
1057 | (POPSECTION_ASM_OP, SUBTARGET_ASM_SPEC, SUBTARGET_MIPS_AS_ASM_SPEC) | |
1058 | (SUBTARGET_ASM_DEBUGGING_SPEC, SUBTARGET_ASM_OPTIMIZING_SPEC) | |
1059 | (BSS_SECTION_ASM_OP*, READONLY_DATA_SECTION_ASM_OP*) | |
1060 | (EH_FRAME_SECTION_NAME, MUST_USE_SJLJ_EXCEPTIONS, CTORS_SECTION_ASM_OP) | |
1061 | (DTORS_SECTION_ASM_OP, TARGET_ASM_NAMED_SECTION, EH_FRAME_SECTION_NAME) | |
1062 | (ASM_OUTPUT_ALIGN, ASM_OUTPUT_FILENAME, ASM_OUTPUT_ALIGNED_LOCAL) | |
1063 | (ASM_OUTPUT_ALIGNED_BSS): Remove definitions or undefs. | |
1064 | (TARGET_IRIX6): Define to 1. | |
1065 | (DRIVER_SELF_SPECS): Define. | |
1066 | (DWARF2_FRAME_INFO): Define to 1 rather than !TARGET_SGI_O32_AS. | |
1067 | (SUBTARGET_CC1_SPEC): Remove in favor of DRIVER_SELF_SPECS. | |
1068 | (SUBTARGET_LINK_SPEC): New macro. | |
1069 | (IRIX_STARTFILE_SPEC): Fold into... | |
1070 | (STARTFILE_SPEC): ...here. Remove !mabi=* case. | |
1071 | (SUBTARGET_{,DONT_}WARN_UNUSED_SPEC): New macros. | |
1072 | (LIB_SPEC, LIBGCC_SPEC): Use them. | |
1073 | (LIB_SPEC): Remove !mabi=* case. | |
1074 | (IRIX_ENDFILE_SPEC): Fold into... | |
1075 | (ENDFILE_SPEC): ...here. Remove !mabi=* case. | |
1076 | * config/mips/mips-protos.h (irix_output_external_libcall): Delete. | |
1077 | * config/mips/mips.h (TARGET_IRIX5, TARGET_SGI_O32_AS): Delete. | |
1078 | (TARGET_IRIX6): New macro. | |
1079 | (ASM_ABI_DEFAULT_SPEC): Remove !ELF definition. | |
1080 | (MD_EXEC_PREFIX, MD_STARTFILE_PREFIX, SET_FILE_NUMBER) | |
1081 | (LABEL_AFTER_LOC): Delete. | |
1082 | * config/mips/mips.c (TARGET_ASM_FILE_START, TARGET_ASM_FILE_END) | |
1083 | (TARGET_SECTION_TYPE_FLAGS): Remove TARGET_IRIX versions. | |
1084 | (mips_build_builtin_va_list): Check TARGET_IRIX6. | |
1085 | (override_options): Remove TARGET_SGI_O32_AS-related code. | |
1086 | (irix_output_external_libcall): Make static. | |
1087 | (mips_output_filename): Avoid use of SET_FILE_NUMBER and | |
1088 | LABEL_AFTER_LOC. | |
1089 | (mips_file_start): Tidy guard for ABI sections. Remove use of | |
1090 | ABICALLS_ASM_OP; use .abicalls instead. | |
1091 | (mips_output_aligned_decl_common, mips_declare_object_name) | |
1092 | (mips_finish_declare_object): Remove use of TARGET_SGI_O32_AS. | |
1093 | (mips_output_function_prologue): Set TREE_ASM_WRITTEN if emitting | |
1094 | .globl foo .text directives. | |
1095 | (irix_asm_named_section_1, irix_asm_named_section) | |
1096 | (irix_section_align_entry, irix_section_align_htab) | |
1097 | (irix_orig_asm_out_file, irix_section_align_entry_eq) | |
1098 | (irix_section_align_entry_hash, irix_asm_output_align) | |
1099 | (irix_file_start, irix_section_align_1, copy_file_data) | |
1100 | (irix_file_end, irix_section_type_flags): Delete. | |
1101 | * config/mips/irix-crti.asm (__gcc_init): Move to .gcc_init section. | |
1102 | Use standard section syntax. Remove protective "jr $31". | |
1103 | (__gcc_fini): Likewise .gcc_fini. | |
1104 | * config/mips/irix-crtn.asm: Adjust sections accordingly. | |
1105 | * config/mips/sdb.h (PUT_SDB_SIZE, PUT_SDB_TYPE): Moved from | |
1106 | iris5gas.h. | |
1107 | * config/mips/t-iris (irix-crti.o, irix-crtn.o): New rules, moved | |
1108 | from t-irix-gld. | |
1109 | (EXTRA_MULTILIB_PARTS): Define. | |
1110 | * config/mips/t-iris6: Remove bogus comment. | |
1111 | (EXTRA_MULTILIB_PARTS, CRTSTUFF_T_CFLAGS): Delete. | |
1112 | * config/mips/iris5gas.h, config/mips/iris5gld.h, | |
1113 | config/mips/iris6gas.h, config/mips/iris6gld.h, | |
1114 | config/mips/t-iris5-as, config/mips/t-iris5-gas | |
1115 | config/mips/t-irix-gld: Delete. | |
1116 | * config/mips/iris.h: New file. | |
1117 | * config/mips/t-slibgcc-irix: Renamed from t-iris5-6. | |
1118 | ||
c4cdb8e1 RE |
1119 | 2004-08-20 Richard Earnshaw <rearnsha@arm.com> |
1120 | ||
1121 | * postreload.c (reload_cse_move2add): Allow any condjump, but check | |
1122 | that the implicit set isn't clobbered in the jump insn. | |
1123 | ||
d55ab31d MM |
1124 | 2004-08-19 Mark Mitchell <mark@codesourcery.com> |
1125 | ||
1126 | * defaults.h (TARGET_LIBGCC_LIBFUNCS): Remove. | |
1127 | * optabs.c (init_optabs): Don't check it. | |
1128 | * config/arm/bpabi.h (TARGET_LIBGCC_LIBFUNCS): Do not define. | |
1129 | * doc/tm.texi (TARGET_LIBGCC_FUNCS): Remove. | |
1130 | ||
d75f90f1 AK |
1131 | 2004-08-18 Andreas Krebbel <krebbel1@de.ibm.com> |
1132 | ||
1133 | * config/s390/s390.md (s390_warn_framesize_string) | |
1134 | (s390_warn_dynamic_string, s390_stack_size_string) | |
1135 | (s390_stack_guard_string): New global string variables. | |
1136 | (s390_warn_framesize, s390_warn_dynamicstack_p, s390_stack_size) | |
1137 | (s390_stack_guard): New global variables. | |
1138 | (override_options): Added checks for the new options. | |
1139 | (s390_emit_prologue): Emit stack check and trap code and perform | |
1140 | compile time stack size checking. | |
f676971a EC |
1141 | |
1142 | * config/s390/s390.h (TARGET_OPTIONS): Added new options | |
d75f90f1 AK |
1143 | "warn-framesize", "warn-dynamicstack", "stack-size" and |
1144 | "stack-guard". | |
1145 | ||
1146 | * doc/invoke.texi: Added documentation for the new options. | |
1147 | ||
ca29916b UW |
1148 | 2004-08-19 Ulrich Weigand <uweigand@de.ibm.com> |
1149 | ||
1150 | * unwind-dw2-fde.c (get_cie_encoding): Cast argument to strlen | |
1151 | to eliminate warning. | |
1152 | (linear_search_fdes): Declare p as unsigned. | |
1153 | (binary_search_mixed_encoding_fdes): Likewise. | |
1154 | * unwind-dw2.c (get_cie_encoding): Cast argument to strlen | |
1155 | to eliminate warning. | |
1156 | * config/s390/linux.h (MD_FALLBACK_FRAME_STATE_FOR): Add missing | |
1157 | type cast. | |
1158 | ||
e1d5ee28 UW |
1159 | 2004-08-19 Ulrich Weigand <uweigand@de.ibm.com> |
1160 | ||
1161 | * config/s390/s390-protos.h (preferred_la_operand_p): Adapt prototype. | |
1162 | * config/s390/s390.c (preferred_la_operand_p): Accept two operands | |
1163 | instead of one. Check for strictly legitimate address. | |
1164 | * config/s390/s390.md ("*la_31"/"*la_64" peepholes): Adapt call | |
1165 | to preferred_la_operand_p, do not call gen_rtx_PLUS in predicate. | |
1166 | ||
19114537 EC |
1167 | 2004-08-19 Eric Christopher <echristo@redhat.com> |
1168 | ||
1169 | * langhooks-def.h (LANG_HOOKS_UNSAVE_EXPR_NOW): Remove. | |
1170 | * langhooks.h (unsave_expr_now): Ditto. | |
1171 | * tree.h (unsave_expr_1): Remove prototype. | |
1172 | (lhd_unsave_expr_now): Rename to unsave_expr_now. | |
1173 | * tree-inline.c (unsave_expr_1): Move here | |
1174 | from tree.c. Make static. | |
1175 | (unsave_expr_now): Rename from lhd_unsave_expr_now. | |
1176 | * tree-sra.c: Fix up for rename. | |
1177 | * tree-ssa-copy.c: Ditto. | |
1178 | * tree-eh.c: Ditto. | |
1179 | * tree.c (unsave_expr_1): Move to tree-inline.c. | |
1180 | ||
d5bfecf2 CT |
1181 | 2004-08-19 Caroline Tice <ctice@apple.com> |
1182 | ||
324a6c95 SB |
1183 | * config/i386/cygming.h (switch_to_section): Fix typo (change |
1184 | in_unlikely_text_section to in_unlikely_executed_text). | |
19114537 | 1185 | |
58152808 DB |
1186 | 2004-08-19 Daniel Berlin <dberlin@dberlin.org> |
1187 | ||
1188 | * vec.h (VEC_lower_bound): New macro. | |
19114537 | 1189 | |
ae043003 RS |
1190 | 2004-08-19 Richard Sandiford <rsandifo@redhat.com> |
1191 | ||
1192 | PR target/16446 | |
1193 | * config/mips/mips.c (struct mips_arg_info): Delete num_bytes. | |
1194 | (mips_arg_info): Update accordingly. Remove common treatment of fpr_p; | |
1195 | treat each ABI separately. Deal with n32/n64 complex float arguments. | |
1196 | (function_arg): Add associated complex handling here. | |
1197 | ||
50ed9cea RH |
1198 | 2004-08-19 Richard Henderson <rth@redhat.com> |
1199 | ||
1200 | * config/arm/arm.c (arm_gen_load_multiple): Use | |
1201 | adjust_automodify_address. Take base memory and offset instead | |
1202 | of unchanging/struct/scalar bits. | |
1203 | (arm_gen_store_multiple): Likewise. | |
1204 | (arm_gen_movmemqi): Use adjust_automodify_address. | |
1205 | * config/arm/arm-protos.h: Update decls. | |
1206 | * config/arm/arm.md (load_multiple): Update arm_gen_load_multiple call. | |
1207 | (store_multiple): Similarly. | |
1208 | ||
74ae207d R |
1209 | 2004-08-19 J"orn Rennecke <joern.rennecke@superh.com> |
1210 | ||
1211 | * regclass.c (globalize_reg): Update call_really_used_regs. | |
1212 | ||
89b0433e NS |
1213 | 2004-08-19 Nathan Sidwell <nathan@codesourcery.com> |
1214 | ||
31ebd7c8 NS |
1215 | * doc/invoke.texi (integer-share-limit): Document. |
1216 | ||
89b0433e NS |
1217 | * tree.h (TYPE_CACHED_VALUES_P): New. |
1218 | (TYPE_CACHED_VALUES): New. | |
1219 | (TYPE_ORIG_SIZE_TYPE): Adjust. | |
1220 | * tree.def (INTEGER_CST): Update documentation. | |
1221 | * tree.c: Inlcude params.h. | |
1222 | (build_int_cst): Cache small values. | |
1223 | (build_type_copy): Do not copy the value cache. | |
1224 | * c-common.c (c_common_nodes_and_builtins): Add comment, remove | |
1225 | unneeded zeroing. | |
1226 | * c-typeck.c (build_c_cast): Add comment about OVERFLOW setting. | |
1227 | * expmed.c (const_mult_add_overflow_p): Clear type copy's value | |
1228 | cache. | |
1229 | * fold-const.c (force_fit_type): Copy value when setting | |
1230 | overflows. | |
1231 | (int_const_binop): Likewise. | |
1232 | * stor-layout.c: Include params.h | |
1233 | (set_sizetype): Create values cache. | |
1234 | (fixup_unsigned_type): Set UNSIGNED_P before caching any values. | |
1235 | * params.def (PARAM_INTEGER_SHARE_LIMIT): New. | |
1236 | * params.h (INTEGER_SHARE_LIMIT): New. | |
1237 | * Makefile.in (tree.o, stor-layout.o): Depend on PARAMS_H. | |
19114537 | 1238 | |
c2504783 PB |
1239 | 2004-08-19 Paolo Bonzini <bonzini@gnu.org> |
1240 | ||
1241 | * gimplify.c (gimplify_minimax_expr): Remove. | |
1242 | (gimplify_expr) <MIN_EXPR, MAX_EXPR>: Remove special handling. | |
1243 | ||
7a8554ce DN |
1244 | 2004-08-19 Dorit Naishlos <dorit@il.ibm.com> |
1245 | ||
19114537 | 1246 | * tree-vectorizer.c (vect_can_force_dr_alignment_p): Replace |
7a8554ce DN |
1247 | STACK_BOUDARY with PREFERRED_STACK_BOUNDARY. |
1248 | ||
1905f33d MM |
1249 | 2004-08-19 Mark Mitchell <mark@codesourcery.com> |
1250 | ||
1251 | * bpabi.h (FPUTYPE_DEFAULT): Set it to FPUTYPE_VFP. | |
1252 | ||
f1732751 AP |
1253 | 2004-08-18 Andrew Pinski <apinski@apple.com> |
1254 | ||
1255 | * varasm.c (ecode_reg_name): Do nothing if the asmspec is empty. | |
1256 | ||
8c78a388 MM |
1257 | 2004-08-18 Mark Mitchell <mark@codesourcery.com> |
1258 | ||
1259 | * config/arm/bpabi.c (__aeabi_ul2d): Give it default visibility. | |
1260 | (__aeabi_ul2f): Likewise. | |
1261 | ||
7eda7cda RH |
1262 | 2004-08-18 Richard Henderson <rth@redhat.com> |
1263 | ||
1264 | * config/xtensa/xtensa.c (xtensa_expand_block_move): Expand block | |
1265 | move to rtl completely. | |
1266 | (struct meminsnbuf, xtensa_emit_block_move): Remove. | |
1267 | (xtensa_find_mode_for_size): Remove. | |
1268 | * config/xtensa/xtensa-protos.h (xtensa_emit_block_move): Remove. | |
1269 | * config/xtensa/xtensa.md (movmemsi_internal): Remove. | |
1270 | ||
88042663 RH |
1271 | 2004-08-18 Richard Henderson <rth@redhat.com> |
1272 | ||
1273 | * config/mcore/mcore.c (mode_from_align): Remove DImode. | |
1274 | (block_move_sequence): Rewrite to use adjust_address. | |
1275 | (mcore_expand_block_move): Cleanup logic. Accept only operands. | |
1276 | Return boolean indicating success/failure. | |
1277 | * config/mcore/mcore-protos.h (mcore_expand_block_move): Update decl. | |
1278 | * config/mcore/mcore.md (movmemsi): Update to match. | |
1279 | ||
699c914a MS |
1280 | 2004-08-18 Mike Stump <mrs@apple.com> |
1281 | ||
1282 | * doc/invoke.texi (-mfix-and-continue): Add support for | |
1283 | fast turn around debugging. | |
1284 | (-ffix-and-continue): Likewise. | |
1285 | (-mindirect-data): Likewise. | |
1286 | (-findirect-data): Likewise. | |
1287 | * config/darwin.c (TARGET_FIX_AND_CONTINUE): Likewise. | |
1288 | (indirect_data): Likewise. | |
1289 | (machopic_data_defined_p): Likewise. | |
1290 | (machopic_output_indirection): Likewise. | |
1291 | (darwin_encode_section_info): Likewise. | |
1292 | (darwin_fix_and_continue): Likewise. | |
1293 | (darwin_fix_and_continue_switch): Likewise. | |
1294 | * config/darwin.h (MACHO_SYMBOL_STATIC): Likewise. | |
1295 | * config/rs6000/darwin.h (SUBTARGET_OVERRIDE_OPTIONS): Likewise. | |
1296 | (SUBTARGET_OPTION_TRANSLATE_TABLE): Likewise. | |
1297 | (SUBTARGET_OPTIONS): Likewise. | |
1298 | (darwin_fix_and_continue): Likewise. | |
1299 | (darwin_fix_and_continue_switch): Likewise. | |
1300 | (TARGET_FIX_AND_CONTINUE): Likewise. | |
1301 | * config/rs6000.c (rs6000_emit_prologue): Likewise. | |
1302 | ||
1303 | 2004-08-19 Steven Bosscher <stevenb@suse.de> | |
bd454efd SB |
1304 | |
1305 | * basic-block.h (struct edge_def): Remove crossing_edge. | |
1306 | (EDGE_CROSSING): New define. | |
1307 | (EDGE_ALL_FLAGS): Update. | |
1308 | * bb-reorder.c (find_traces_1_round, better_edge_p, | |
1309 | find_rarely_executed_basic_blocks_and_cr, fix_up_fall_thru_edges, | |
1310 | find_jump_block, fix_crossing_conditional_branches, | |
1311 | fix_crossing_unconditional_branches, add_reg_crossing_jump_notes): | |
1312 | Replace all occurences of crossing_edge with an edge flag check | |
1313 | or set/reset. | |
1314 | * cfgcleanup.c (try_simplify_condjump, try_forward_edges, | |
1315 | try_crossjump_bb): Likewise. | |
1316 | * cfglayout.c (fixup_reorder_chain): Likewise. | |
1317 | * cfgrtl.c (force_nonfallthru_and_redirect, | |
1318 | commit_one_edge_insertion): Likewise. | |
1319 | ||
1320 | * Makefile.in (cfganal.o): Depend on TIMEVAR_H. | |
1321 | * tree-flow.h (compute_dominance_frontiers): Move prototype... | |
1322 | * basic-block.h: ...here. | |
1323 | * tree-cfg.c (compute_dominance_frontiers_1, | |
1324 | compute_dominance_frontiers): Move from here... | |
1325 | * cfganal.c: ...to here. Include timevar.h. | |
1326 | ||
9ff6992e JW |
1327 | 2004-08-18 James E Wilson <wilson@specifixinc.com> |
1328 | ||
c831f54b | 1329 | * config/mips/mips.h (ASM_SPEC): In comment, change -meabi= to -mabi=. |
a1627d80 JW |
1330 | * config/mips/sb1.md (ir_sb1_divsf_1pipe): Renamed from ...1pipes. |
1331 | ||
9ff6992e JW |
1332 | * config/mips/mips.md (type): Add frdiv. |
1333 | (divsf3+1, divsf3+2): Change type to frdiv. | |
1334 | * config/mips/sb1.md (ir_sb1_recipsf_2pipes, ir_sb1_recipsf_1pipe, | |
1335 | ir_sb1_recipdf_2pipes, ir_sb1_recipdf_1pipe): New. | |
19114537 | 1336 | |
9ff6992e JW |
1337 | * config/mips/3000.md (r3k_fdiv_single, r3k_fdiv_double): Add frdiv. |
1338 | * config/mips/4300.md (r4300_fdiv_single, r4300_fdiv_double): Likewise. | |
1339 | * config/mips/4600.md (r4600_fdiv_single, f4600_fdiv_double): Likewise. | |
1340 | * config/mips/5000.md (r5k_fdiv_single): Likewise. | |
1341 | * config/mips/5400.md (ir_vr54_fdiv_sf, ir_vr54_fdiv_df): Likewise. | |
1342 | * config/mips/5500.md (ir_vr55_fdiv_sf, ir_vr55_fdiv_df): Likewise. | |
1343 | * config/mips/6000.md (r6k_fdiv_single, r6k_fdiv_double): Likewise. | |
1344 | * config/mips/7000.md (rm7_fp_divsqrt_df, rm7_fp_divsqrt_sf): Likewise. | |
1345 | * config/mips/9000.md (rm8k_fdivs, rm9k_fdivd): Likewise. | |
1346 | * config/mips/generic.md (generic_fdiv_single, generic_fdiv_double): | |
1347 | Likewise. | |
1348 | * config/mips/sr71k.md (ir_sr70_fdiv_sf, ir_sr70_fdiv_df): Likewise. | |
1349 | ||
c16eb900 RB |
1350 | 2004-08-18 Robert Bowdidge <bowdidge@apple.com> |
1351 | ||
1352 | * config/rs6000/x-darwin: Remove XCFLAGS -mdynamic-no-pic to | |
324a6c95 | 1353 | get regression tester working again. |
c16eb900 | 1354 | |
826c9564 ZW |
1355 | 2004-08-18 Zack Weinberg <zack@codesourcery.com> |
1356 | ||
1357 | * insn-notes.def, reg-notes.def: New files. | |
1358 | * rtl.h: Use them to define enum insn_note and enum reg_note. | |
1359 | * rtl.c: Use them to define note_insn_name and reg_note_name. | |
4b179e92 | 1360 | * Makefile.in (RTL_BASE_H): Update. |
826c9564 ZW |
1361 | |
1362 | * modulo-sched.c, sched-rgn.c, final.c: NOTE_DISABLE_SCHED_OF_BLOCK | |
1363 | renamed to NOTE_INSN_DISABLE_SCHED_OF_BLOCK. | |
1364 | ||
21b5653c RE |
1365 | 2004-08-18 Richard Earnshaw <rearnsha@arm.com> |
1366 | ||
1367 | * arm.c (arm_size_rtx_costs): New function. | |
1368 | (arm_override_options): Use it if optimizing for space. | |
1369 | ||
542a8afa RH |
1370 | 2004-08-18 Richard Henderson <rth@redhat.com> |
1371 | ||
1372 | * emit-rtl.c (gen_const_mem): New. | |
1373 | * rtl.h (gen_const_mem): Declare. | |
1374 | * expr.c (do_tablejump): Use it. | |
1375 | * varasm.c (force_const_mem): Likewise. | |
1376 | * config/darwin.c (machopic_indirect_data_reference): Likewise. | |
1377 | (machopic_legitimize_pic_address): Likewise. | |
1378 | * config/arm/arm.c (legitimize_pic_address): Likewise. | |
1379 | * config/i386/i386.c (legitimize_pic_address): Likewise. | |
1380 | (legitimize_tls_address): Likewise. | |
1381 | * config/ia64/ia64.c (ia64_expand_tls_address): Likewise. | |
1382 | * config/ia64/ia64.md (load_fptr): Likewise. | |
1383 | * config/m32r/m32r.c (m32r_legitimize_pic_address): Likewise. | |
1384 | * config/pa/pa.c (legitimize_pic_address): Likewise. | |
1385 | * config/rs6000/rs6000.c (rs6000_legitimize_tls_address): Likewise. | |
1386 | (rs6000_emit_move): Likewise. | |
1387 | * config/s390/s390.c (legitimize_pic_address): Likewise. | |
1388 | (legitimize_tls_address): Likewise. | |
1389 | * config/s390/s390.md (casesi): Likewise. | |
1390 | * config/sh/sh.c (sh_reorg): Likewise. | |
1391 | * config/sparc/sparc.c (legitimize_pic_address): Likewise. | |
1392 | * config/v850/v850.md (casesi): Likewise. | |
1393 | ||
1394 | * config/darwin.c (machopic_indirect_call_target): Set MEM_NOTRAP_P. | |
1395 | * config/sh/sh.c (prepare_move_operands): Remove incorrect | |
1396 | use of MEM_READONLY_P. | |
1397 | ||
0516f6fe SB |
1398 | 2004-08-18 Steven Bosscher <stevenb@suse.de> |
1399 | ||
1400 | * Makefile.in (OBJS-common): Add postreload-gcse.c. | |
1401 | Add new postreload-gcse.o. | |
1402 | * cse.c (SAFE_HASH): Define as wrapper around safe_hash. | |
1403 | (lookup_as_function, insert, rehash_using_reg, use_related_value, | |
1404 | equiv_constant): Use SAFE_HASH instead of safe_hash. | |
1405 | (exp_equiv_p): Export. Add for_gcse argument when comparing | |
1406 | for GCSE. | |
1407 | (lookup, lookup_for_remove, merge_equiv_classes, find_best_addr, | |
1408 | find_comparison_args, fold_rtx, cse_insn): Update callers. | |
1409 | (hash_rtx): New function derived from old canon_hash and bits | |
1410 | from gcse.c hash_expr_1. | |
1411 | (canon_hash_string): Rename to hash_rtx_string. | |
1412 | (canon_hash, safe_hash): Make static inline. Call hash_rtx. | |
1413 | * cselib.c (hash_rtx): Rename to cselib_hash_rtx. | |
1414 | (cselib_lookup): Update this caller. | |
1415 | * gcse.c (modify_mem_list_set, canon_modify_mem_list_set): | |
1416 | Make static. | |
1417 | (hash_expr): Call hash_rtx. | |
1418 | (ldst_entry): Likewise. | |
1419 | (expr_equiv_p): Call exp_equiv_p. | |
1420 | (struct unoccr, hash_expr_1, hash_string_1, lookup_expr, | |
1421 | reg_used_on_edge, reg_set_between_after_reload_p, | |
1422 | reg_used_between_after_reload_p, get_avail_load_store_reg, | |
1423 | is_jump_table_basic_block, bb_has_well_behaved_predecessors, | |
1424 | get_bb_avail_insn, hash_scan_set_after_reload, | |
1425 | compute_hash_table_after_reload, | |
1426 | eliminate_partially_redundant_loads, gcse_after_reload, | |
1427 | get_bb_avail_insn, gcse_after_reload_main): Remove. | |
1428 | * postreload-gcse.c: New file, reincarnating most of the above. | |
1429 | * rtl.h (exp_equiv_p, hash_rtx): New prototypes. | |
1430 | (gcse_after_reload_main): Update prototype. | |
1431 | * timevar.def (TV_GCSE_AFTER_RELOAD): New timevar. | |
1432 | * passes.c (rest_of_handle_gcse2): Use it. | |
1433 | ||
95013377 DN |
1434 | 2004-08-18 Diego Novillo <dnovillo@redhat.com> |
1435 | ||
1436 | * tree-ssa-loop.c (pass_loop_init): Add TODO_dump_func. | |
1437 | (pass_loop_done): Likewise. | |
1438 | ||
ac9e2cff AP |
1439 | 2004-08-18 Andrew Pinski <apinski@apple.com> |
1440 | ||
826c9564 | 1441 | * config/rs6000/darwin.md: Delete the altivec patterns which are |
ac9e2cff AP |
1442 | handled differently now. |
1443 | (load_macho_picbase_di): Make sure that is only happens for TARGET_64BIT | |
1444 | (macho_correct_pic_di): Likewise. | |
1445 | (call_indirect_nonlocal_darwin64): Likewise. | |
1446 | Delete the save world/saveFP/saveVec patterns. | |
826c9564 | 1447 | |
ac9e2cff | 1448 | Revert the reversion of: 2004-08-16 Stan Shebs <shebs@apple.com> |
826c9564 ZW |
1449 | * config/darwin.c (macho_indirect_data_reference): Add DImode case. |
1450 | * config/rs6000/rs6000.md: Include darwin.md. | |
1451 | (builtin_setjmp_receiver): Add DImode case. | |
1452 | * config/rs6000/rs6000.c (rs6000_emit_move): Add DImode case to | |
1453 | Darwin bits. | |
ac9e2cff | 1454 | |
92b9a671 MA |
1455 | 2004-08-18 Matt Austern <austern@apple.com> |
1456 | ||
1457 | Dead code stripping | |
1458 | * darwin.h (EH_FRAME_SECTION_ATTR): Mark so it doesn't get stripped. | |
1459 | * darwin.c (darwin_file_end): Mark file as potentially strippable. | |
826c9564 | 1460 | |
4766261d RH |
1461 | 2004-08-18 Richard Henderson <rth@redhat.com> |
1462 | ||
1463 | * alias.c (readonly_fields_p): Remove. | |
1464 | (objects_must_conflict_p): Don't call it. | |
1465 | * tree.h (readonly_fields_p): Remove. | |
1466 | * langhooks.h (struct lang_hooks): Remove honor_readonly. | |
1467 | * langhooks-def.h (LANG_HOOKS_HONOR_READONLY): Remove. | |
1468 | ||
50dc9a88 DN |
1469 | 2004-08-18 Diego Novillo <dnovillo@redhat.com> |
1470 | ||
1471 | * tree-dfa.c (add_referenced_var): Only global variables are | |
1472 | call-clobbered. | |
1473 | * tree-flow.h (struct ptr_info_def): Add field pt_global_mem. | |
1474 | * tree-ssa-alias.c (compute_points_to_and_addr_escape): Mark | |
1475 | all pointers dereferenced if the statement dereferences them. | |
1476 | (create_name_tags): Do not create memory tags for pointers | |
1477 | that have PT_ANYTHING set. | |
1478 | Also check if PT_VARS is not empty before creating a name tag. | |
1479 | (compute_flow_sensitive_aliasing): Don't mark call-clobbered | |
1480 | variables that share the same alias set with a pointer that | |
1481 | may point anywhere. | |
1482 | (add_may_alias): Add FIXME comment to remove clobbering | |
1483 | aliased variables and tags. | |
1484 | (replace_may_alias): Likewise. | |
1485 | (set_pt_anything): Do not clear PT_VARS nor IS_DEREFERENCED. | |
1486 | (merge_pointed_to_info): If the original variable has not | |
1487 | points-to information, call set_pt_anything. | |
1488 | (add_pointed_to_var): Do not prevent adding a pointed-to | |
1489 | variable if the pointers is PT_ANYTHING. | |
1490 | If the variable is a global, set PT_GLOBAL_MEM. | |
1491 | (collect_points_to_info_r): Don't assume that PLUS_EXPRs of | |
1492 | pointer type only come in PTR+OFFSET flavours. | |
1493 | Always call merge_pointed_to_info on PHI arguments that are | |
1494 | SSA_NAMEs. | |
1495 | (get_nmt_for): Mark call-clobbered tags whose pointer points | |
1496 | to global memory. | |
1497 | * tree-ssa-operands.c (opf_kill_def, opf_no_vops): Switch | |
1498 | values. | |
1499 | (get_indirect_ref_operands): Always clear OPF_KILL_DEF from | |
1500 | FLAGS. | |
1501 | (add_stmt_operand): Abort if the caller tried to add a killing | |
1502 | definition for a memory tag. | |
1503 | * tree-ssa.c (verify_flow_sensitive_alias_info): Remove | |
1504 | unnecessary checks. | |
1505 | ||
62164eb4 R |
1506 | 2004-08-18 J"orn Rennecke <joern.rennecke@superh.com> |
1507 | ||
1508 | * sh.h (CONDITIONAL_REGISTER_USAGE): Don't exclude fixed registers | |
1509 | from call_used_regs. Update call_really_used_regs. | |
1510 | (CALL_REALLY_USED_REGISTERS): Define. | |
1511 | * sh.c (output_stack_adjust, shmedia_target_regs_stack_space): | |
1512 | Replace call_used_regs with call_really_used_regs. | |
1513 | (calc_live_regs, sh_media_register_for_return): Likewise. | |
1514 | (sh5_schedule_saves, sh_expand_prologue, reg_unused_after): Likewise. | |
1515 | * sh.md (return_media): Likewise. | |
1516 | ||
f9b0ac3b AP |
1517 | 2004-08-18 Andrew Pinski <apinski@apple.com> |
1518 | ||
826c9564 | 1519 | * config/darwin.c (machopic_legitimize_pic_address): Only set |
ac9e2cff | 1520 | MEM_READONLY_P in the non TARGET_TOC case. |
f9b0ac3b | 1521 | |
f822d252 ZW |
1522 | 2004-08-18 Zack Weinberg <zack@codesourcery.com> |
1523 | ||
1524 | * rtl.def (NIL): Delete. | |
1525 | * read-rtl.c (read_rtx): Handle (nil) like (define_constants). | |
1526 | Tighten the syntax a little. | |
1527 | ||
1528 | * cfgloop.h, combine.c, cse.c, loop-iv.c, postreload.c, reload.c | |
1529 | * config/alpha/alpha.c, config/alpha/alpha.h, config/arc/arc.h | |
1530 | * config/arm/arm.h, config/frv/frv.h, config/i386/i386.c | |
1531 | * config/i386/predicates.md, config/m32r/m32r.h | |
1532 | * config/m68hc11/m68hc11.c, config/mcore/mcore.h, config/mips/mips.c | |
1533 | * config/mmix/mmix.c, config/pa/pa.h, config/sh/sh.h | |
1534 | * config/sparc/sparc.h, doc/tm.texi: | |
1535 | Replace all occurrences of NIL with UNKNOWN. | |
1536 | ||
6aaf3dde ZW |
1537 | 2004-08-18 Zack Weinberg <zack@codesourcery.com> |
1538 | ||
1539 | * dojump.c (do_jump <unordered_bcc>): Do not recursively call | |
1540 | self with a TRUTH_ORIF_EXPR; generate the appropriate jump | |
1541 | sequence inline. Move drop_through_label code into this | |
1542 | block, being the only place it is used. Adjust comments. | |
1543 | ||
d62294f5 FJ |
1544 | 2004-08-18 Fariborz Jahanian <fjahanian@apple.com> |
1545 | ||
6aaf3dde ZW |
1546 | * config/rs6000/altivec.md: Add new patterns for calls to |
1547 | save_world/rest_world functions. | |
1548 | ||
1549 | * config/rs6000/rs6000-protos.h: (save_world_operation, | |
1550 | restore_world_operation) new declarations. | |
1551 | ||
1552 | * config/rs6000/rs6000.c: (struct rs6000_stack) new world_save_p | |
1553 | field added. | |
1554 | (rs6000_stack_info): Set world_save_p field. | |
1555 | (save_world_operation): New function. | |
1556 | (restore_world_operation): New function. | |
1557 | (compute_save_world_info): New function. | |
1558 | (rs6000_stack_info): Call compute_save_world_info. | |
1559 | (rs6000_emit_prologue): Check for world_save_p and generate | |
1560 | pattern to call save_world for saving all non-volatile and | |
1561 | special registers. | |
1562 | (rs6000_emit_epilogue): Check for world_save_p and generate | |
1563 | pattern to call rest_world to restore saved registers. | |
1564 | ||
1565 | config/rs6000/rs6000.h: macros FIRST_SAVED_ALTIVEC_REGNO, | |
1566 | FIRST_SAVED_FP_REGNO, FIRST_SAVED_GP_REGNO defined. | |
1567 | (rs6000_reg_names): New entries added for save_world_operation and | |
1568 | restore_world_operation. | |
d62294f5 | 1569 | |
790ac0e1 CT |
1570 | 2004-08-18 Caroline Tice <ctice@apple.com> |
1571 | ||
6aaf3dde | 1572 | * Makefile.in (STAGEFEEDBACK_FLAGS_TO_PASS) Add |
790ac0e1 CT |
1573 | "-freorder-blocks-and-partition" to the flags used in second |
1574 | stage of profiledbootstrap. | |
1575 | * bb-reorder.c (push_to_next_round_p): Add new variable, | |
1576 | next_round_is_last; set and use variable to make sure, when | |
1577 | partitioning, that the last trace construction round consists | |
1578 | of all (and only) cold basic blocks. | |
1579 | (rotate_loop): Don't copy blocks that end in a section | |
1580 | crossing jump. | |
1581 | (copy_bb): Correctly initialize "partition" of duplicated bb. | |
1582 | (add_unlikely_executed_notes): Add a comment. | |
1583 | (find_rarely_executed_basic_blocks_and_crossing_edges): Modify | |
1584 | to make sure, if function contains hot blocks, that the | |
1585 | successors of ENTRY_BLOCK_PTR are hot; also, only look for | |
1586 | crossing edges if the architecture supports named sections. | |
1587 | (mark_bb_for_unlikely_executed_section): Modify to always | |
1588 | insert the NOTE_INSN_UNLIKELY_EXECUTED_CODE immediately after | |
1589 | the basic block note insn. | |
1590 | (fix_crossing_unconditional_branches): Remove extra space. | |
1591 | (fix_edges_for_rarely_executed_code): Modify to only do | |
1592 | partitioning work if the architecture supports named sections. | |
1593 | (reorder_basic_blocks): Modify to only add | |
1594 | NOTE_INSN_UNLIKELY_EXECUTED_CODE notes if the architecture | |
1595 | supports named sections. | |
1596 | * c-common.c (handle_section_attribute): Initialize new global | |
1597 | variable, user_defined_section_attribute, to true if user has | |
1598 | specified one. | |
1599 | * cfgcleanup.c (try_forward_edges): Modify to not attempt to | |
1600 | forward edges that cross section boundaries. | |
1601 | * cfglayout.c (fixup_reorder_chain): Modify to only fix up | |
1602 | partitioning information if the architecture supports named | |
1603 | sections. | |
1604 | * cfgrtl.c (target.h): Add statement to include this. | |
1605 | (rtl_split_block): Make sure newly created bb gets correct | |
1606 | partition. | |
1607 | (try_redirect_by_replacing_jump): Make sure redirection isn't | |
1608 | attempting to cross section boundaries. | |
1609 | (force_nonfallthru_and_redirect): Only do partition fix up if | |
1610 | architecture supports named sections. | |
1611 | (rtl_split_edge): Make sure newly created bb ends up in | |
1612 | correct partition. | |
1613 | (commit_one_edge_insertion): Remove code that incorrectly | |
1614 | updated basic block partition; Make sure partition fix up only | |
1615 | happens if architecture supports named sections and it's not | |
1616 | already done. | |
1617 | (rtl_verify_flow_info_1): Fix if-condition on test/error | |
1618 | condition that fallthru edges are not allowed to cross section | |
1619 | boundaries. | |
1620 | * defaults.h (NORMAL_TEXT_SECTION_NAME): Remove this. | |
1621 | * final.c (final_scan_insn): Remove redundant test from if-statement; | |
1622 | change calls to text_section into calls to function_section; add code | |
1623 | to only to partitioning fix up if architecture supports named | |
1624 | sections. | |
1625 | * ifcvt.c (find_if_case_1): Make sure newly created bb has correct | |
1626 | partition. | |
1627 | (if_convert): Add targetm.have_named_sections to test. | |
1628 | * output.h (unlikely_section_label): Extern declaration for new global | |
1629 | variable. | |
1630 | (unlikely_text_section_name): Likewise. | |
1631 | * opts.c (decode_options): If both partitioning and DWARF debugging | |
1632 | are turned on, issue a warning that this doesn't work, and change | |
1633 | partitiong to basic block reordering (without hot/cold partitions). | |
6aaf3dde | 1634 | * passes.c (rest_of_handle_final): Re-set new global variable, |
790ac0e1 CT |
1635 | user_defined_section_attribute, to false. |
1636 | (rest_of_compilation): Change options for calling partitioning | |
1637 | function: Don't call if the user defined the section attribute, and | |
1638 | don't call if DECL_ONE_ONLY is true for the current function. | |
1639 | * predict.c (choose_function_section): Return immediately if we | |
1640 | are doing hot/cold partitioning (i.e. let the basic block partitioning | |
1641 | determine where the function belongs). | |
1642 | * reg-stack.c (emit_swap_insn): Add condition to step over | |
1643 | NOTE_INSN_UNLIKELY_EXECUTED_CODE notes. | |
1644 | * toplev.c (user_defined_section_attribute): New global variable. | |
89b0433e NS |
1645 | * toplev.h (user_defined_section_attribute): Extern declaration |
1646 | for new global variable. | |
790ac0e1 CT |
1647 | * varasm.c (unlikely_section_label): New global variable. |
1648 | (unlikely_text_section_name): New global variable. | |
89b0433e NS |
1649 | (unlikely_text_section): Add code to initialize |
1650 | unlikely_text_section_name if necessary; modify to use | |
1651 | unlikely_text_section_name and unlikely_section_label; also to use | |
1652 | named_section properly. | |
1653 | (in_unlikely_text_section): Modify to work correctly with | |
1654 | named_section and to use unlikely_text_section_name. | |
790ac0e1 CT |
1655 | (named_section): Add code to work properly with cold section. |
1656 | (function_section): Clean up if-statement. | |
89b0433e NS |
1657 | * config/darwin.c (darwin_asm_named_section): Return to original |
1658 | code, removing use of SECTION_FORMAT_STRING. | |
6aaf3dde | 1659 | * config/arm/pe.h (switch_to_section): Add case for |
790ac0e1 CT |
1660 | in_unlikely_executed_text to switch statement. |
1661 | * config/i386/cygming.h (switch_to_section): Likewise. | |
1662 | * config/i386/darwin.h (NORMAL_TEXT_SECTION_NAME): Remove. | |
1663 | (SECTION_FORMAT_STRING): Likewise. | |
1664 | * config/mcore/mcore.h (switch_to_section): Likewise. | |
1665 | * config/rs6000/darwin.h (NORMAL_TEXT_SECTION_NAME): Remove. | |
1666 | (SECTION_FORMAT_STRING): Remove. | |
1667 | ||
3a4416fb RS |
1668 | 2004-08-18 Roger Sayle <roger@eyesopen.com> |
1669 | ||
1670 | * config/i386/i386.h (FIXED_REGISTERS): Update encoding to be | |
1671 | -ffixed-reg safe, by preserving the meanings of zero and one. | |
1672 | (CALL_USED_REGISTERS): Likewise. | |
1673 | (CONDITIONAL_REGISTER_USAGE): Update to process new encodings. | |
1674 | ||
03904fb3 KK |
1675 | 2004-08-18 Kaz Kojima <kkojima@gcc.gnu.org> |
1676 | ||
1677 | * config/sh/sh.c (split_branches): Check the result of | |
1678 | next_active_insn. | |
1679 | (sh_output_mi_thunk): Call init_flow if basic_block_info is null. | |
1680 | Call rtl_register_cfg_hooks. | |
1681 | ||
389fdba0 RH |
1682 | 2004-08-18 Richard Henderson <rth@redhat.com> |
1683 | ||
1684 | * rtl.h (MEM_READONLY_P): Replace RTX_UNCHANGING_P. | |
1685 | * alias.c (true_dependence): Update to match new semantics. | |
1686 | (canon_true_dependence, write_dependence_p): Likewise. | |
1687 | (anti_dependence, output_dependence): Update write_dependence_p args. | |
1688 | (unchanging_anti_dependence): Remove. | |
1689 | * calls.c (purge_mem_unchanging_flag): Remove. | |
1690 | (fixup_tail_calls): Don't call it. | |
1691 | (expand_call): Don't add unchanging memory to function usage. | |
1692 | * expr.c (emit_block_move_via_libcall): Likewise. | |
1693 | (clear_storage_via_libcall): Don't clobber RTX_UNCHANGING_P mems. | |
1694 | (get_subtarget): Don't use RTX_UNCHANGING_P. | |
1695 | (expand_assignment, store_constructor, expand_expr_real_1): Likewise. | |
1696 | (do_tablejump): Set MEM_READONLY_P, not RTX_UNCHANGING_P. | |
1697 | * combine.c (get_last_value_validate): Use MEM_READONLY_P. | |
1698 | * cse.c (insert): Don't use RTX_UNCHANGING_P. | |
1699 | (cse_insn, canon_hash): Use MEM_READONLY_P. | |
1700 | * emit-rtl.c (set_mem_attributes_minus_bitpos): Use MEM_READONLY_P | |
1701 | instead of RTX_UNCHANGING_P. | |
1702 | * explow.c (maybe_set_unchanging): Remove. | |
1703 | * expr.h (maybe_set_unchanging): Remove. | |
1704 | * flow.c (insn_dead_p, mark_used_regs): Use anti_dependence. | |
1705 | * function.c (assign_stack_temp_for_type): Don't use RTX_UNCHANGING_P. | |
1706 | (assign_parm_setup_reg, expand_function_start): Likewise. | |
1707 | * integrate.c (copy_rtx_and_substitute): Likewise. | |
1708 | * ra-rewrite.c (emit_colors): Likewise. | |
1709 | * regmove.c (copy_src_to_dest, regmove_optimize): Likewise. | |
1710 | (fixup_match_1): Likewise. | |
1711 | * reload1.c (reload, alter_reg): Likewise. | |
1712 | * local-alloc.c (validate_equiv_mem): Check MEM_READONLY_P, | |
1713 | not RTX_UNCHANGING_P. | |
1714 | (equiv_init_varies_p): Likewise. | |
1715 | * loop-invariant.c (check_maybe_invariant): Likewise. | |
1716 | * resource.c (mark_referenced_resources, mark_set_resources): Likewise. | |
1717 | * loop.c (note_addr_stored): Likewise. | |
1718 | (prescan_loop): Likewise. Don't check function usage for clobbered | |
1719 | unchanging memory. | |
1720 | * rtlanal.c (rtx_unstable_p): Check MEM_READONLY_P, | |
6aaf3dde | 1721 | not RTX_UNCHANGING_P. |
389fdba0 RH |
1722 | (rtx_varies_p, modified_between_p, modified_in_p): Likewise. |
1723 | * varasm.c (force_const_mem): Likewise. | |
1724 | * stmt.c (expand_decl): Don't set RTX_UNCHANGING_P. | |
1725 | * web.c (entry_register): Likewise. | |
1726 | * tree-gimple.h (get_base_address): Move decl ... | |
1727 | * tree.h: ... here. | |
1728 | * doc/rtl.texi (MEM_READONLY_P): Replace RTX_UNCHANGING_P. | |
1729 | ||
1730 | * config/alpha/alpha.c (alpha_set_memflags_1): Rewrite to be | |
1731 | called via for_each_rtx. Copy MEM_SCALAR_P, MEM_NOTRAP_P too. | |
1732 | (alpha_set_memflags): Update to match. | |
1733 | ||
1734 | * config/darwin.c (machopic_indirect_data_reference): Set | |
1735 | MEM_READONLY_P instead of RTX_UNCHANGING_P. | |
1736 | (machopic_indirect_call_target): Likewise. | |
1737 | (machopic_legitimize_pic_address): Likewise. | |
6aaf3dde | 1738 | * config/arm/arm.c (legitimize_pic_address, arm_gen_load_multiple, |
389fdba0 RH |
1739 | arm_gen_store_multiple, arm_gen_movmemqi): Likewise. |
1740 | * config/arm/arm.md (load_multiple, store_multiple): Likewise. | |
1741 | * config/frv/frv.md (symGOT2reg): Likewise. | |
1742 | * config/i386/i386.c (legitimize_pic_address, | |
1743 | legitimize_tls_address, ix86_split_to_parts): Likewise. | |
1744 | * config/ia64/ia64.c (ia64_expand_tls_address): Likewise. | |
1745 | * config/ia64/ia64.md (load_fptr): Likewise. | |
1746 | * config/m32r/m32r.c (m32r_legitimize_pic_address): Likewise. | |
1747 | * config/m68k/m68k.c (legitimize_pic_address): Likewise. | |
1748 | * config/mcore/mcore.c (block_move_sequence): Likewise. | |
1749 | * config/mn10300/mn10300.md (symGOT2reg): Likewise. | |
1750 | * config/pa/pa.c (legitimize_pic_address): Likewise. | |
1751 | * config/rs6000/rs6000.c (rs6000_legitimize_tls_address): Likewise. | |
1752 | (rs6000_emit_move): Likewise. | |
1753 | * config/s390/s390.c (legitimize_pic_address): Likewise. | |
1754 | (legitimize_tls_address): Likewise. | |
1755 | * config/s390/s390.md (casesi): Likewise. | |
1756 | * config/sh/sh.c (prepare_move_operands, sh_reorg): Likewise. | |
1757 | * config/sh/sh.md (symGOT2reg): Likewise. | |
1758 | * config/sparc/sparc.c (legitimize_pic_address): Likewise. | |
1759 | * config/v850/v850.md (casesi): Likewise. | |
1760 | ||
1761 | * config/ia64/ia64.c (gen_thread_pointer): Don't set RTX_UNCHANGING_P. | |
1762 | * config/iq2000/iq2000.c (save_restore_insns): Likewise. | |
1763 | * config/mips/mips.c (mips_restore_gp): Likewise. | |
1764 | (mips_save_restore_reg, mips16_gp_pseudo_reg): Likewise. | |
1765 | * config/sh/sh.c (sh_reorg): Likewise. | |
1766 | ||
17ad5b5e RH |
1767 | 2004-08-18 Richard Henderson <rth@redhat.com> |
1768 | ||
1769 | * tree.h (struct tree_decl): Add gimple_formal_temp. | |
1770 | (DECL_GIMPLE_FORMAL_TEMP_P): New. | |
1771 | * gimplify.c (pop_gimplify_context): Clear it. | |
1772 | (lookup_tmp_var): Set it, if is_formal. | |
1773 | (gimplify_init_constructor): Use rhs_predicate_for for COMPLEX. | |
1774 | Use is_gimple_val for VECTOR. Simplify return value. | |
1775 | (gimplify_save_expr): Use and set DECL_GIMPLE_FORMAL_TEMP_P. | |
1776 | (gimplify_expr): Likewise. | |
1777 | * tree-gimple.c (is_gimple_formal_tmp_rhs): Rename from | |
1778 | is_gimple_tmp_rhs for clarity. Update all callers. | |
1779 | (is_gimple_reg_rhs): Simplify logic. | |
1780 | (is_gimple_formal_tmp_var): Rename from is_gimple_tmp_var for | |
1781 | clarity; use DECL_GIMPLE_FORMAL_TEMP_P. | |
1782 | (is_gimple_formal_tmp_reg): Similarly. | |
1783 | * tree-gimple.h: Update decls. | |
1784 | * tree-ssa-copyrename.c (copy_rename_partition_coalesce): Use | |
1785 | DECL_IGNORED_P, not DECL_ARTIFICIAL. Tidy formatting. | |
1786 | * tree-ssa-live.c (var_union, type_var_init): Likewise. | |
1787 | ||
5b0eba61 PB |
1788 | 2004-08-18 Paolo Bonzini <bonzini@gnu.org> |
1789 | ||
1790 | * c4x.c (legitimize_operands): Remove calls to | |
1791 | preserve_subexpressions_p. | |
1792 | ||
07e15286 DE |
1793 | 2004-08-18 David Edelsohn <edelsohn@gnu.org> |
1794 | ||
1795 | * varasm.c (MAX_OFILE_ALIGNMENT): Move ... | |
1796 | * defaults.h (MAX_OFILE_ALIGNMENT): ... here. | |
1797 | ||
ad8c162b ZL |
1798 | 2004-08-18 Ziemowit Laski <zlaski@apple.com> |
1799 | ||
1800 | * gcc.c (default_compilers): Add info about ".mm", ".M" and ".mii" | |
1801 | Objective-C++ extensions. | |
1802 | * gengtype.c (get_file_basename): Match entire subdirectory name | |
1803 | ('cp', 'objc', 'objcp') rather than just its suffix. | |
1804 | (get_base_file_bitmap): Allow for files to belong to more than one | |
1805 | language. | |
1806 | (get_output_file_with_visibility): Treat objc/objc-act.h as a header | |
1807 | used by more than one front-end. | |
1808 | ||
d56993f2 RE |
1809 | 2004-08-18 Richard Earnshaw <rearnsha@arm.com> |
1810 | ||
1811 | * arm.md (addsi3, subsi3, andsi3, iorsi3, movsi, movhi): Rework to | |
1812 | avoid use of preserve_subexpressions_p. | |
1813 | ||
504c0e4f RH |
1814 | 2004-08-17 Richard Henderson <rth@redhat.com> |
1815 | ||
1816 | PR 17051 | |
1817 | * tree-sra.c (scalarize_use): Mark all v_defs for !is_output too. | |
1818 | ||
54e9a19d DD |
1819 | 2004-08-17 DJ Delorie <dj@redhat.com> |
1820 | ||
1821 | * doc/extend.texi: Document new xstormy16 attribute. | |
1822 | ||
1823 | * config/stormy16/stormy16.c (xstormy16_splittable_below100_operand): New. | |
1824 | (xstormy16_splittable_below100_or_register): New. | |
1825 | (combine_bnp): New. | |
1826 | (xstormy16_reorg): New. | |
1827 | (TARGET_MACHINE_DEPENDENT_REORG): Define. | |
1828 | ||
54e9a19d DD |
1829 | * config/stormy16/stormy16.md (movqi_internal): Make name public. |
1830 | (movhi_internal): Likewise. | |
1831 | (cbhranchhi): Likewise. | |
1832 | (cbhranchhi_neg): Likewise. | |
1833 | (andhi3): Only allow splittable below100 operands. | |
1834 | (iorhi3): Likewise. | |
1835 | (peephole2): New and/zero_extend->and peephole. | |
1836 | (peephole2): New load/ior/save->set1 peephole. | |
1837 | (peephole2): New load/and/save->clr1 peephole. | |
1838 | (bclrx, bclrx2, bclr7, bclr15): New. | |
1839 | (bsetx, bsetx2, bset7, bset15): New. | |
1840 | ||
1841 | * config/stormy16/stormy16.c (xstormy16_print_operand): Be more | |
1842 | liberal about acceptable 'B' masks. | |
1843 | ||
1844 | * config/stormy16/stormy16-protos.h | |
1845 | (xstormy16_asm_output_aligned_common, xstormy16_below100_symbol, | |
1846 | xstormy16_below100_operand, xstormy16_below100_or_register, | |
1847 | xstormy16_onebit_set_operand, xstormy16_onebit_clr_operand): New. | |
1848 | (PREDICATE_CODES): Add new predicates. | |
6aaf3dde | 1849 | |
54e9a19d DD |
1850 | * config/stormy16/stormy16.c |
1851 | (xstormy16_asm_output_aligned_common, xstormy16_below100_symbol, | |
1852 | xstormy16_below100_operand, xstormy16_below100_or_register, | |
1853 | xstormy16_onebit_set_operand, xstormy16_onebit_clr_operand): New. | |
1854 | (xstormy16_expand_iorqi3, xstormy16_expand_andqi3): New. | |
1855 | (xstormy16_legitimate_address_p): Allow below100 symbols. | |
1856 | (xstormy16_extra_constraint_p): Add 'W' for below100 operands. | |
1857 | (xstormy16_expand_move): Leave below100 operands as-is. | |
1858 | (xstormy16_encode_section_info): Encode below100 symbols. | |
1859 | (xstormy16_strip_name_encoding): New. | |
1860 | (xstormy16_print_operand): Print 'b' as shift mask. | |
1861 | (xstormy16_attribute_table): Add below100 attributes. | |
1862 | (xstormy16_handle_below100_attribute): New. | |
1863 | ||
1864 | * config/stormy16/stormy16.h (EXTRA_SECTIONS): add in_bss100. | |
1865 | (XSTORMY16_SECTION_FUNCTION): New. | |
1866 | (EXTRA_SECTION_FUNCTIONS): Define using the above. | |
1867 | (ASM_OUTPUT_ALIGNED_DECL_COMMON, ASM_OUTPUT_ALIGNED_DECL_LOCAL): New. | |
1868 | (ASM_OUTPUT_SYMBOL_REF): Handle encoded symbols. | |
1869 | (ASM_OUTPUT_LABELREF): Define. | |
1870 | ||
1871 | * config/stormy16/stormy16.md (movqi_internal): Add below100 support. | |
1872 | (movhi_internal): Add below100 support. | |
1873 | (andhi3): Add below100 support. | |
1874 | (iorhi3): Add below100 support. | |
1875 | (iorqi3, iorqi3_internal, andqi3, andqi3_internal): New. | |
1876 | ||
4ef47bd8 JW |
1877 | 2004-08-17 James E Wilson <wilson@specifixinc.com> |
1878 | ||
1879 | * config/mips/mips.c (gen_conditional_move): Use GET_MODE (op0) instead | |
1880 | of VOIDmode for comparison code mode. | |
1881 | * config/mips/mips.md: For conditional move patterns, use mode of | |
1882 | first compare operand for comparison mode, instead of VOIDmode. | |
e17c734b JW |
1883 | |
1884 | * config/mips/mips.md: Add canonical nmadd and nmsub patterns for both | |
1885 | normal and -ffast-math code. | |
1886 | ||
1a10290c MM |
1887 | 2004-08-17 Mark Mitchell <mark@codesourcery.com> |
1888 | ||
1889 | PR c++/15871 | |
1890 | * doc/invoke.texi (-fkeep-inline-functions): Update documentation. | |
1891 | ||
f4e736dd | 1892 | 2004-08-17 Robert Bowdidge <bowdidge@apple.com> |
6aaf3dde ZW |
1893 | |
1894 | * config/rs6000/x-darwin: Add -mdynamic-no-pic to gcc build flags. | |
f4e736dd | 1895 | |
13a98f14 AT |
1896 | 2004-08-17 Andreas Tobler <a.tobler@schweiz.ch> |
1897 | ||
1898 | * config/rs6000/darwin.md (*call_nonlocal_darwin64): Add #else clause | |
1899 | for non Darwin targets. | |
1900 | (*call_value_nonlocal_darwin64): Likewise. | |
1901 | ||
d0b2079e FJ |
1902 | 2004-08-17 Fariborz Jahanian <fjahanian@apple.com> |
1903 | ||
1904 | * config/rs6000/rs6000.c (rs6000_function_value): Check for | |
1905 | altivec mode for altivec return register. | |
1906 | ||
feb3dc8b DE |
1907 | 2004-08-17 David Edelsohn <edelsohn@gnu.org> |
1908 | ||
1909 | Revert 2004-08-16 Stan Shebs <shebs@apple.com> | |
ef0e2729 | 1910 | * config/darwin.c (macho_indirect_data_reference): Add DImode case. |
feb3dc8b DE |
1911 | * config/rs6000/rs6000.md: Include darwin.md. |
1912 | (builtin_setjmp_receiver): Add DImode case. | |
1913 | * config/rs6000/rs6000.c (rs6000_emit_move): Add DImode case to | |
1914 | Darwin bits. | |
1915 | ||
79fe1b3b DN |
1916 | 2004-08-17 Dorit Naishlos <dorit@il.ibm.com> |
1917 | ||
89b0433e NS |
1918 | * tree-vectorizer.c: New File: loop vectorization on SSAed GIMPLE |
1919 | trees. | |
79fe1b3b DN |
1920 | * tree-vectorizer.h: New File: Same. |
1921 | * Makefile.in (tree-vectorizer.c, tree-vectorizer.h): Add new files. | |
1922 | * common.opt (ftree-vectorize): New flag to enable vectorization. | |
89b0433e NS |
1923 | * timevar.def (TV_TREE_VECTORIZATION): New dump file for |
1924 | vectorization pass. | |
79fe1b3b DN |
1925 | * tree-data-ref.h (init_data_ref): Additional argument. |
1926 | (array_base_name_differ_p): Moved to tree-data-ref.c. | |
1927 | * tree-data-ref.c (array_base_name_differ_p): Revised. | |
1928 | (initialize_data_dependence_relation): Call array_base_name_differ_p | |
1929 | with an extra argument. | |
1930 | (analyze_all_data_dependences): Same. | |
1931 | (init_data_ref): Additional argument is_read to set DR_IS_READ. | |
89b0433e NS |
1932 | * tree-ssa-phiopt.c (empty_block_p): Expose for usage out of this |
1933 | file. | |
79fe1b3b DN |
1934 | * tree-flow.h (vectorize_loops, empty_block_p): Add declaration. |
1935 | * tree-optimize.c (pass_vectorize): Schedule the vectorization pass. | |
6aaf3dde | 1936 | * tree-pass.h (tree_opt_pass pass_vectorize): Declare the new |
79fe1b3b DN |
1937 | vectorization pass. |
1938 | * tree-ssa-loop.c (tree_ssa_loop_init): Call scev_initialize. | |
1939 | (tree_ssa_loop_done): Call scev_finalize. | |
1940 | (tree_vectorize): Define the new vectorization pass. | |
89b0433e NS |
1941 | * defaults.h (UNITS_PER_SIMD_WORD): Allow targets to specify the |
1942 | size of the vector they support (until support for multiple vector | |
1943 | sizes is added to the vectorizer). | |
79fe1b3b DN |
1944 | * config/i386/i386.h (UNITS_PER_SIMD_WORD): Define. |
1945 | * config/rs6000/rs6000.h (UNITS_PER_SIMD_WORD): Define. | |
1946 | * invoke.texi (fdump-tree-vect, ftree-vectorize): Add | |
1947 | documentation. | |
1948 | ||
e15987c1 NS |
1949 | 2004-08-17 Nathan Sidwell <nathan@codesourcery.com> |
1950 | ||
1951 | * objc/objc-act.c (build_protocol_initializer): Fix build_int_cst | |
1952 | usage. | |
1953 | (generate_protocol_list, handle_impent): Likewise. | |
1954 | ||
e3cadb61 RS |
1955 | 2004-08-17 Roger Sayle <roger@eyesopen.com> |
1956 | ||
1957 | * regclass.c (init_reg_sets_1): Add ENABLE_CHECKING sanity tests to | |
1958 | ensure that call_used_regs is a superset of both fixed_regs and | |
1959 | call_really_used_regs. | |
1960 | ||
108a579c DB |
1961 | 2004-08-17 Daniel Bornstein <danfuzz@milk.com> |
1962 | ||
1963 | PR target/17019 | |
1964 | * arm.md (addsi3_cbranch_scratch): Correct case labels. | |
1965 | ||
62fc1d7d PB |
1966 | 2004-08-17 Paolo Bonzini <bonzini@gnu.org> |
1967 | ||
1968 | PR middle-end/17036 | |
1969 | * fold-const.c (fold): Check for integer operand when | |
1970 | folding (A >> N) & 1 ? (1 << N) : 0. Fix from Andrew | |
1971 | Pinski <pinskia@physics.uc.edu>. | |
1972 | ||
7c27e184 PB |
1973 | 2004-08-17 Paolo Bonzini <bonzini@gnu.org> |
1974 | ||
1975 | * configure.ac: Trust toplevel's notion of BISON/FLEX/MAKEINFO. | |
1976 | No need to check if in a cross configuration. | |
1977 | * configure: Regenerate. | |
1978 | ||
1979 | * calls.c (precompute_register_parameters): | |
1980 | Inline preserve_subexpressions_p (). | |
1981 | * expmed.c (expand_mult_const, emit_store_flag): Likewise. | |
1982 | * optabs.c (expand_binop, expand_twoval_binop, prepare_cmp_insn): | |
1983 | Likewise. | |
1984 | * expr.c (get_subtarget): Likewise. | |
1985 | * rtl.h (preserve_subexpressions_p): Remove. | |
1986 | * stmt.c (preserve_subexpressions_p): Remove. | |
1987 | ||
1988 | * dojump.c (do_jump) <COND_EXPR, EQ_EXPR, NE_EXPR, | |
1989 | TRUTH_ANDIF_EXPR, TRUTH_ORIF_EXPR, COMPOUND_EXPR>: | |
1990 | Abort on gimplified cases. | |
1991 | ||
d97c6333 JW |
1992 | 2004-08-16 James E Wilson <wilson@specifixinc.com> |
1993 | ||
1994 | * tree.h (VECTOR_FLOAT_TYPE_P): New. | |
1995 | (FLOAT_TYPE_P): Use it. | |
1996 | * c-typeck.c (build_binary_op): After convert calls, check for | |
1997 | check for ERROR_MARK operands. | |
1998 | ||
45c8116d ZW |
1999 | 2004-08-16 Zack Weinberg <zack@codesourcery.com> |
2000 | ||
2001 | * Makefile.in (BUILD_PREFIX, BUILD_PREFIX_1): Delete. | |
2002 | (BUILD_RTL, BUILD_PRINT, BUILD_ERRORS, BUILD_VARRAY): Update. | |
2003 | (genobjs): Add build-rtl.o, build-print-rtl.o, build-varray.o. | |
2004 | (genobjs static pattern rule): Remove %.c dependency. | |
2005 | ($(BUILD_PREFIX_1)rtl.o, print-rtl.o, $(BUILD_PREFIX_1)varray.o): | |
2006 | Rename rules; delete commands; fix dependencies. | |
2007 | (mostlyclean): Do not delete temporary source copies. | |
2008 | * configure.ac: Delete all references to BUILD_PREFIX and | |
2009 | BUILD_PREFIX_1. | |
2010 | * configure: Regenerate. | |
2011 | ||
2012 | * print-rtl.c: Include bconfig.h #ifdef GENERATOR_FILE. | |
2013 | Do not include tree.h, real.h, flags.h, hard-reg-set.h, or | |
2014 | basic-block.h #ifdef GENERATOR_FILE. Surround some more code | |
2015 | with #ifndef GENERATOR_FILE so that nothing from those headers | |
2016 | is used. | |
2017 | ||
2018 | * rtl.c, varray.c: Include bconfig.h #ifdef GENERATOR_FILE. | |
2019 | ||
4d73e20b AN |
2020 | 2004-08-16 Adam Nemet <anemet@lnxw.com> |
2021 | ||
2022 | * Makefile.in (LIBS): Move $(LIBIBERTY) after $(BANSHEELIB). | |
6aaf3dde | 2023 | |
62114438 AP |
2024 | 2004-08-16 Andrew Pinski <apinski@apple.com> |
2025 | ||
2026 | * target-def.h (TARGET_EH_RETURN_FILTER_MODE): Remove | |
2027 | extraneous semicolon. | |
2028 | ||
8e3e233b DP |
2029 | 2004-08-16 Devang Patel <dpatel@apple.com> |
2030 | ||
2031 | * c-common.c (handle_used_attribute): Set DECL_PRESERVE_P. | |
2032 | * print-tree.c (print_node): Print DECL_PRESERVE_P. | |
2033 | * target-def.h (TARGET_ASM_MARK_DECL_PRESERVED): New #define. | |
2034 | (TARGET_ASM_OUT): New member, TARGET_ASM_MARK_DECL_PRESERVED | |
2035 | * target.h (struct gcc_target): New member, mark_decl_preserved. | |
45c8116d ZW |
2036 | * hooks.c (hook_void_charptr): Rename to ... |
2037 | (hook_void_constcharptr): ... new name. | |
2038 | * hooks.h (hook_void_charptr): Rename to .. | |
2039 | (hook_void_constcharptr): ... new name. | |
8e3e233b DP |
2040 | * tree.h (DECL_PRESERVE_P): New #define. |
2041 | (struct tree_decl): New member, preserve_flag. | |
2042 | * varasm.c (assemble_start_function): Mark decl preserved. | |
2043 | (assemble_variable): Same. | |
2044 | * darwin.c (darwin_mark_decl_preserved): New function. | |
2045 | * darwin.h (TARGET_ASM_MARK_DECL_preserved): New #define. | |
2046 | * darwin-protos.h (darwin_mark_decl_preserved): New decl. | |
2047 | * doc/tm.texi (TARGET_ASM_MARK_DECL_PRESERVED): Document. | |
2048 | ||
580b3958 JM |
2049 | 2004-08-16 Joseph S. Myers <jsm@polyomino.org.uk> |
2050 | ||
2051 | * c-decl.c (grokdeclarator): Allow for function definition where | |
2052 | innermost declarator has attributes. | |
2053 | ||
93f90be6 FJ |
2054 | 2004-08-16 Fariborz Jahanian <fjahanian@apple.com> |
2055 | ||
2056 | * except.c (get_exception_filter, build_post_landing_pads, | |
2057 | dw2_build_landing_pads): Use target-specific mode for 'filter'. | |
2058 | * target-def.h (TARGET_EH_RETURN_FILTER_MODE): macro defined and used. | |
2059 | * target.h (eh_return_filter_mode): New field added. | |
2060 | * targhooks.c (default_eh_return_filter_mode): Defined. | |
2061 | * targhooks.h (default_eh_return_filter_mode): Declared. | |
2062 | * config/rs6000/rs6000.c (rs6000_eh_return_filter_mode): Defined. | |
2063 | ||
392765bf NN |
2064 | 2004-08-16 Nathanael Nerode <neroden@gcc.gnu.org> |
2065 | ||
2066 | * configure.ac: Replace _GCC_TOPLEV_NONCANONICAL_TARGET with | |
2067 | ACX_NONCANONICAL_TARGET; remove now-unneeded AC_SUBST. | |
2068 | * configure: Regenerate. | |
2069 | ||
49bd1d27 SS |
2070 | 2004-08-16 Stan Shebs <shebs@apple.com> |
2071 | ||
2072 | Basic support for 64-bit Darwin. | |
2073 | * config/darwin.c (macho_indirect_data_reference): Add DImode case. | |
2074 | (machopic_legitimize_pic_address): Similarly, plus use Pmode | |
2075 | instead of SImode. | |
2076 | * config/rs6000/darwin.h (PTRDIFF_TYPE): Be "long int" if 64-bit. | |
2077 | (TARGET_OS_CPP_BUILTINS): Add 64-bit preprocessor macro. | |
2078 | (SUBTARGET_SWITCHES): Add -m32 and -m64 flags. | |
2079 | (SUBTARGET_OVERRIDE_OPTIONS): Require 64-bit processor if -m64. | |
2080 | (PROCESSOR_DEFAULT64): Define. | |
2081 | * config/rs6000/darwin.md: New file, patterns specific to 64-bit | |
2082 | Darwin. | |
2083 | * config/rs6000/rs6000.md: Include darwin.md. | |
2084 | (builtin_setjmp_receiver): Add DImode case. | |
2085 | * config/rs6000/rs6000.c (TARGET_ASM_UNALIGNED_DI_OP): Define for | |
2086 | Darwin. | |
2087 | (TARGET_ASM_ALIGNED_DI_OP): Ditto. | |
2088 | (rs6000_emit_move): Add DImode case to Darwin bits. | |
2089 | (machopic_output_stub): Use .quad if 64-bit. | |
2090 | * invoke.texi: Document -m32 and -m64. | |
2091 | ||
4e6e4e4c JJ |
2092 | 2004-08-16 Janis Johnson <janis187@us.ibm.com> |
2093 | ||
2094 | * doc/extend.texi (AltiVec builtins): Document additional differences | |
2095 | from the Motorola AltiVec PIM. | |
2096 | ||
092313ae NS |
2097 | 2004-08-16 Nathan Sidwell <nathan@codesourcery.com> |
2098 | ||
2099 | * c-typeck.c (build_c_cast): Only copy overflow from expr nodes. | |
2100 | * tree.h (IS_NON_TYPE_CODE_CLASS): Simplify. | |
2101 | (struct tree_common): Update public_flag documentation. | |
2102 | ||
dffc9ae5 NN |
2103 | 2004-08-16 Nathanael Nerode <neroden@gcc.gnu.org> |
2104 | ||
2105 | * tree-ssa-copyrename.c (copy_rename_partition_coalesce): | |
62fc1d7d | 2106 | Check for artificial variables, not is_gimple_tmp_var. |
dffc9ae5 NN |
2107 | * tree-ssa-live.c (var_union): Likewise. |
2108 | ||
16e9be4c NS |
2109 | 2004-08-16 Nathan Sidwell <nathan@codesourcery.com> |
2110 | ||
2111 | * calls.c (load_register_parameters): Remove spurious FIXME token. | |
2112 | ||
9a4d6480 ZL |
2113 | 2004-08-15 Ziemowit Laski <zlaski@apple.com> |
2114 | ||
2115 | * Makefile.in (C_PRETTY_PRINT_H): Add c-pretty-print.h. | |
2116 | (c-lang.o): Depend on c-objc-common.h. | |
45c8116d | 2117 | (c-objc-common.o): Depend on $(C_PRETTY_PRINT_H) and |
9a4d6480 ZL |
2118 | c-objc-common.h; remove duplicate $(C_TREE_H) dependency. |
2119 | * c-lang.c: Include c-objc-common.h. | |
2120 | (LANG_HOOKS_FINISH, LANG_HOOKS_INIT_OPTIONS, | |
2121 | LANG_HOOKS_INITIALIZE_DIAGNOSTICS, LANG_HOOKS_HANDLE_OPTION, | |
2122 | LANG_HOOKS_MISSING_ARGUMENT, LANG_HOOKS_POST_OPTIONS, | |
45c8116d ZW |
2123 | LANG_HOOKS_GET_ALIAS_SET, LANG_HOOKS_SAFE_FROM_P, |
2124 | LANG_HOOKS_EXPAND_EXPR, LANG_HOOKS_MARK_ADDRESSABLE, | |
9a4d6480 ZL |
2125 | LANG_HOOKS_PARSE_FILE, LANG_HOOKS_TRUTHVALUE_CONVERSION, |
2126 | LANG_HOOKS_FINISH_INCOMPLETE_DECL, LANG_HOOKS_UNSAFE_FOR_REEVAL, | |
45c8116d | 2127 | LANG_HOOKS_STATICP, LANG_HOOKS_SET_DECL_ASSEMBLER_NAME, |
9a4d6480 ZL |
2128 | LANG_HOOKS_NO_BODY_BLOCKS, LANG_HOOKS_WARN_UNUSED_GLOBAL_DECL, |
2129 | LANG_HOOKS_PRINT_IDENTIFIER, LANG_HOOKS_FUNCTION_ENTER_NESTED, | |
2130 | LANG_HOOKS_FUNCTION_LEAVE_NESTED, LANG_HOOKS_DUP_LANG_SPECIFIC_DECL, | |
2131 | LANG_HOOKS_DECL_UNINIT, LANG_HOOKS_RTL_EXPAND_STMT, | |
2132 | LANG_HOOKS_COMMON_ATTRIBUTE_TABLE, LANG_HOOKS_FORMAT_ATTRIBUTE_TABLE, | |
2133 | LANG_HOOKS_TREE_INLINING_CANNOT_INLINE_TREE_FN, | |
2134 | LANG_HOOKS_TREE_INLINING_DISREGARD_INLINE_LIMITS, | |
2135 | LANG_HOOKS_TREE_INLINING_ANON_AGGR_TYPE_P, | |
2136 | LANG_HOOKS_TREE_INLINING_CONVERT_PARM_FOR_INLINING, | |
2137 | LANG_HOOKS_TREE_INLINING_ESTIMATE_NUM_INSNS, | |
2138 | LANG_HOOKS_TREE_DUMP_DUMP_TREE_FN, | |
2139 | LANG_HOOKS_CALLGRAPH_EXPAND_FUNCTION, LANG_HOOKS_TYPE_FOR_MODE, | |
2140 | LANG_HOOKS_TYPE_FOR_SIZE, LANG_HOOKS_SIGNED_TYPE, | |
2141 | LANG_HOOKS_UNSIGNED_TYPE, LANG_HOOKS_SIGNED_OR_UNSIGNED_TYPE, | |
2142 | LANG_HOOKS_INCOMPLETE_TYPE_ERROR, LANG_HOOKS_TYPE_PROMOTES_TO, | |
2143 | LANG_HOOKS_REGISTER_BUILTIN_TYPE, LANG_HOOKS_WRITE_GLOBALS): | |
2144 | Move to c-objc-common.h. | |
2145 | * c-objc-common.c: Include c-objc-common.h. | |
2146 | * c-objc-common.h: New file. | |
2147 | ||
869464ba AT |
2148 | 2004-08-15 Andreas Tobler <a.tobler@schweiz.ch> |
2149 | Andrew Pinski <pinskia@physics.uc.edu> | |
2150 | ||
2151 | PR target/14931 | |
2152 | * config/rs6000/darwin-tramp.asm (L_abort$stub): Change to new stub | |
2153 | style. | |
2154 | ||
4a90aeeb NS |
2155 | 2004-08-15 Nathan Sidwell <nathan@codesourcery.com> |
2156 | ||
2157 | * tree.h (build_int_cst): New. | |
2158 | (build_int_2): Remove. | |
2159 | * tree.c (build_int_2): Remove. | |
2160 | (build_int_cst): New. | |
2161 | (make_vector_type, build_common_tree_nodes, | |
2162 | build_common_tree_nodes_2): Use build_int_cst. | |
2163 | * builtins.c (expand_builtin_prefetch, expand_builtin_strstr, | |
2164 | expand_builtin_strpbrk, expand_builtin_fputs, | |
2165 | build_string_literal, expand_builtin_printf, | |
2166 | expand_builtin_sprintf, fold_builtin_lround, fold_builtin_bitop, | |
2167 | fold_builtin_bitop, fold_builtin_isascii, fold_builtin_toascii, | |
2168 | fold_builtin_isdigit, simplify_builtin_strstr, | |
2169 | simplify_builtin_strpbrk, fold_builtin_fputs, | |
2170 | simplify_builtin_sprintf): Use build_int_cst. | |
2171 | * c-common.c (start_fname_decls, fix_string_type, | |
2172 | c_common_nodes_and_builtins, c_init_attributes, | |
2173 | shorten_compare): Likewise. | |
2174 | * c-decl.c (complete_array_type, | |
2175 | check_bitfield_type_and_width): Likewise. | |
2176 | * c-lex.c (interpret_integer, lex_charconst): Likewise. | |
2177 | * c-parse.in (primary): <TYPES_COMPATIBLE_P> Likewise. | |
2178 | * c-pretty-print.c (pp_c_integer_constant): Likewise. | |
2179 | * c-typeck.c (really_start_incremental_init, push_init_level, | |
2180 | set_nonincremental_init_from_string): Likewise. | |
2181 | * calls.c (load_register_parameters): Likewise. | |
2182 | * convert.c (convert_to_pointer): Likewise. | |
2183 | * coverage.c (coverage_counter_alloc, tree_coverage_counter_ref, | |
2184 | build_fn_info_type, build_ctr_info_value, build_gcov_info): | |
2185 | Likewise. | |
2186 | * except.c (init_eh, assign_filter_values, assign_filter_values): | |
2187 | Likewise. | |
2188 | * expmed.c (store_fixed_bit_field, extract_bit_field, | |
2189 | extract_fixed_bit_field, extract_split_bit_field, expand_shift, | |
2190 | expand_mult_const, expand_mult_highpart_adjust, extract_high_half, | |
2191 | expand_sdiv_pow2, expand_divmod, make_tree): Likewise. | |
2192 | * expr.c (convert_move, emit_group_load, emit_group_store, | |
2193 | expand_assignment, store_constructor, store_field, | |
2194 | expand_expr_real_1, reduce_to_bit_field_precision): Likewise. | |
2195 | * fold-const.c (force_fit_type, int_const_binop, fold_convert_const, | |
2196 | invert_truthvalue, optimize_bit_field_compare, | |
2197 | decode_field_reference, all_ones_mask_p, constant_boolean_node, | |
2198 | fold_div_compare, fold, fold_read_from_constant_string, | |
2199 | fold_negate_const, fold_abs_const, fold_not_const): Likewise. | |
2200 | * function.c (assign_parm_setup_block): Likewise. | |
2201 | * stmt.c (shift_return_value, expand_end_case_type, | |
2202 | estimate_case_costs): Likewise. | |
2203 | * stor-layout.c (layout_type, initialize_sizetypes, | |
2204 | set_min_and_max_values_for_integral_type): Likewise. | |
2205 | * tree-chrec.c (chrec_fold_multiply_poly_poly, | |
2206 | reset_evolution_in_loop): Likewise. | |
2207 | * tree-chrec.h (build_polynomial_chrec): Likewise. | |
2208 | * tree-complex.c (build_replicated_const): Likewise. | |
2209 | * tree-eh.c (honor_protect_cleanup_actions, | |
2210 | lower_try_finally_onedest, lower_try_finally_copy, | |
2211 | lower_try_finally_switch): Likewise. | |
2212 | * tree-mudflap.c (mf_build_string, mx_register_decls, | |
2213 | mudflap_register_call, mudflap_enqueue_constant): Likewise. | |
2214 | * tree-nested.c (get_trampoline_type, get_nl_goto_field): Likewise. | |
2215 | * tree-pretty-print.c (dump_generic_node): Likewise. | |
2216 | * tree-ssa-ccp.c (widen_bitfield, maybe_fold_offset_to_array_ref): | |
2217 | Likewise. | |
2218 | * tree-ssa-dom.c (simplify_rhs_and_lookup_avail_expr): Likewise. | |
2219 | * tree-ssa-loop-niter.c (number_of_iterations_cond, | |
2220 | loop_niter_by_eval, upper_bound_in_type, lower_bound_in_type): | |
2221 | Likewise. | |
45c8116d | 2222 | |
4a90aeeb NS |
2223 | * config/alpha/alpha.c (alpha_initialize_trampoline, |
2224 | alpha_va_start, alpha_gimplify_va_arg_1): Use build_int_cst. | |
2225 | * config/arm/arm.c (arm_get_cookie_size): Likewise. | |
2226 | * config/c4x/c4x.c (c4x_gimplify_va_arg_expr): Likewise. | |
2227 | * config/i386/i386.c (ix86_va_start, ix86_gimplify_va_arg): Likewise. | |
2228 | * config/i860/i860.c (i860_va_start): Likewise. | |
2229 | * config/ia64/ia64.c (ia64_gimplify_va_arg): Likewise. | |
2230 | * config/mips/mips.c (mips_build_builtin_va_list, mips_va_start, | |
2231 | mips_gimplify_va_arg_expr): Likewise. | |
2232 | * config/pa/pa.c (hppa_gimplify_va_arg_expr): Likewise. | |
2233 | * config/rs6000/rs6000.c (rs6000_va_start, rs6000_gimplify_va_arg, | |
2234 | add_compiler_branch_island): Likewise. | |
2235 | * config/s390/s390.c (s390_va_start): Likewise. | |
2236 | * config/sh/sh.c (sh_va_start): Likewise. | |
2237 | * config/stormy16/stormy16.c (xstormy16_expand_builtin_va_start): | |
2238 | Likewise. | |
2239 | * config/xtensa/xtensa.c (xtensa_va_start, | |
2240 | xtensa_gimplify_va_arg_expr): Likewise. | |
45c8116d | 2241 | |
4a90aeeb NS |
2242 | * objc/objc-act.c (build_objc_string_object, |
2243 | build_objc_symtab_template, init_def_list, init_objc_symtab, | |
2244 | init_module_descriptor, generate_static_references, | |
2245 | build_selector_translation_table, get_proto_encoding, | |
2246 | build_typed_selector_reference, build_selector_reference, | |
2247 | build_next_objc_exception_stuff, | |
2248 | build_method_prototype_list_template, generate_descriptor_table, | |
2249 | generate_protocols, build_protocol_initializer, | |
2250 | build_ivar_list_template, build_method_list_template, | |
2251 | build_ivar_list_initializer, generate_ivars_list, | |
2252 | generate_dispatch_table, generate_protocol_list, | |
2253 | build_category_initializer, build_shared_structure_initializer, | |
2254 | generate_shared_structures, handle_impent, | |
2255 | generate_objc_image_info): Use build_int_cst. | |
2256 | ||
2a68a7de BE |
2257 | 2004-08-15 Ben Elliston <bje@au.ibm.com> |
2258 | ||
2259 | * vec.h: Comment improvements. | |
2260 | ||
53fb4de3 RS |
2261 | 2004-08-14 Roger Sayle <roger@eyesopen.com> |
2262 | ||
2263 | * c-common.c (shorten_compare, pointer_int_sum, | |
2264 | c_common_truthvalue_conversion, boolean_increment): Replace calls | |
2265 | to build with calls to buildN. | |
2266 | * c-decl.c (complete_array_type, grokdeclarator): Likewise. | |
2267 | * c-gimplify.c (c_build_bind_expr, gimplify_c_loop, | |
2268 | gimplify_switch_stmt): Likewise. | |
2269 | * c-typeck.c (default_function_array_conversion, | |
2270 | build_component_ref, build_array_ref, build_function_call, | |
2271 | pointer_diff, build_unary_op, build_conditional_expr, | |
2272 | build_compound_expr, build_modify_expr, c_finish_goto_label, | |
2273 | c_finish_goto_ptr, c_finish_return, c_finish_loop, | |
2274 | c_finish_bc_stmt, c_finish_stmt_expr, c_end_compound_stmt, | |
2275 | build_binary_op): Likewise. | |
2276 | ||
254b17dd SB |
2277 | 2004-08-15 Steven Bosscher <stevenb@suse.de> |
2278 | ||
2279 | * rtl.c (note_insn_name): Add NOTE_DISABLE_SCHED_OF_BLOCK. | |
2280 | ||
a5252c84 JDA |
2281 | 2004-08-14 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
2282 | ||
2283 | * fixinc/inclhack.def (stdio_va_list): Also fix com_err.h, cps.h, | |
2284 | curses.h, krb5.h, lc_core.h, pfmt.h, wchar.h and curses_colr/curses.h. | |
2285 | * fixinc/fixincl.x: Rebuilt. | |
2286 | ||
96a30b18 RS |
2287 | 2004-08-14 Richard Sandiford <rsandifo@redhat.com> |
2288 | ||
2289 | * config/mips/mips-protos.h (mips_symbolic_constant_p) | |
2290 | (mips_atomic_symbolic_constant_p, mips_stack_address_p) | |
2291 | (mips_small_data_pattern_p): Declare. | |
2292 | * config/mips/mips.h (CONST_GP_P): Moved from mips.c. | |
2293 | (PREDICATE_CODES, SPECIAL_MODE_PREDICATES): Delete. | |
2294 | * config/mips/mips.c (mips_symbolic_constant_p): Make global. | |
2295 | (mips_atomic_symbolic_constant_p, mips_stack_address_p): New functions. | |
2296 | (uns_arith_operand, const_arith_operand, arith_operand, sle_operand) | |
2297 | (sleu_operand, small_int, reg_or_0_operand, const_float_1_operand) | |
2298 | (reg_or_const_float_1_operand, hilo_operand, extend_operator) | |
2299 | (macc_msac_operand, equality_op, cmp_op, trap_cmp_op) | |
2300 | (pc_or_label_operand, call_insn_operand, move_operand) | |
2301 | (consttable_operand, symbolic_operand, general_symbolic_operand) | |
2302 | (global_got_operand, local_got_operand, stack_operand) | |
2303 | (fp_register_operand, lo_operand, fcc_register_operand): Delete. | |
2304 | (mips_small_data_pattern_1): Renamed from small_data_pattern_1. | |
2305 | (mips_small_data_pattern_p): Replace previous small_data_pattern | |
2306 | predicate. Turn into a bool () (rtx) function. | |
2307 | * config/mips/predicates.md: New file. | |
2308 | * config/mips/mips.md: Include it. Use the target-independent | |
2309 | comparison_operator instead of cmp_op. Rename trap_cmp_op to | |
2310 | trap_comparison_operator and equality_op to equality_operator. | |
2311 | Replace uses of small_int with the equivalent const_arith_operand. | |
2312 | Rename reg_or_const_float_1_operand to reg_or_1_operand. Rename | |
2313 | const_float_1_operand to const_1_operand. Rename fcc_register_operand | |
2314 | to fcc_reload_operand. | |
2315 | * config/mips/sb1.md: Rename fp_register_operand to fpr_operand. | |
2316 | ||
e41c9fcb JDA |
2317 | 2004-08-14 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
2318 | ||
2319 | PR libstdc++/17005 partial fix. | |
2320 | * pa-hpux11.h (TARGET_OS_CPP_BUILTINS): Define _INCLUDE__STDC_A1_SOURCE | |
2321 | except when generating ANSI/C89 code. | |
2322 | ||
af9c6659 NS |
2323 | 2004-08-14 Nathan Sidwell <nathan@codesourcery.com> |
2324 | ||
2325 | * c-common.c (shorten_compare): Use force_fit_type directly. | |
2326 | ||
37de1373 GP |
2327 | 2004-08-14 Gerald Pfeifer <gerald@pfeifer.com> |
2328 | Dimitri Papadopoulos-Orfanos <papadopo@shfj.cea.fr> | |
2329 | Dave Korn <dk@artimi.com> | |
2330 | ||
2331 | * doc/install.texi (Building): Avoid duplicate reference to GNU | |
2332 | make requirement. | |
2333 | (*-*-solaris2*): Do not recommend GNU make any longer. Simplify. | |
2334 | ||
06d69cd3 RH |
2335 | 2004-08-14 Richard Henderson <rth@redhat.com> |
2336 | ||
2337 | * config/alpha/alpha.h (PROMOTE_MODE): Don't promote vector types. | |
2338 | * config/alpha/alpha.c (function_value): Use PROMOTE_MODE. | |
2339 | ||
e427abbf RH |
2340 | 2004-08-13 Richard Henderson <rth@redhat.com> |
2341 | ||
2342 | * config/i386/i386.md (call_1, sibcall_1, call_1_rex64): Use Pmode | |
2343 | for constant_call_address_operand. | |
2344 | (call_value_pop_1, call_value_1): Likewise. | |
2345 | (sibcall_value_1, call_value_1_rex64): Likewise. | |
2346 | ||
2b407936 JW |
2347 | 2004-08-13 James E Wilson <wilson@specifixinc.com> |
2348 | ||
2349 | * config/mips/sb1.md (ir_sb1_divdf_2pipes, ir_sb1_divdf_1pipe): | |
2350 | Correct mode from SFmode to DFmode. | |
2351 | ||
3e0d5ae2 ZL |
2352 | 2004-08-13 Ziemowit Laski <zlaski@apple.com> |
2353 | ||
2354 | * config/darwin.h (EXTRA_SECTION_FUNCTIONS): Mark the __sel_fixup, | |
2355 | __cstring_object and __image_info sections with the no_dead_strip | |
2356 | attribute. | |
2357 | ||
e0704143 RS |
2358 | 2004-08-13 Roger Sayle <roger@eyesopen.com> |
2359 | David Billinghurst <David.Billinghurst@riotinto.com> | |
2360 | ||
2361 | PR libgfortran/15930 | |
2362 | * fixinc/inclhack.def (irix___generic1, irix___generic2): New. | |
2363 | * fixinc/fixincl.x: Regenerate. | |
2364 | * fixinc/tests/base/internal/math_core.h: New file. | |
2365 | ||
8768c655 RH |
2366 | 2004-08-13 Richard Henderson <rth@redhat.com> |
2367 | ||
2368 | * dbxout.c (NO_DBX_FUNCTION_END): Default to zero. | |
2369 | (dbxout_function_end): Remove ifdefs for it. | |
2370 | (dbxout_begin_prologue): Protect N_BNSYM with it, and gdb extensions. | |
2371 | ||
201312c2 RH |
2372 | 2004-08-13 Richard Henderson <rth@redhat.com> |
2373 | ||
2374 | * Makefile.in (insn-preds.o): Depend on TREE_H. | |
2375 | * genpreds.c (write_insn_preds_c): Include tree.h. | |
2376 | * config/alpha/alpha.c (reg_or_0_operand, reg_or_6bit_operand, | |
2377 | reg_or_8bit_operand, cint8_operand, add_operand, sext_add_operand, | |
2378 | const48_operand, and_operand, or_operand, mode_width_operand, | |
2379 | mode_mask_operand, mul8_operand, const0_operand, | |
2380 | hard_fp_register_operand, hard_int_register_operand, | |
2381 | reg_or_cint_operand, some_operand, some_ni_operand, input_operand, | |
2382 | samegp_function_operand, direct_call_operand, small_symbolic_operand, | |
45c8116d | 2383 | global_symbolic_operand, call_operand, symbolic_operand, |
201312c2 RH |
2384 | dtp16_symbolic_operand, dtp32_symbolic_operand, |
2385 | gotdtp_symbolic_operand, tp16_symbolic_operand, tp32_symbolic_operand, | |
2386 | gottp_symbolic_operand, alpha_comparison_operator, | |
2387 | alpha_zero_comparison_operator, alpha_swapped_comparison_operator, | |
2388 | signed_comparison_operator, alpha_fp_comparison_operator, | |
2389 | divmod_operator, fix_operator, aligned_memory_operand, | |
2390 | unaligned_memory_operand, reg_or_unaligned_mem_operand, | |
2391 | any_memory_operand, reg_not_elim_operand, normal_memory_operand, | |
2392 | reg_no_subreg_operand, addition_operation): Move to predicates.md. | |
2393 | (reg_or_const_int_operand): Remove. Replace all users with | |
2394 | reg_or_cint_operand. | |
2395 | (tls_symbolic_operand_1): Export. Don't check mode or for CONST. | |
2396 | (resolve_reload_operand): Split out of aligned_memory_operand. | |
2397 | * config/alpha/alpha-protos.h: Update for exports. | |
2398 | * config/alpha/alpha.h (PREDICATE_CODES): Remove. | |
2399 | * config/alpha/alpha.md: Include predicates.md. | |
2400 | * config/alpha/predicates.md: New file. | |
2401 | ||
1e9c8405 RS |
2402 | 2004-08-13 Richard Sandiford <rsandifo@redhat.com> |
2403 | ||
2404 | * genattrtab.c (insn_ent): Replace insn_code, insn_index and lineno | |
2405 | fields with a pointer to the instruction definition. | |
2406 | (get_attr_value, fill_attr, make_length_attrs, remove_insn_ent) | |
2407 | (insert_insn_ent, simplify_test_exp, optimize_attrs, write_attr_get) | |
2408 | (write_attr_case, write_const_num_delay_slots): Update accordingly. | |
2409 | (write_attr_case, write_const_num_delay_slots): Write the name of | |
2410 | an insn next to its case statement. | |
2411 | * genoutput.c (data): Add a filename field. | |
2412 | (gen_insn, gen_peephole, gen_expand, gen_split): Set it. | |
2413 | (output_insn_data): Print the location of each insn definition. | |
2414 | * genrecog.c (write_action): Print the name of an insn above | |
2415 | the statement that returns its code. | |
2416 | ||
1e5f1716 AP |
2417 | 2004-08-12 Andrew Pinski <pinskia@physics.uc.edu> |
2418 | ||
2419 | * config/darwin-c.c (find_subframework_file): Fix spelling of cannot. | |
2420 | * config/libgloss.h: Likewise. | |
2421 | * config/arm/arm.c (arm_gen_load_multiple): Likewise. | |
2422 | * c4x/c4x-modes.def: Likewise. | |
2423 | * config/c4x/c4x.c (c4x_hard_regno_rename_ok): Likewise. | |
2424 | (c4x_rptb_nop_p): Likewise. | |
2425 | (c4x_rptb_valid_p): Likewise. | |
2426 | (c4x_rptb_insert): Likewise. | |
2427 | (c4x_address_conflict): Likewise. | |
2428 | * config/c4x/c4x.md: Likewise. | |
2429 | * config/frv/frv.md: Likewise. | |
2430 | * config/i386/athlon.md: Likewise. | |
2431 | * config/i386/i386.md: Likewise. | |
2432 | * config/i386/predicates.md: Likewise. | |
2433 | * config/ia64/ia64.c: Likewise. | |
2434 | * config/ia64/itanium1.md: Likewise. | |
2435 | * config/ia64/itanium2.md: Likewise. | |
2436 | * config/iq2000/iq2000.md: Likewise. | |
2437 | * config/mcore/mcore.c: Likewise. | |
2438 | * config/mips/mips.c: Likewise. | |
2439 | * config/mips/r3900.h: Likewise. | |
2440 | * config/mips/sb1.md: Likewise. | |
2441 | * config/pa/milli64.S: Likewise. | |
2442 | * config/pa/pa.c: Likewise. | |
2443 | * config/pa/pa.h: Likewise. | |
2444 | * config/rs6000/8540.md: Likewise. | |
2445 | ||
9bcc9490 DB |
2446 | 2004-08-13 Daniel Berlin <dberlin@dberlin.org> |
2447 | ||
2448 | * Makefile.in (BOOT_CFLAGS): Remove accidental addition of -dU. | |
2449 | ||
68fe56fc R |
2450 | 2004-08-13 J"orn Rennecke <joern.rennecke@superh.com> |
2451 | ||
2452 | * sh.md (cbranch define_delay) Use cond_delay_slot for | |
2453 | non-anulled condition too. | |
2454 | ||
85d346f1 DE |
2455 | 2004-08-12 David Edelsohn <edelsohn@gnu.org> |
2456 | ||
2457 | * config/rs6000/rs6000.c (any_parallel_operand): New predicate. | |
2458 | * config/rs6000/rs6000.h (PREDICATE_CODES): Add | |
2459 | any_parallel_operand, lmw_operation, stmw_operation, | |
a688b3ac | 2460 | mfcr_operation, mtcrf_operation. Remove PARALLEL from any_operand. |
85d346f1 DE |
2461 | * config/rs6000/rs6000.md (save_fpregs_{si,di}): Use |
2462 | any_parallel_operand. | |
2463 | (return_and_restore_fpregs_{si,di}): Same. | |
2464 | ||
47d2cee5 ZW |
2465 | 2004-08-12 Zack Weinberg <zack@codesourcery.com> |
2466 | ||
2467 | * genrecog.c (add_to_sequence): When processing a MATCH_PARALLEL, | |
2468 | if pred->singleton != PARALLEL, issue a warning and pretend it was. | |
2469 | Also issue a warning for any predicate we don't know about. | |
2470 | ||
8fe75e43 RH |
2471 | 2004-08-12 Richard Henderson <rth@redhat.com> |
2472 | ||
2473 | * config/i386/i386.c (internal_label_prefix): Export. | |
2474 | (internal_label_prefix_len, struct ix86_address, | |
2475 | ix86_decompose_address, maybe_get_pool_constant, | |
2476 | ix86_fp_compare_code_to_integer, ix86_fp_comparison_codes, | |
2477 | memory_address_length): Export. | |
47d2cee5 | 2478 | (any_fp_register_operand, fp_register_operand, |
8fe75e43 | 2479 | register_and_not_any_fp_reg_operand, register_and_not_fp_reg_operand, |
47d2cee5 | 2480 | x86_64_general_operand, x86_64_szext_general_operand, |
8fe75e43 RH |
2481 | x86_64_nonmemory_operand, x86_64_movabs_operand, |
2482 | x86_64_szext_nonmemory_operand, x86_64_immediate_operand, | |
2483 | x86_64_zext_immediate_operand, const_int_1_31_operand, | |
2484 | symbolic_operand, pic_symbolic_operand, local_symbolic_operand, | |
2485 | tls_symbolic_operand, global_dynamic_symbolic_operand, | |
2486 | local_dynamic_symbolic_operand, initial_exec_symbolic_operand, | |
2487 | local_exec_symbolic_operand, call_insn_operand, sibcall_insn_operand, | |
2488 | constant_call_address_operand, const0_operand, const1_operand, | |
2489 | const248_operand, const_0_to_3_operand, const_0_to_7_operand, | |
2490 | const_0_to_15_operand, const_0_to_255_operand, incdec_operand, | |
2491 | shiftdi_operand, reg_no_sp_operand, mmx_reg_operand, | |
2492 | general_no_elim_operand, nonmemory_no_elim_operand, | |
2493 | index_register_operand, q_regs_operand, flags_reg_operand, | |
2494 | non_q_regs_operand, zero_extended_scalar_load_operand, | |
2495 | vector_move_operand, no_seg_address_operand, sse_comparison_operator, | |
47d2cee5 | 2496 | ix86_comparison_operator, ix86_carry_flag_operator, |
8fe75e43 RH |
2497 | fcmov_comparison_operator, promotable_binary_operator, |
2498 | cmp_fp_expander_operand, ext_register_operand, binary_fp_operator, | |
47d2cee5 | 2499 | mult_operator, div_operator, arith_or_logical_operator, |
8fe75e43 RH |
2500 | memory_displacement_operand, cmpsi_operand, long_memory_operand, |
2501 | aligned_operand): Move to predicates.md as define_predicates. | |
2502 | (tls_symbolic_operand_1): Remove. | |
2503 | (x86_64_sign_extended_value): Merge into x86_64_immediate_operand. | |
2504 | (x86_64_zero_extended_value): Merge into x86_64_zext_immediate_operand. | |
2505 | (legitimize_address): Merge tls_symbolic_operand contents. | |
2506 | (ix86_expand_move): Likewise. | |
2507 | * config/i386/i386-protos.h: Update for exports. | |
2508 | * config/i386/i386.h (EXTRA_CONSTRAINT): Update for renames. | |
2509 | (PREDICATE_CODES, SPECIAL_MODE_PREDICATES): Remove. | |
2510 | * config/i386/i386.md: Include predicates.md. | |
2511 | * config/i386/predicates.md: New file. | |
2512 | ||
ea3d83a7 MM |
2513 | 2004-08-13 Mark Mitchell <mark@codesourcery.com> |
2514 | ||
2515 | PR c++/16924 | |
2516 | * config/i386/winnt.c (i386_pe_mark_dllexport): Set | |
2517 | SYMBOL_REF_DECL. | |
2518 | (i386_pe_mark_dllimport): Likewise. | |
2519 | (i386_pe_encode_section_info): Likewise, when overriding | |
2520 | dllimport attribute. | |
2521 | ||
414adbdd GK |
2522 | 2004-08-12 Geoffrey Keating <geoffk@apple.com> |
2523 | ||
2524 | * configure.ac: When testing for flex, nm, ar, and bison, check | |
2525 | that they will actually be built. | |
2526 | * configure: Regenerate. | |
2527 | ||
c5443745 UW |
2528 | 2004-08-12 Ulrich Weigand <uweigand@de.ibm.com> |
2529 | ||
2530 | * config/s390/s390.h (MAX_FIXED_MODE_SIZE): Define. | |
2531 | (MOVE_MAX_PIECES): Define. | |
2532 | ||
8fa5469d DP |
2533 | 2004-08-12 Devang patel <dpatel@apple.com> |
2534 | ||
2535 | * dbxout.c (dbxout_begin_prologue): New function. | |
2536 | (dbx_debug_hooks): Use new begin prologue hook. | |
2537 | (dbxout_function_end): Emit N_ENSYM. | |
2538 | * stab.def (N_BNSYM, N_ENSYM): Define and document these two new stabs. | |
47d2cee5 | 2539 | |
b0b343db JJ |
2540 | 2004-08-12 Janis Johnson <janis187@us.ibm.com> |
2541 | ||
e390eb0a JJ |
2542 | * config/rs6000/altivec.h (vec_dst): Fix C++ functions whose first |
2543 | argument is float*. | |
2544 | ||
e34b6648 JJ |
2545 | * config/rs6000/rs6000.c (altivec_init_builtins): Fix argument type |
2546 | for vec_dss. | |
2547 | ||
b0b343db JJ |
2548 | * doc/extend.texi (AltiVec builtins): Fix description for recent |
2549 | changes. Update operation list to match current support. | |
2550 | ||
adf39f8f AK |
2551 | 2004-08-12 Andreas Krebbel <krebbel1@de.ibm.com> |
2552 | ||
2553 | * config/s390/s390.c (struct s390_frame_layout): New struct as element | |
2554 | of struct machine_function. | |
2555 | (cfun->machine->frame_size): Moved into cfun->machine->frame_layout and | |
2556 | changed all uses. | |
2557 | (cfun->machine->save_fprs_p): Replaced by cfun_save_high_fprs and | |
2558 | changed all uses. | |
2559 | (cfun_frame_layout, cfun_save_high_fprs_p, cfun_gprs_save_area_size) | |
2560 | (cfun_set_fpr_bit, cfun_fpr_bit_p): New macros. | |
2561 | (s390_frame_area, s390_register_info): New functions. | |
2562 | (s390_optimize_prolog): Renamed to s390_optimize_prologue. Added check | |
2563 | for base register. | |
2564 | (s390_return_addr_rtx, s390_return_address_offset) | |
2565 | (s390_va_start, s390_gimplify_va_arg) | |
2566 | (s390_emit_prologue, s390_emit_epilogue): Adjusted for new stack | |
2567 | layouts. | |
2568 | (s390_frame_info): Functionality partly moved to s390_register_info. | |
2569 | Made adaptions for new stack layout. | |
2570 | (save_gprs, restore_gprs): Changed meaning of second parameter and | |
2571 | adapted all callers. | |
2572 | ||
2573 | * config/s390/s390.h (s390_backchain_string): New global variable. | |
2574 | (MASK_BACKCHAIN): Removed definition. | |
2575 | (TARGET_BACKCHAIN): Changed check. | |
2576 | (TARGET_KERNEL_BACKCHAIN): New macro. | |
2577 | (TARGET_SWITCHES): Removed entries of "backchain" and "no-backchain". | |
2578 | (TARGET_OPTIONS): Added "backchain", "no-backchain" and | |
2579 | "kernel-backchain". | |
2580 | (DYNAMIC_CHAIN_ADDRESS): Adjusted for new stack layouts. | |
2581 | ||
2582 | * config/s390/s390.md ("allocate_stack"): Added TARGET_KERNEL_BACKCHAIN | |
2583 | as condition. Adjusted for new stack layout. | |
2584 | ||
2585 | * doc/invoke.texi: Added documentation for new option | |
2586 | "-mkernel-backchain" and adjusted documentation of "-mbackchain" and | |
2587 | "-mno-backchain". | |
2588 | ||
db151e9d PB |
2589 | 2004-08-12 Paul Brook <paul@codesourcery.com> |
2590 | ||
2591 | * config/arm/lib1funcs.asm (ARM_FUNC_ALIAS): Also alias _L__name. | |
2592 | (aeabi_uidivmod, aeabi_idivmod): Provide thumb implementation. | |
2593 | ||
02b75262 DD |
2594 | 2004-08-12 David Daney <ddaney@avtrex.com> |
2595 | ||
db151e9d | 2596 | * java/gcj.texi: Add subsection on signal usage. |
02b75262 | 2597 | |
f64d6991 DE |
2598 | 2004-08-12 David Edelsohn <edelsohn@gnu.org> |
2599 | ||
2600 | * expr.c (move_by_pieces): Set alignment for move to minimum of | |
2601 | MOVE_MAX_PIECES mode alignment and the largest non-slow mode | |
2602 | alignment, but not less than the original alignment. | |
2603 | (move_by_pieces_ninsns): Same. | |
2604 | (can_store_by_pieces): Similar for store with STORE_MAX_PIECES. | |
2605 | (store_by_pieces_1): Same. | |
2606 | ||
c597ef4e DN |
2607 | 2004-08-12 Diego Novillo <dnovillo@redhat.com> |
2608 | ||
2609 | PR tree-optimization/16867 | |
2610 | * tree.c (is_global_var): New function. | |
2611 | (needs_to_live_in_memory): Check for TREE_ADDRESSABLE. | |
2612 | Call is_global_var. | |
2613 | * tree.h (DECL_NEEDS_TO_LIVE_IN_MEMORY_INTERNAL): Remove. | |
2614 | Update all users. | |
2615 | (is_global_var): Declare. | |
2616 | * tree-dfa.c (dump_variable): Display global and addressable | |
2617 | attributes. | |
2618 | (add_referenced_var): Clarify documentation when marking | |
2619 | variables call-clobbered. | |
2620 | * tree-flow-inline.h (is_call_clobbered): Call is_global_var | |
2621 | instead of needs_to_live_in_memory. | |
2622 | (mark_call_clobbered): If the variable is a tag, mark it | |
2623 | DECL_EXTERNAL. | |
2624 | * tree-gimple.c (is_gimple_reg): Don't check for | |
2625 | TREE_ADDRESSABLE. | |
2626 | (is_gimple_non_addressable): Likewise. | |
2627 | * tree-ssa-alias.c (get_nmt_for): Always check whether the tag | |
2628 | needs to be marked call-clobbered. | |
2629 | (setup_pointers_and_addressables): Call is_global_var instead | |
2630 | of needs_to_live_in_memory. | |
2631 | * tree-ssa-dce.c (need_to_preserve_store): Remove. | |
2632 | Update all users with is_global_var. | |
2633 | (mark_stmt_if_obviously_necessary): Fix processing of aliased | |
2634 | stores. Don't check the virtual definitions. Rather, check | |
2635 | whether the store is going into global memory. | |
2636 | (find_obviously_necessary_stmts): Get the symbol from the PHI | |
2637 | result. | |
2638 | * tree-ssa-operands.c (get_call_expr_operands): Do not add | |
2639 | clobbering may-defs if the call does not have side effects. | |
2640 | ||
ab5c8549 JJ |
2641 | 2004-08-12 Jakub Jelinek <jakub@redhat.com> |
2642 | ||
2643 | PR c++/16276 | |
2644 | * output.h (default_function_rodata_section, | |
2645 | default_no_function_rodata_section): New prototypes. | |
2646 | * target.h (struct gcc_target): Add asm_out.function_rodata_section. | |
2647 | * target-def.h (TARGET_ASM_FUNCTION_RODATA_SECTION): Define. | |
2648 | (TARGET_ASM_OUT): Add it. | |
2649 | * varasm.c (default_function_rodata_section, | |
2650 | default_no_function_rodata_section): New functions. | |
2651 | * final.c (final_scan_insn): Call | |
2652 | targetm.asm_out.function_rodata_section instead of | |
2653 | readonly_data_section. | |
2654 | * config/darwin.h (TARGET_ASM_FUNCTION_RODATA_SECTION): Define. | |
2655 | * config/mcore/mcore.c (TARGET_ASM_FUNCTION_RODATA_SECTION): Likewise. | |
2656 | * config/ip2k/ip2k.c (TARGET_ASM_FUNCTION_RODATA_SECTION): Likewise. | |
2657 | * config/rs6000/xcoff.h (TARGET_ASM_FUNCTION_RODATA_SECTION): | |
2658 | Likewise. | |
2659 | * config/alpha/alpha.c (TARGET_ASM_FUNCTION_RODATA_SECTION): Likewise. | |
2660 | * config/i386/cygming.h (TARGET_ASM_FUNCTION_RODATA_SECTION): | |
2661 | Likewise. | |
2662 | * config/i386/i386-interix.h (TARGET_ASM_FUNCTION_RODATA_SECTION): | |
2663 | Likewise. | |
2664 | * config/arm/pe.h (TARGET_ASM_FUNCTION_RODATA_SECTION): Likewise. | |
2665 | * config/avr/avr.c (TARGET_ASM_FUNCTION_RODATA_SECTION): Likewise. | |
2666 | * doc/tm.texi (TARGET_ASM_FUNCTION_RODATA_SECTION): Document. | |
2667 | ||
5cf58f28 PB |
2668 | 2004-08-12 Paul Brook <paul@codesourcery.com> |
2669 | ||
2670 | * dwarf2out.h (dwarf2out_frame_finish): Conditionalize outputting eh | |
2671 | frame info. | |
2672 | * doc/tm.texi: Document interaction between TARGET_UNWIND_INFO and | |
2673 | DWARF2_UNWIND_INFO. | |
2674 | ||
87e184d1 BE |
2675 | 2004-08-12 Ben Elliston <bje@au.ibm.com> |
2676 | ||
2677 | PR target/16286 | |
2678 | * config/rs6000/altivec.h: Change vector to __vector throughout. | |
2679 | (Except for the `vector' macro itself). | |
2680 | ||
e543e219 ZW |
2681 | 2004-08-12 Zack Weinberg <zack@codesourcery.com> |
2682 | ||
2683 | * genpreds.c: Add capability to generate predicate bodies as | |
2684 | well as function prototypes. Write function prototypes for | |
2685 | the generic predicates too. | |
2686 | (process_define_predicate, write_tm_preds_h, write_insn_preds_c) | |
2687 | (write_predicate_subfunction, mark_mode_tests, add_mode_tests) | |
2688 | (write_match_code, write_predicate_expr, write_one_predicate_function) | |
2689 | (parse_option): New functions. | |
2690 | (output_predicate_decls): Delete. | |
2691 | (main): Read the machine description, process DEFINE_PREDICATE or | |
2692 | DEFINE_SPECIAL_PREDICATE patterns, write tm-preds.h or insn-preds.c | |
2693 | as appropriate. | |
2694 | ||
2695 | * genrecog.c (struct decision_test): Replace index with | |
2696 | struct pred_data pointer. | |
2697 | (next_index): Remove, unused. | |
2698 | (pred_table, preds, special_mode_pred_table): Delete. | |
2699 | (compute_predicate_codes, process_define_predicate): New functions. | |
2700 | (validate_pattern, add_to_sequence, write_switch): Update for | |
2701 | new data structures. | |
2702 | (main): Handle DEFINE_PREDICATE and DEFINE_SPECIAL_PREDICATE. | |
2703 | Check both error_count and have_error. | |
2704 | ||
2705 | * gensupport.c (in_fname, first_predicate): New globals. | |
2706 | (define_pred_queue, define_pred_tail): New RTL-pattern queue. | |
2707 | (predicate_table, last_predicate, old_pred_table) | |
2708 | (old_special_pred_table): New statics. | |
2709 | (hash_struct_pred_data, eq_struct_pred_data, lookup_predicate) | |
2710 | (add_predicate, init_predicate_table): New functions. | |
2711 | (process_rtx): Handle DEFINE_PREDICATE and DEFINE_SPECIAL_PREDICATE. | |
2712 | (init_md_reader_args_cb): Use the global in_fname. No need to zero | |
2713 | it or max_include_len. Call init_predicate_table. | |
2714 | (read_rtx): Run the predicate queue after the attribute queue | |
2715 | but before all the others. | |
2716 | * gensupport.h (in_fname, struct pred_data, first_predicate) | |
2717 | (lookup_predicate, add_predicate, FOR_ALL_PREDICATES): Declare. | |
2718 | * rtl.def (MATCH_CODE, MATCH_TEST, DEFINE_PREDICATE) | |
2719 | (DEFINE_SPECIAL_PREDICATE): New RTL codes. | |
2720 | * dummy-conditions.c: Don't include bconfig.h, system.h, | |
2721 | coretypes.h, tm.h, or system.h. Do include stddef.h. | |
2722 | Duplicate declaration of struct c_test from gensupport.h. | |
2723 | ||
2724 | * Makefile.in (OBJS-common): Add insn-preds.o. | |
2725 | (STAGESTUFF, .PRECIOUS): Add insn-preds.c. | |
2726 | (insn-preds.c, insn-preds.o): New rules. | |
2727 | (s-preds): Also generate insn-preds.c. | |
2728 | (dummy-conditions.o, genpreds$(build_exeext), genpreds.o): | |
2729 | Update dependencies. | |
2730 | (print-rtl.o, print-rtl1.o): Correct dependencies. | |
2731 | ||
2732 | * recog.h: Delete prototypes of predicate functions. | |
2733 | ||
2734 | * doc/md.texi (Predicates): New section with complete | |
2735 | documentation of operand/operator predicates. Remove some | |
2736 | incomplete documentation of predicates from other places. | |
2737 | * doc/tm.texi (Misc): Move SPECIAL_MODE_PREDICATES next to | |
2738 | PREDICATE_CODES; indicate that both are deprecated in favor | |
2739 | of define_predicate/define_special_predicate. | |
2740 | ||
2741 | * config/ia64/ia64.c: All predicate function definitions moved | |
2742 | to ia64.md, except | |
2743 | (small_addr_symbolic_operand, tls_symbolic_operand): Delete. | |
2744 | (ia64_expand_load_address, ia64_expand_move): | |
2745 | Check SYMBOL_REF_TLS_MODEL directly, don't use tls_symbolic_operand. | |
2746 | ||
2747 | * config/ia64/ia64.md: All predicates now defined here. | |
2748 | (symbolic_operand): Is now a special predicate. | |
2749 | ||
2750 | * config/ia64/ia64.h: Declare ia64_section_threshold. | |
2751 | (PREDICATE_CODES): Delete. | |
2752 | ||
174283a3 RH |
2753 | 2004-08-12 Richard Henderson <rth@redhat.com> |
2754 | ||
2755 | * c-common.h (STATEMENT_LIST_HAS_LABEL): New. | |
2756 | * c-semantics.c (add_stmt): Set it. | |
2757 | * c-decl.c (finish_decl): Use it to create a new BIND_EXPR | |
2758 | before instantiating a variable sized type. | |
2759 | ||
15931954 RH |
2760 | 2004-08-12 Richard Henderson <rth@redhat.com> |
2761 | ||
2762 | * stor-layout.c (round_up, round_down): Move ... | |
e543e219 | 2763 | * fold-const.c (round_up, round_down): ... here. Use |
15931954 RH |
2764 | multiple_of_p to avoid any arithmetic at all. |
2765 | ||
57d1dd87 RH |
2766 | 2004-08-12 Richard Henderson <rth@redhat.com> |
2767 | ||
2768 | * gimplify.c (struct gimplify_init_ctor_preeval_data): New. | |
2769 | (gimplify_init_ctor_preeval_1): New. | |
2770 | (gimplify_init_ctor_preeval): New. | |
2771 | (gimplify_init_ctor_eval): New. | |
2772 | (gimplify_init_constructor): Use them. Always gimplify the LHS | |
2773 | object first. | |
2774 | ||
46e34f96 ZL |
2775 | 2004-08-12 Ziemowit Laski <zlaski@apple.com> |
2776 | ||
2777 | (This patch is part of merge of objc-improvements-branch | |
2778 | into mainline.) | |
2779 | ||
2780 | * doc/frontends.texi: Mention Objective-C++ in addition to | |
2781 | Objective-C. | |
2782 | * doc/install.texi: Add 'obj-c++' to list of configurable | |
2783 | languages. | |
2784 | * doc/invoke.texi: Rename Objective-C option headings to | |
2785 | indicate they also apply to Objective-C++. List file | |
2786 | extensions for Objective-C++ sources. Mention that | |
2787 | ObjC and ObjC++ compilations may also use C and C++ options, | |
2788 | respectively. Point users to doc/standards.texi for | |
2789 | further info on ObjC and ObjC++. | |
2790 | * doc/sourcebuild.texi: Mention the objcp/ directory and | |
2791 | the Objective-C++ sources it contains. | |
2792 | * doc/standards.texi: Update link to Apple ObjC site; | |
2793 | add link to gcc readings.html WWW doc. | |
2794 | ||
07f12d8b AM |
2795 | 2004-08-12 Alan Modra <amodra@bigpond.net.au> |
2796 | ||
2797 | * config/rs6000/rs6000.c (function_arg_padding): Revert 2004-07-28 | |
2798 | and 2004-07-14 changes. | |
2799 | ||
89aa5a20 PB |
2800 | 2004-08-12 Paul Brook <paul@codesourcery.com> |
2801 | ||
2802 | * doc/invoke.texi: Fix typo. | |
2803 | ||
5079843a DP |
2804 | 2004-08-11 Devang Patel <dpatel@apple.com> |
2805 | ||
2806 | * config/darwin.h (TARGET_OPTION_TRANSLATE_TABLE): Add -dead_strip | |
2807 | and -no_dead_strip_inits_and_terms. | |
2808 | (LINK_SPEC): Same. | |
2809 | * doc/invoke.texi (Darwin Options): Document -dead_strip and | |
2810 | -no_dead_strip_inits_and_terms. | |
e543e219 | 2811 | |
876f13b0 PB |
2812 | 2004-08-11 Paul Brook <paul@codesourcery.com> |
2813 | ||
2814 | * config/arm/arm-protos.h (arm_finalize_pic) Rename ... | |
2815 | (arm_load_pic_register): ... to this. | |
2816 | * config/arm/arm.c (arm_finalize_pic): Rename ... | |
2817 | (arm_load_pic_register): ... to this. Always output insns at the | |
2818 | current location. Load via low reg in thumb mode. | |
2819 | (arm_expand_prologue): Call arm_load_pic_register. | |
2820 | (thumb_expand_prologue): Ditto. | |
2821 | * config/arm/arm.h (FINALIZE_PIC): Remove. | |
2822 | * config/arm/arm.md (builtin_setjmp_receiver): Call | |
2823 | arm_load_pic_register. | |
2824 | ||
57934c39 PB |
2825 | 2004-08-11 Paul Brook <paul@codesourcery.com> |
2826 | ||
2827 | * arm.c (thumb_force_lr_save): Add prototype. | |
2828 | (thumb_compute_save_reg_mask): New function. | |
2829 | (thumb_find_work_register): New function. | |
2830 | (arm_get_frame_offsets): Use thumb_compute_save_reg_mask. | |
2831 | (thumb_unexpanded_epilogue): Ditto. Remove redundant code. | |
2832 | Don't clobber r3 when removing pretend args. | |
2833 | (thumb_expand_prologue): Use thumb_compute_save_reg_mask. | |
2834 | (thumb_output_function_prologue): Use new functions. | |
2835 | (thumb_set_return_address): Use thumb_compute_save_reg_mask. | |
2836 | * arm.h (THUMB_REG_PUSHED_P): Remove. | |
2837 | ||
af874237 JW |
2838 | 2004-08-11 James E Wilson <wilson@specifixinc.com> |
2839 | ||
2840 | PR rtl-optimization/16490 | |
2841 | * cfgrtl.c (cfg_layout_split_edge): Set global_live_at_start and | |
2842 | global_live_at_end for new basic block if already set for other blocks. | |
2843 | ||
c1618c0c DE |
2844 | 2004-08-11 David Edelsohn <edelsohn@gnu.org> |
2845 | ||
2846 | * config/rs6000/rs6000.h (MAX_FIXED_MODE_SIZE): Define. | |
2847 | ||
2848 | * config/rs6000/rs6000.md (mfcr rlwinm patterns): Set length to 8. | |
2849 | (mfcr rlwinm rlwinm patterns): Set length to 12. | |
2850 | ||
1a24f92f AM |
2851 | 2004-08-11 Andrew MacLeod <amacleod@redhat.com> |
2852 | ||
2853 | * tree-flow-inline.h (get_def_ops, get_use_ops, get_v_may_def_ops, | |
2854 | get_vuse_ops,get_v_must_def_ops): Add operand structure reference. | |
2855 | (get_v_may_def_result_ptr, get_v_may_def_op_ptr): New access struct. | |
2856 | (start_ssa_stmt_operands): Delete. | |
e543e219 | 2857 | * tree-flow.h (struct stmt_ann_d): Replace operand vectors with new |
1a24f92f AM |
2858 | struct stmt_operands_d. |
2859 | (build_ssa_operands): New extern entry point. | |
e543e219 | 2860 | * tree-ssa-dom.c (record_equivalences_from_stmt): Remove operand |
1a24f92f AM |
2861 | building code, replace with create_ssa_artficial_load_stmt(). |
2862 | * tree-ssa-operands.c (struct voperands_d): Delete. | |
2863 | (allocate_v_may_def_optype): Allocate v_may_def_operand_type_t vector. | |
2864 | (allocate_v_must_def_optype): Use sizeof (tree), not sizeof (tree *). | |
e543e219 | 2865 | (free_uses, free_defs, free_vuses, free_v_may_defs, |
1a24f92f AM |
2866 | free_v_must_defs): Remove dealloc parameter. |
2867 | (remove_vuses, remove_v_may_def, remove_v_must_defs): Delete. | |
2868 | (finalize_ssa_defs, finalize_ssa_uses, finalize_ssa_v_may_defs, | |
2869 | finalize_ssa_vuses, finalize_ssa_v_must_defs): Perform all operand | |
2870 | vector comparisons, ssa_name reuse, and allocations here. | |
2871 | (verify_start_operands): Delete. | |
2872 | (finalize_ssa_stmt_operands): Set new operands by calling finalize | |
2873 | routines. | |
2874 | (start_ssa_stmt_operands): Move from tree-flow-inline.h. | |
2875 | (append_def, append_usei): Simplify to simple accumulation. | |
2876 | (append_v_may_def, append_vuse, append_v_must_def): Simplify to avoiding | |
2877 | duplicates and simple accumulation. | |
2878 | (free_ssa_operands): Free vectors in a stmt_operand structure. | |
2879 | (build_ssa_operands): New. Create a new stmt_operand structure from | |
e543e219 | 2880 | a stmt and an old set of stmt_operands. |
1a24f92f AM |
2881 | (get_stmt_operands): Simplify and call build_ssa_operands. |
2882 | (get_expr_operands, get_asm_expr_operands, get_indirect_ref_operands, | |
2883 | get_call_expr_operands, add_stmt_operand, add_call_clobber_ops, | |
2884 | add_call_read_ops): Don't pass prev_vops around anymore. | |
2885 | (note_addressable): Return if no stmt annotation. | |
2886 | (copy_virtual_operands): Access v_may_def operands through a struct. | |
2887 | (create_ssa_artficial_load_stmt): New. Create a load stmt for DOM's | |
2888 | hash tables without treating the stmt as a real stmt. | |
2889 | * tree-ssa-operands.h (struct v_may_def_operand_type): New. Access | |
2890 | v_may_def def and use through a struct instead of 2 array elements. | |
2891 | (struct v_may_def_optype_d): Use v_may_def_operand_type. | |
2892 | (struct stmt_operands_d): New. Struct for storing all operand vectors. | |
2893 | ||
a77655b1 NC |
2894 | 2004-08-11 Nick Clifton <nickc@redhat.com> |
2895 | ||
2896 | * config/arm/arm.c (arm_is_longcall_p): Update comment describing | |
2897 | this funciton's behaviour. Return true when the current function | |
2898 | has a section attribute and -mlong-calls is in effect. | |
2899 | * config/arm/arm.h (ARM_DECLARE_FUNCTION_SIZE): Do not set the | |
2900 | short-call marker when -mlong-calls is in effect and the function | |
2901 | has a section attribute. | |
2902 | ||
6f4a43e0 ZW |
2903 | 2004-08-10 Zack Weinberg <zack@codesourcery.com> |
2904 | ||
2905 | * stmt.c (expand_return): If asked to return the RESULT_DECL, | |
2906 | just call expand_value_return on result_rtl. | |
2907 | ||
1a186ec5 RH |
2908 | 2004-08-10 Richard Henderson <rth@redhat.com> |
2909 | ||
2910 | * builtins.def (BUILT_IN_STACK_ALLOC): Remove. | |
2911 | * builtins.c (expand_builtin) <BUILT_IN_STACK_ALLOC>: Remove. | |
2912 | * dwarf2out.c (loc_descriptor): Handle PARALLEL here ... | |
2913 | (add_location_or_const_value_attribute): ... not here. Use | |
2914 | loc_descriptor_from_tree if possible. | |
2915 | (loc_descriptor_from_tree_1): Rename from loc_descriptor_from_tree. | |
2916 | Simplify address handling. Handle DECL_VALUE_EXPR. Handle register | |
2917 | values specially. | |
2918 | (loc_descriptor_from_tree): New. Update callers. | |
2919 | * expr.c (expand_var): Ignore DECL_VALUE_EXPR variables. | |
2920 | * gimplify.c (gimplify_decl_expr): Lower variable sized types to | |
2921 | pointer plus dereference. Set DECL_VALUE_EXPR. Set save_stack. | |
2922 | (gimplify_call_expr): Do not recognize BUILT_IN_STACK_ALLOC | |
2923 | and BUILT_IN_STACK_RESTORE. | |
2924 | (gimplify_expr): Lower DECL_VALUE_EXPR decls. | |
2925 | * stmt.c (expand_stack_alloc): Remove. | |
2926 | * tree-mudflap.c (mx_register_decls): Don't look for | |
2927 | BUILT_IN_STACK_ALLOC. | |
2928 | * tree-nested.c (convert_local_reference): Likewise. | |
2929 | * tree.h (DECL_VALUE_EXPR): New. | |
2930 | ||
7109c195 RH |
2931 | 2004-08-10 Richard Henderson <rth@redhat.com> |
2932 | ||
bf4ccdd6 RH |
2933 | * stor-layout.c (round_up): Check for 0/1 before dividing. |
2934 | (round_down): Likewise. | |
2935 | ||
7109c195 RH |
2936 | * tree-tailcall.c (suitable_for_tail_opt_p): Also check DECL_EXTERNAL. |
2937 | ||
b3f8d95d MM |
2938 | 2004-08-09 Mark Mitchell <mark@codesourcery.com> |
2939 | ||
2940 | * config.gcc (arm*-*-eabi*): New target. | |
2941 | * defaults.h (TARGET_LIBGCC_FUNCS): New macro. | |
2942 | (TARGET_LIB_INT_CMP_BIASED): Likewise. | |
2943 | * expmed.c (expand_divmod): Try a two-valued divmod function as a | |
2944 | last resort. | |
2945 | * gthr.h: Remove bogus tokens at end of #pragma. | |
2946 | * optabs.c (expand_twoval_binop_libfunc): New function. | |
2947 | (prepare_cmp_insn): Handle the !TARGET_LIB_INT_CMP_BIASED case. | |
2948 | (prepare_float_lib_cmp): Try reversing the condition. | |
2949 | (debug_optab_libfuncs): New function. | |
2950 | * optabs.h (expand_twoval_binop_libfunc): Declare. | |
2951 | * config/arm/arm.c (arm_init_libfuncs): New function. | |
2952 | (arm_compute_initial_eliminatino_offset): Return HOST_WIDE_INT. | |
2953 | (TARGET_INIT_LIBFUNCS): Define it. | |
2954 | * config/arm/arm.h (TARGET_BPABI): New macro. | |
2955 | * config/arm/arm-protos.h | |
2956 | (arm_compute_initial_elimination_offset): Return HOST_WIDE_INT. | |
2957 | * config/arm/bpabi.S: New file. | |
2958 | * config/arm/bpabi.c: Likewise. | |
2959 | * config/arm/bpabi.h: Likewise. | |
2960 | * config/arm/ieee754-df.S (__aeabi_dneg): New function or alias. | |
2961 | (__aeabi_drsub): Likewise. | |
2962 | (__aeabi_dsub): Likewise. | |
2963 | (__aeabi_dadd): Likewise. | |
2964 | (__aeabi_ui2d): Likewise. | |
2965 | (__aeabi_i2d): Likewise. | |
2966 | (__aeabi_f2d): Likewise. | |
2967 | (__aeabi_dmul): Likewise. | |
2968 | (__aeabi_ddiv): Likewise. | |
2969 | (__aeabi_cdrcmple): Likewise. | |
2970 | (__aeabi_cdcmpeq): Likewise. | |
2971 | (__aeabi_cdcmple): Likewise. | |
2972 | (__aeabi_dcmpeq): Likewise. | |
2973 | (__aeabi_dcmplt): Likewise. | |
2974 | (__aeabi_dcmple): Likewise. | |
2975 | (__aeabi_dcmpge): Likewise. | |
2976 | (__aeabi_dcmpgt): Likewise. | |
2977 | (__aeabi_dcmpun): Likewise. | |
2978 | (__aeabi_d2iz): Likewise. | |
2979 | (__aeabi_d2uiz): Likewise. | |
2980 | (__aeabi_d2f): Likewise. | |
2981 | * config/arm/ieee754-sf.S (__aeabi_fneg): New function or alias. | |
2982 | (__aeabi_frsub): Likewise. | |
2983 | (__aeabi_fsub): Likewise. | |
2984 | (__aeabi_fadd): Likewise. | |
2985 | (__aeabi_ui2f): Likewise. | |
2986 | (__aeabi_i2f): Likewise. | |
2987 | (__aeabi_fmul): Likewise. | |
2988 | (__aeabi_fdiv): Likewise. | |
2989 | (__aeabi_cfrcmple): Likewise. | |
2990 | (__aeabi_cfcmpeq): Likewise. | |
2991 | (__aeabi_cfcmple): Likewise. | |
2992 | (__aeabi_fcmpeq): Likewise. | |
2993 | (__aeabi_fcmplt): Likewise. | |
2994 | (__aeabi_fcmple): Likewise. | |
2995 | (__aeabi_fcmpge): Likewise. | |
2996 | (__aeabi_fcmpgt): Likewise. | |
2997 | (__aeabi_fcmpun): Likewise. | |
2998 | (__aeabi_f2iz): Likewise. | |
2999 | (__aeabi_f2uiz): Likewise. | |
3000 | * config/arm/lib1funcs.asm (ARM_CALL): New macro. | |
3001 | (__aeabi_uidivmod): New function or alias. | |
3002 | (__aeabi_idivmod): Likewise. | |
3003 | (__aeabi_idiv0): Likewise. | |
3004 | (__aeabi_ldiv0): Likewise. | |
3005 | (__aeabi_llsr): Likewise. | |
3006 | (__aeabi_lasr): Likewise. | |
3007 | (__aeabi_llsl): Likewise. | |
3008 | (bpabi.S): Include it. | |
3009 | * config/arm/libgcc-bpabi.ver: New file. | |
3010 | * config/arm/symbian.h (ARM_DEFAULT_ABI): Remove. | |
3011 | (LINK_SPEC): Remove. | |
3012 | * config/arm/t-arm-elf (LIB1ASMFUNCS): Add __aeabi_lcmp and | |
3013 | __aeabi_ulcmp. | |
3014 | * config/arm/t-bpabi: New file. | |
3015 | * doc/tm.texi (TARGET_LIBGCC_FUNCS): New entry. | |
3016 | (TARGET_LIB_INT_CMP_BIASED): Likewise. | |
6f4a43e0 | 3017 | |
fba73eb1 DE |
3018 | 2004-08-10 David Edelsohn <edelsohn@gnu.org> |
3019 | ||
3020 | * config/rs6000/rs6000-protos.h (expand_block_clear): Declare. | |
3021 | * config/rs6000/rs6000.md (clrmemsi): New pattern. | |
3022 | * config/rs6000/rs6000.c (expand_block_clear): New function. | |
3023 | (expand_block_move): Convert alignment to bits. Use SImode and | |
3024 | HImode for unaligned addresses if not STRICT_ALIGNMENT. | |
3025 | ||
3026 | 2004-08-10 Caroline Tice <ctice@apple.com> | |
c295317d CT |
3027 | |
3028 | * varasm.c (unlikely_section_label): New global variable. | |
3029 | (unlikely_text_section_name): New global variable. | |
3030 | (text_section): Remove alignment statement. | |
6f4a43e0 | 3031 | (unlikely_text_section): Remove alignment statement; use |
c295317d CT |
3032 | unlikely_section_label rather than hard-coded string. |
3033 | (assemble_start_function): Initialize unlikely_section_label and | |
3034 | unlikely_text_section_name; make sure cold section is properly | |
3035 | aligned at start of function; output unlikely_section_label if | |
3036 | appropriate. | |
3037 | ||
68f9c5e2 UW |
3038 | 2004-08-10 Ulrich Weigand <uweigand@de.ibm.com> |
3039 | ||
3040 | * config/s390/s390-protos.h (s390_canonicalize_comparison): Declare. | |
3041 | * config/s390/s390.c (s390_canonicalize_comparison): New function. | |
3042 | * config/s390/s390.h (CANONICALIZE_COMPARISON): Define. | |
3043 | * config/s390/s390.md ("*tmdi_ext", "*tmsi_ext", "*tmqisi_ext", | |
3044 | "*tmqidi_ext", "*tmdi_mem", "*tmsi_mem", "*tmhi_mem"): Remove. | |
3045 | ("*tmqi_mem"): Remove SUBREG from pattern. | |
3046 | ("*anddi3_cconly"): Prevent accidentally matching TM pattern. | |
3047 | ("*andsi3_cconly"): Likewise. | |
6f4a43e0 | 3048 | |
22116d84 L |
3049 | 2004-08-10 H.J. Lu <hongjiu.lu@intel.com> |
3050 | ||
3051 | PR target/16909 | |
3052 | * config/i386/i386.md (*strsetdi_rex_1): Use DI instead of SI. | |
3053 | ||
c75095b2 JJ |
3054 | 2004-08-10 Janis Johnson <janis187@us.ibm.com> |
3055 | ||
3056 | * doc/sourcebuild.texi (compat testing): Document available test | |
3057 | framework commands. Use the preferred spelling of DejaGnu. | |
3058 | ||
98975653 DB |
3059 | 2004-08-10 Daniel Berlin <dberlin@dberlin.org> |
3060 | ||
3061 | * lambda.h: Add matrix type, and prototypes for remainder of | |
3062 | matrix and vector functions. | |
3063 | (lambda_vector_mult_const): New function. | |
3064 | (lambda_vector_negate): Ditto. | |
3065 | (lambda_vector_add): Ditto. | |
3066 | (lambda_vector_add_mc): Ditto. | |
3067 | (lambda_vector_copy): Ditto. | |
3068 | (lambda_vector_zerop): Ditto. | |
3069 | (lambda_vector_equal): Ditto. | |
3070 | (lambda_vector_min_nz): Ditto. | |
3071 | (lambda_vector_first_nz): Ditto. | |
3072 | (lambda_vector_matrix_mult): Ditto. | |
3073 | * lambda-mat.c: New file. | |
3074 | * Makefile.in (lambda-mat.o): New. | |
3075 | ||
68b9f53b AM |
3076 | 2004-08-10 Andrew MacLeod <amacleod@redhat.com> |
3077 | ||
3078 | * tree-cfg.c (bsi_insert_before, bsi_insert_after): Call modify_stmt | |
3079 | after linking stmt into the program. | |
3080 | (bsi_remove): Don't call modify_stmt. | |
6f4a43e0 | 3081 | * tree-complex.c (update_complex_assignment, |
68b9f53b | 3082 | expand_complex_comparison): Call modify_stmt after changing the stmt. |
6f4a43e0 | 3083 | * tree-outof-ssa.c (rewrite_trees): Call modify_stmt only if not |
68b9f53b AM |
3084 | removing the stmt. |
3085 | * tree-ssa-ccp.c (substitute_and_fold): Call modify_stmt after changing | |
3086 | the stmt, and only if needed. | |
3087 | * tree-ssa-dom.c (thread_across_edge): Pass no annotation for a dummy | |
3088 | expression. | |
3089 | (simplify_rhs_and_lookup_avail_expr): Don't take an annotation param. | |
3090 | (simplify_cond_and_lookup_avail_expr): Use modify_stmt. | |
3091 | (simplify_switch_and_lookup_avail_expr): Don't take an annotation param. | |
6f4a43e0 | 3092 | (eliminate_redundant_computations): Don't pass an annotation. Call |
68b9f53b AM |
3093 | modify_stmt rather than setting the annotation directly. |
3094 | (record_equivalences_from_stmt): Remove unused local 'j'. | |
3095 | (cprop_operand): Take a stmt rather than an annotation as a parameter. | |
3096 | Call modify_stmt. | |
3097 | (cprop_into_stmt): Pass stmt rather than annotation. | |
3098 | (update_rhs_and_lookup_avail_expr): Call modify_stmt. | |
6f4a43e0 | 3099 | * tree-ssa-loop-im.c (schedule_sm): Call get_stmt_ann rather than |
68b9f53b AM |
3100 | modify_stmt. |
3101 | * tree-ssa.c (propagate_into_addr): Dont call modify_stmt. | |
3102 | ||
01c98570 JM |
3103 | 2004-08-10 Jason Merrill <jason@redhat.com> |
3104 | ||
6c9c4526 | 3105 | PR middle-end/16948 |
01c98570 JM |
3106 | * function.c (expand_function_start): Handle DECL_BY_REFERENCE on |
3107 | the RESULT_DECL. | |
3108 | ||
b2ddaebb GK |
3109 | 2004-08-10 Geoffrey Keating <geoffk@apple.com> |
3110 | ||
3111 | * tree-vn.c (val_expr_pair_expr_eq): Compare vuses, to match the | |
3112 | hash function. | |
3113 | ||
23657388 RS |
3114 | 2004-08-10 Roger Sayle <roger@eyesopen.com> |
3115 | ||
3116 | * config/mips/mips.md: New reciprocal square root patterns that | |
3117 | match sqrt(1.0/x) in addition to the existing 1.0/sqrt(x) insns. | |
3118 | ||
c9ca9b88 PB |
3119 | 2004-08-10 Paul Brook <paul@codesourcery.com> |
3120 | ||
3121 | * config/arm/arm-protos.h (arm_set_return_address, | |
3122 | thumb_set_return_address): Add prototypes. | |
3123 | * config/arm/arm.h (ARM_FT_EXCEPTION_HANDLER): Remove. | |
3124 | * config/arm/arm.c (arm_compute_func_type, | |
3125 | use_return_insn, arm_compute_save_reg0_reg12_mask, | |
3126 | arm_compute_save_reg_mask, arm_output_function_prologue, | |
3127 | arm_output_epilogue): Replace ARM_FT_EXCEPTION_HANDLER with | |
3128 | current_function_calls_eh_return. | |
3129 | (thumb_exit, thumb_pushpop, thumb_unexpanded_epilogue): Replace | |
3130 | old eh code. | |
3131 | (arm_set_return_address, thumb_set_return_address): New functions. | |
3132 | * config/arm/arm.h (MUST_USE_SJLJ_EXCEPTIONS, DWARF2_UNWIND_INFO, | |
3133 | ARM_EH_STACKADJ_REGNUM, EH_RETURN_STACKADJ_RTX): Define. | |
3134 | * config/arm/arm.md (VUNSPEC_EH_RETURN): Add. | |
3135 | (epilogue): Use the stackadj register. | |
3136 | (eh_return, arm_eh_return, thumb_eh_return): New pattern. | |
3137 | ||
45d78e7f JJ |
3138 | 2004-08-10 Jakub Jelinek <jakub@redhat.com> |
3139 | ||
3140 | PR target/3144 | |
3141 | * expr.c (move_by_pieces_ninsns): Add max_size argument. | |
3142 | (MOVE_BY_PIECES_P): Pass MOVE_MAX_PIECES + 1 to it. | |
3143 | (CLEAR_BY_PIECES_P): Pass STORE_MAX_PIECES + 1 to it. | |
3144 | (STORE_BY_PIECES_P): Define similarly to CLEAR_BY_PIECES_P, | |
3145 | but using MOVE_RATIO. | |
3146 | (move_by_pieces): Pass max_size to move_by_pieces_ninsns. | |
3147 | (can_store_by_pieces): Change max_size type to unsigned int. | |
3148 | (store_by_pieces_1): Likewise. Pass max_size to | |
3149 | move_by_pieces_ninsns. | |
3150 | * config/s390/s390.h (STORE_BY_PIECES_P): Define. | |
3151 | * config/sh/sh.c (MOVE_BY_PIECES_P): Pass MOVE_MAX_PIECES + 1 | |
3152 | to move_by_pieces_ninsns. | |
3153 | (STORE_BY_PIECES_P): Define. | |
3154 | * config/ns32k/ns32k.h (STORE_BY_PIECES_P): Pass STORE_MAX_PIECES + 1 | |
3155 | to move_by_pieces_ninsns. | |
3156 | * doc/tm.texi (STORE_BY_PIECES_P): Document changed default. | |
3157 | ||
3158 | * config/i386/i386.h (CLEAR_RATIO): Define. | |
3159 | ||
25f3e06c PB |
3160 | 2004-08-09 Paolo Bonzini <bonzini@gnu.org> |
3161 | ||
3162 | * expr.c (expand_expr_real_1): Add back code that was not dead. | |
3163 | ||
6a3203c8 AP |
3164 | 2004-08-09 Andrew Pinski <apinski@apple.com> |
3165 | ||
3166 | * c-common.c (c_common_get_alias_set): Set the aliasing set of the type | |
3167 | which is found to be compatible before returning the aliasing set. | |
3168 | ||
b9bfca81 DJ |
3169 | 2004-08-09 Daniel Jacobowitz <dan@debian.org> |
3170 | ||
3171 | * ggc-zone.c (struct alloc_zone): Add statistics counters. | |
3172 | (always_collect): New flag. | |
3173 | (ggc_alloc_zone_1): Update statistics support. Don't include | |
3174 | overhead in allocated counter. | |
3175 | (sweep_pages): Update allocated counter for large pages. Don'y | |
3176 | include overhead. | |
3177 | (ggc_collect_1): Always collect. | |
3178 | (ggc_collect): Honor always_collect flag. Sum all zones to decide | |
3179 | whether to collect. | |
3180 | (SCALE, LABEL): New macros. | |
3181 | (ggc_print_statistics): Add statistics support. | |
3182 | ||
fdded401 RS |
3183 | 2004-08-09 Roger Sayle <roger@eyesopen.com> |
3184 | ||
3185 | * expmed.c (sdiv_pow2_cheap, smod_pow2_cheap): Change type to bool. | |
3186 | (init_expmed): Fix potential overrun problem with "all.reg". | |
3187 | (expand_sdiv2_pow2): Add an alternate implementation for signed | |
3188 | division, if the target provides a suitable conditional move insn. | |
3189 | ||
9d8646d7 PB |
3190 | 2004-08-09 Paul Brook <paul@codesourcery.com> |
3191 | Richard Henderson <rth@redhat.com> | |
3192 | ||
3193 | * unwind-dw2.c (uw_install_context_1): Update target saved stack | |
3194 | pointer. | |
3195 | ||
d37e6b50 GK |
3196 | 2004-08-09 Geoffrey Keating <geoffk@apple.com> |
3197 | ||
3198 | * ggc-common.c (ggc_rlimit_bound): Don't check RSS limit. | |
3199 | Check DATA limit only if there's no AS limit. Ignore insanely | |
3200 | low DATA limits. | |
3201 | (ggc_min_heapsize_heuristic): Don't divide AS or RSS limits by 8, | |
3202 | but take care that the AS limit isn't overrun. | |
3203 | * doc/invoke.texi: Update documentation of min-heapsize parameter. | |
3204 | ||
56b043c8 JL |
3205 | 2004-08-09 Jeff Law <law@redhat.com> |
3206 | ||
3207 | * Makefile.in (OBJC-common): Add tree-ssa-threadupdate.c | |
3208 | (tree-ssa-threadupdate.o): Add dependencies. | |
3209 | * tree-ssa-threadupdate.c: New file. | |
3210 | * tree-flow.h (incoming_edge_threaded): New flag in block annotation. | |
3211 | (rewrite_vars_out_of_ssa): Remove prototype. | |
3212 | (cleanup_tree_cfg): Returns a bool. | |
3213 | * tree.h (thread_through_all_blocks): Prototype. | |
3214 | * tree-outof-ssa.c (SSANORM_*): Move into here. | |
3215 | (remove_ssa_form): Now static. | |
3216 | (rewrite_vars_out_of_ssa): Kill. | |
3217 | * tree-ssa-live.c (register_ssa_partitions_for_vars): Kill. | |
3218 | * tree-ssa-live.h (SSANORM_*): Moved into tree-outof-ssa.c. | |
3219 | (remove_ssa_form, register_partitions_for_vars): Kill declarations. | |
3220 | * tree-cfg.c (cleanup_tree_cfg): Return a value indicating if | |
3221 | anything was changed. | |
3222 | * tree-phinodes.c (add_phi_arg): Get the block for the PHI | |
3223 | from the PHI's annotation rather than the edge associated with | |
3224 | the new argument. | |
3225 | * tree-ssa-dom.c (redirection_edges): Kill. | |
3226 | (redirect_edges_and_update_ssa_graph): Kill. | |
3227 | (tree_ssa_dominator_optimize): Do not reset forwardable flag | |
3228 | for blocks anymore. Do not initialize redirection_edges. | |
3229 | Call thread_through_all_blocks. Simplify code for cleanup | |
3230 | of the CFG and iterating. No longer call cleanup_tree_cfg | |
3231 | outside the iteration loop. | |
3232 | (thread_across_edge): No longer mess with forwardable blocks. | |
3233 | ||
9b305d55 ZW |
3234 | 2004-08-09 Zack Weinberg <zack@codesourcery.com> |
3235 | ||
3236 | * explow.c (memory_address): Use memory_address_p. | |
3237 | * recog.c (general_operand): Likewise. | |
3238 | * regrename.c: No need to define REG_OK_STRICT. | |
3239 | ||
27fb79ad SB |
3240 | 2004-08-09 Steven Bosscher <stevenb@suse.de> |
3241 | ||
3242 | * timevar.def (TV_CPROP1, TV_CPROP2, TV_PRE, TV_HOIST, TV_LSM): | |
3243 | New timers. | |
3244 | * gcse.c: Include timevar.h. | |
3245 | (const_prop_count, copy_prop_count): Rename to global_const_prop_count | |
3246 | and global_copy_prop_count. | |
3247 | (local_const_prop_count, local_copy_prop_count): New static globals. | |
3248 | (gcse_main): Set the right timevar for each pass. | |
3249 | (cprop_jump): Increment global_const_prop_count when a constant is | |
3250 | propagated. Add "GLOBAL" to dump output. | |
3251 | (cprop_insn): Increment global_const_prop_count when a constant is | |
3252 | propagated, or global_copy_prop_count when a copy is propagated. | |
3253 | (do_local_cprop): Likewise for local_const_prop_count and | |
3254 | local_copy_prop_count. | |
3255 | (one_cprop_pass): Initialize const/cprop counters to zero. | |
3256 | Print out results of local and global const/cprop separately. | |
3257 | (bypass_block): Break over-length line. | |
702d4b73 SB |
3258 | * Makefile.in (gcse.o): Add TIMEVAR_H dependency. Fix dependencies |
3259 | for bb-reorder.o and tracer.o. | |
27fb79ad | 3260 | |
7efcb746 PB |
3261 | 2004-08-09 Paolo Bonzini <bonzini@gnu.org> |
3262 | ||
3263 | * Makefile.in (GTFILES): Remove stmt.c | |
3264 | (stmt.o): Do not depend on gt-stmt.h. | |
3265 | * emit-rtl.c (emit_line_note): Do not call | |
3266 | set_file_and_line_for_stmt. | |
3267 | * expr.c (expand_expr_real_1) <SWITCH_EXPR>: Let expand_case | |
3268 | do everything. | |
3269 | * function.c (free_after_parsing): Do not free STMT field. | |
3270 | (allocate_struct_function): Do not call init_stmt_for_function. | |
3271 | (assign_stack_temp_for_type): Do not accept values of keep | |
3272 | other than 0 or 1. | |
3273 | (init_temp_slots): Do not initialize removed variables. | |
3274 | * function.h (struct function): Remove STMT, X_TARGET_TEMP_SLOT_LEVEL | |
3275 | and X_VAR_TEMP_SLOT_LEVEL fields. | |
3276 | * rtl.h (set_file_and_line_for_stmt): Remove. | |
3277 | * stmt.c (struct nesting, ALLOC_NESTING, POPSTACK, | |
3278 | struct stmt_status, cond_stack, case_stack, nesting_stack, | |
3279 | nesting_depth, emit_locus, set_file_and_line_for_stmt, | |
3280 | same_case_target_p, init_stmt_for_function, emit_nop, | |
3281 | expand_start_cond, expand_start_elseif, expand_start_else, | |
3282 | expand_elseif, expand_end_cond): Remove. | |
3283 | (preserve_subexpressions_p): Remove references to CFUN->STMT. | |
3284 | (expand_start_case, expand_end_case_type): Remove, merge into... | |
3285 | (expand_case): ... this one, including other bits from | |
3286 | expand_expr_real_1. Inline same_case_target_p. Turn members | |
3287 | of CASE_STACK into local variables. | |
3288 | (emit_case_bit_tests): Inline same_case_target_p. | |
3289 | (add_case_node): Add HEAD argument, return new head of the list, | |
3290 | do not handle default label here. | |
3291 | * tree.h (expand_start_cond, expand_end_cond, expand_start_else, | |
3292 | expand_start_elseif, current_nesting_level, expand_start_case, | |
3293 | expand_end_case_type, expand_end_case, add_case_node, | |
3294 | init_stmt_for_function, expand_elseif): Remove prototypes. | |
3295 | (expand_case): Add prototype. | |
3296 | ||
c4d70ce3 PB |
3297 | 2004-08-09 Paolo Bonzini <bonzini@gnu.org> |
3298 | ||
3299 | * expr.c (expand_expr_real_1): Use optab_for_tree_code. | |
3300 | ||
3301 | 2004-08-09 Paolo Bonzini <bonzini@gnu.org> | |
e5bacf32 PB |
3302 | |
3303 | * expr.c (var_rtx): Remove. | |
3304 | (expand_expr_real_1) <LOOP_EXPR, EXIT_EXPR, | |
3305 | LABELED_BLOCK_EXPR, EXIT_BLOCK_EXPR, TRUTH_ANDIF_EXPR, | |
3306 | TRUTH_ORIF_EXPR, COMPOUND_EXPR, CONJ_EXPR, INIT_EXPR>: | |
3307 | Abort. | |
3308 | (expand_expr_real_1) <COND_EXPR>: Remove most special cases. | |
3309 | * optabs.c (emit_clr_insn, emit_0_to_1_insn): Remove. | |
3310 | * optabs.h (emit_clr_insn, emit_0_to_1_insn): Remove. | |
3311 | ||
d72372e4 MH |
3312 | 2004-08-08 Mostafa Hagog <mustafa@il.ibm.com> |
3313 | Ayal Zaks <zaks@il.ibm.com> | |
3314 | ||
3315 | * common.opt (freschedule-modulo-scheduled-loops): New flag. | |
3316 | * final.c (final_scan_insn): Handle NOTE_DISABLE_SCHED_OF_BLOCK. | |
3317 | * modulo-sched.c (sms_schedule): Emit a note to disable scheduling | |
3318 | when -freschedule-modulo-scheduled-loops flag is not specified. | |
3319 | (sms_schedule_by_order, ps_insn_advance_column, add_node_to_ps, | |
3320 | add_node_to_ps, ps_has_conflicts, ps_add_node_check_conflicts): | |
3321 | More accurate placing of insn in row of partial schedule. | |
3322 | (ps_insn_find_column): New function. | |
3323 | * rtl.h (NOTE_DISABLE_SCHED_OF_BLOCK): New note. | |
3324 | * sched-rgn.c (sched_is_disabled_for_current_region_p): New. | |
3325 | (schedule_region): Use sched_is_disabled_for_current_region_p. | |
3326 | * docs/invoke.texi: Document -freschedule-modulo-scheduled-loops. | |
3327 | ||
0737fbff L |
3328 | 2004-08-07 H.J. Lu <hongjiu.lu@intel.com> |
3329 | ||
3330 | * config/i386/i386.c (ix86_expand_clrmem): Revert the last | |
3331 | change. | |
3332 | ||
11c4576f L |
3333 | 2004-08-07 H.J. Lu <hongjiu.lu@intel.com> |
3334 | ||
3335 | * config/i386/i386.c (ix86_expand_clrmem): Properly call | |
3336 | gen_strset for 64bit target. | |
3337 | ||
34def210 OH |
3338 | 2004-08-07 Olivier Hainque <hainque@act-europe.fr> |
3339 | ||
3340 | * config/vxworks.h (HANDLE_SYSV_PRAGMA): Remove definition. | |
3341 | ||
5201931e JM |
3342 | 2004-08-07 Jason Merrill <jason@redhat.com> |
3343 | ||
cc77ae10 JM |
3344 | Make return in memory explicit. |
3345 | * function.c (aggregate_value_p): Check DECL_BY_REFERENCE. | |
3346 | (assign_parm_find_data_types): Remove code for old front end | |
3347 | invisible reference handling. | |
3348 | (assign_parms): Handle DECL_BY_REFERENCE on the RESULT_DECL. | |
3349 | (expand_function_end): Likewise. | |
3350 | * gimplify.c (gimplify_return_expr): Handle a dereferenced | |
3351 | RESULT_DECL. | |
3352 | * tree-inline.c (copy_body_r): Don't bother looking for &* anymore. | |
3353 | (declare_return_variable): Handle DECL_BY_REFERENCE. | |
3354 | * cp/cp-gimplify.c (is_invisiref_parm): Also handle RESULT_DECL. | |
3355 | (cp_genericize_r): Use convert_from_reference. | |
3356 | Don't dereference a RESULT_DECL directly inside a RETURN_EXPR. | |
3357 | (cp_genericize): Handle the RESULT_DECL. Unset TREE_ADDRESSABLE. | |
3358 | ||
5201931e JM |
3359 | * c-common.c (c_warn_unused_result): Check TREE_USED before |
3360 | warning about a CALL_EXPR with an unused value. | |
3361 | ||
2ed9e527 MM |
3362 | 2004-08-06 Mark Mitchell <mark@codesourcery.com> |
3363 | ||
3364 | * config/arm/symbian.h (CC1_SPEC): Avoid passing duplicate options | |
3365 | to the compiler. Use -fshort-wchar by default. | |
3366 | ||
12183e0f PH |
3367 | 2004-08-06 Pat Haugen <pthaugen@us.ibm.com> |
3368 | ||
3369 | * params.def (PARAM_MIN_CROSSJUMP_INSNS): New. | |
3370 | * cfgcleanup.c (try_crossjump_to_edge): Add minimum insn match | |
3371 | threshhold. | |
3372 | * doc/invoke.texi (param): Document min-crossjump-insns. | |
3373 | ||
eaac4679 RS |
3374 | 2004-08-06 Richard Sandiford <rsandifo@redhat.com> |
3375 | ||
3376 | PR c/13282 | |
3377 | * c.opt (Wmissing-field-initializers): New option. | |
3378 | * c-opts.c (c_common_post_options): Make -Wextra turn it on by default. | |
3379 | * c-typeck.c (pop_init_level): Guard the missing field warning with | |
3380 | warn_missing_field_initializers rather than extra_warnings. | |
3381 | * doc/invoke.texi (-Wmissing-field-initializers): Document, moving | |
3382 | some of the explanation from... | |
3383 | (-Wextra): ...here. Say that the missing field warning can be | |
3384 | seperately controlled by -Wmissing-field-initializers. | |
3385 | ||
caad9f81 PB |
3386 | 2004-08-06 Paolo Bonzini <bonzini@gnu.org> |
3387 | ||
3388 | * expr.c (expand_expr_real_1) <ENTRY_VALUE_EXPR>: Remove. | |
3389 | * tree-inline.c (estimate_num_insns_1) <ENTRY_VALUE_EXPR>: Remove. | |
3390 | * tree-pretty-print.c (dump_generic_node) <ENTRY_VALUE_EXPR>: Remove. | |
3391 | * tree.def (ENTRY_VALUE_EXPR): Remove. | |
3392 | ||
6b32b628 JJ |
3393 | 2004-08-06 Jakub Jelinek <jakub@redhat.com> |
3394 | ||
3395 | * config/i386/i386.c (ix86_expand_clrmem): Move gen_cld down to | |
3396 | the places where it is actually needed. Don't use repz; stosb | |
3397 | for -Os with sufficiently small constant sizes. | |
3398 | For sufficiently small repz; stos{l,q} repeat counts use a sequence | |
3399 | of stos{l,q} instructions instead. | |
3400 | ||
6797f908 ZD |
3401 | 2004-08-06 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> |
3402 | ||
3403 | PR tree-optimization/16807 | |
3404 | * loop-iv.c (dump_iv_info): Dump invariants correctly. | |
3405 | (iv_subreg, iv_extend): Express value of invariant purely in | |
3406 | base field. | |
3407 | ||
866cf037 MM |
3408 | 2004-08-06 Mark Mitchell <mark@codesourcery.com> |
3409 | ||
3410 | * config/arm/symbian.h (CC1_SPEC): Add -fno-short-enums. | |
3411 | (CC1PLUS_SPEC): Define it to be the same as CC1_SPEC. | |
3412 | ||
9652c531 | 3413 | 2004-08-06 Roman Zippel <zippel@linux-m68k.org> |
9b305d55 | 3414 | |
27fb79ad SB |
3415 | * config/m68k/m68k.c (post_inc_operand,pre_dec_operand): New. |
3416 | * config/m68k/m68k.h (PREDICATE_CODES): add post_inc_operand, | |
3417 | pre_dec_operand. | |
3418 | * config/m68k/m68k.md (zero_extend*2): delay the splitting of the | |
3419 | pattern until reload is finished to allow better code generation | |
3420 | and split them completely into separate instrunctions. | |
3421 | (*andsi3_split): New pattern. | |
9652c531 | 3422 | |
b2ca3702 MM |
3423 | 2004-08-05 Mark Mitchell <mark@codesourcery.com> |
3424 | ||
3425 | * tree.c (handle_dll_attribute): Move here from i383/winnt.c. | |
3426 | Replace use of DECL_INLINE with DECL_DECLARED_INLINE_P. Set | |
3427 | DECL_VISIBLITY. Test TARGET_DLLIMPORT_DECL_ATTRIBUTES with #if. | |
3428 | * tree.h (handle_dll_attribute): Declare. Test | |
3429 | TARGET_DLLIMPORT_DECL_ATTRIBUTES with #if. | |
3430 | * c-common.h (c_determine_visibility): Declare. | |
3431 | * c-common.c (c_determine_visibility): New function. | |
3432 | * c-decl.c (finish_decl): Use it. | |
3433 | (finish_function): Likewise. | |
3434 | * defaults.h (TARGET_DLLIMPORT_DECL_ATTRIBUTES): Define it to | |
3435 | zero, by default. Use #if, not #ifdef, to test it. | |
3436 | * config/arm/arm.c (arm_attribute_table): Use | |
3437 | handle_dll_attribute. Test TARGET_DLLIMPORT_DECL_ATTRIBUTES with | |
3438 | #if. | |
3439 | * config/arm/pe.h (TARGET_DLLIMPORT_DECL_ATTRIBUTES): Define to 1. | |
3440 | * config/i386/cygming.h (TARGET_DLLIMPORT_DECL_ATTRIBUTES): Define | |
3441 | to 1. | |
3442 | * config/i386/i386-protos.h (ix86_handle_dll_attribute): Remove. | |
3443 | * config/i386/i386.c (ix86_attribute_table): Use | |
3444 | handle_dll_attribute for dllimport/dllexport. Test | |
3445 | TARGET_DLLIMPORT_DECL_ATTRIBUTES with #if. | |
3446 | * config/i386/winnt.c (ix86_handle_dll_attribute): Remove. | |
3447 | * config/mcore/mcore.h (TARGET_DLLIMPORT_DECL_ATTRIBUTES): Define | |
3448 | it to 1. | |
3449 | * config/mcore/mcore.c (TARGET_DLLIMPORT_DECL_ATTRIBUTES): Test it | |
3450 | with #if. | |
3451 | * config/sh/symbian-pre.h (TARGET_DLLIMPORT_DECL_ATTRIBUTES): Define | |
3452 | it to 1. | |
3453 | * doc/extend.texi (dllexport): Clarify and correct documentation. | |
3454 | (dllimport): Likewise. | |
3455 | * doc/tm.texi (TARGET_DLLIMPORT_DECL_ATTRIBUTES): Mention | |
3456 | handle_dll_attribute. | |
9b305d55 | 3457 | |
c913f08a ZD |
3458 | 2004-08-05 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> |
3459 | ||
3460 | * tree-ssa-loop-manip.c: New file. | |
3461 | * Makefile.in (tree-ssa-loop-manip.o): Add. | |
3462 | * tree-flow.h (rewrite_into_loop_closed_ssa, verify_loop_closed_ssa): | |
3463 | Declare. | |
3464 | * tree-ssa-loop.c (tree_loop_optimizer_init): Create loop closed ssa | |
3465 | form. | |
3466 | (tree_ssa_loop_done): Verify loop closed ssa form. | |
3467 | * tree-ssa-loop-im.c (move_computations): Update loop closed ssa form. | |
3468 | ||
d4482715 JDA |
3469 | 2004-08-05 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
3470 | ||
3471 | * pa.c (pa_asm_output_aligned_bss, pa_asm_output_aligned_common, | |
3472 | pa_asm_output_aligned_local): New functions. | |
3473 | * pa-protos.h: Add prototypes for pa_asm_output_aligned_bss, | |
3474 | pa_asm_output_aligned_common and pa_asm_output_aligned_local. | |
3475 | * pa-pro-end.h (ASM_OUTPUT_ALIGNED_COMMON): Use | |
3476 | pa_asm_output_aligned_common. | |
3477 | (ASM_OUTPUT_ALIGNED_LOCAL): Use pa_asm_output_aligned_local. | |
3478 | * pa.h (ASM_OUTPUT_ALIGNED_BSS): New macro. | |
3479 | (ASM_OUTPUT_ALIGNED_COMMON): Use pa_asm_output_aligned_common. | |
3480 | (ASM_OUTPUT_ALIGNED_LOCAL): Use pa_asm_output_aligned_local. | |
3481 | * pa64-hpux.h (MAX_OFILE_ALIGNMENT): New macro. | |
3482 | (ASM_OUTPUT_ALIGNED_COMMON): Use pa_asm_output_aligned_common. | |
3483 | (ASM_OUTPUT_ALIGNED_LOCAL): Use pa_asm_output_aligned_local. | |
3484 | * som.h (MAX_OFILE_ALIGNMENT): Provide maximum alignment of global | |
3485 | common data. | |
3486 | ||
21149a79 AP |
3487 | 2004-08-05 Andrew Pinski <apinski@apple.com> |
3488 | ||
3489 | * objc/objc-act.c (build_objc_string_object): Mark the address | |
3490 | expression as constant. | |
3491 | ||
d5861a7a DE |
3492 | 2004-08-05 David Edelsohn <edelsohn@gnu.org> |
3493 | ||
3494 | * config/rs6000/rs6000.c (rs6000_rtx_costs): Fix mask_operand | |
3495 | and mask64_operand thinkos. Handle ZERO_EXTRACT. Handle | |
3496 | SIGN_EXTEND / ZERO_EXTEND of MEM. Handle rlwinm patterns. | |
3497 | ||
0a2b72a6 JM |
3498 | 2004-08-05 Joseph S. Myers <jsm@polyomino.org.uk> |
3499 | ||
3500 | * config/linux.h, config/i386/linux.h, config/sparc/linux.h: | |
3501 | Remove definitions conditioned on USE_GNULIBC_1 or conditioned | |
3502 | out, and associated obsolete comments. | |
3503 | ||
ca7a3bd7 NS |
3504 | 2004-08-05 Nathan Sidwell <nathan@codesourcery.com> |
3505 | ||
3506 | * tree.h (force_fit_type): Return a tree, take three flags. | |
3507 | * fold-const.c (force_fit_type): Set TREE_OVERFLOW and | |
3508 | TREE_CONSTANT_OVERFLOW here. | |
3509 | (int_const_binop, const_binop): Adjust. | |
3510 | (size_int_type): Do sign extension here. | |
3511 | (fold_convert_const, optimize_bit_field_compare, | |
3512 | decode_field_reference, all_ones_mask_p, fold_div_compare, fold, | |
3513 | fold_negate_const, fold_abs_const, fold_not_const): Adjust. | |
3514 | * tree.c (size_in_bytes, int_fits_type_p): Adjust. | |
3515 | ||
d36837f4 ZD |
3516 | 2004-08-05 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> |
3517 | ||
3518 | PR tree-optimization/16864 | |
3519 | * tree-tailcall.c (eliminate_tail_call): Do not create phi nodes | |
3520 | for ssa names without default_def. | |
3521 | ||
ea5f7a19 RS |
3522 | 2004-08-05 Richard Sandiford <rsandifo@redhat.com> |
3523 | ||
3524 | * config/i386/i386.c (ix86_expand_prologue): If the function uses a | |
3525 | frame pointer, restore eax with an ebp-relative address. | |
3526 | ||
0e6df31e GK |
3527 | 2004-08-04 Geoffrey Keating <geoffk@apple.com> |
3528 | ||
3529 | PR 14516 | |
3530 | * c-common.c (c_expand_decl): Don't special-case static VAR_DECLs. | |
3531 | * c-common.h (make_rtl_for_local_static): Delete. | |
3532 | * c-decl.c (shadow_tag_warned): Clean up comment. | |
3533 | (finish_decl): Clean up spacing. Use set_user_assembler_name when | |
3534 | appropriate. Don't pass asmspec to rest_of_decl_compilation. | |
3535 | * c-semantics.c (make_rtl_for_local_static): Delete. | |
3536 | * expr.c (init_block_move_fn): Use set_user_assembler_name. | |
3537 | (init_block_clear_fn): Likewise. | |
3538 | * passes.c (rest_of_decl_compilation): Remove asmspec parameter, | |
3539 | expect it to be in DECL_ASSEMBLER_NAME. Update callers in many files. | |
3540 | * toplev.h (rest_of_decl_compilation): Remove asmspec parameter. | |
3541 | * tree.h (make_decl_rtl): Remove second parameter. | |
3542 | (set_user_assembler_name): New. | |
3543 | * varasm.c (set_user_assembler_name): New. | |
3544 | (make_decl_rtl): Remove second parameter. Update callers in many | |
3545 | files. | |
3546 | ||
4f587cb0 AN |
3547 | 2004-08-05 Adam Nemet <anemet@lnxw.com> |
3548 | ||
3549 | * config.gcc (case i[34567]86-*-lynxos*): Update to LynxOS 4.0. | |
3550 | (case rs6000-*-lynxos*): Rename it to powerpc-*-lynxos*. Update | |
3551 | to LynxOS 4.0. | |
3552 | * gthr-lynx.h: New file. | |
3553 | * config/lynx-ng.h: Remove file. | |
3554 | * config/lynx.h: Update to LynxOS 4.0. | |
3555 | * config/t-lynx: New file. | |
3556 | * config/i386/lynx-ng.h: Remove file. | |
3557 | * config/i386/lynx.h: Update to LynxOS 4.0. | |
3558 | * config/rs6000/lynxbase.h: Remove file. | |
3559 | * config/rs6000/lynx.h: Update to LynxOS 4.0. | |
3560 | * config/rs6000/t-lynx: New file. | |
3561 | * doc/install.texi (Options specification): Remove reference to | |
3562 | LynxOS from systems where --with-gnu-as makes a difference. | |
3563 | ||
85291069 JM |
3564 | 2004-08-05 Joseph S. Myers <jsm@polyomino.org.uk> |
3565 | ||
3566 | * c-common.c (c_stddef_cpp_builtins): Define __INTMAX_TYPE__ and | |
3567 | __UINTMAX_TYPE__. | |
3568 | * c-cppbuiltin.c (builtin_define_stdint_macros): New. Define | |
3569 | __INTMAX_MAX__. | |
3570 | (c_cpp_builtins): Call it. | |
3571 | * doc/cpp.texi: Update. | |
3572 | ||
30a555d9 DE |
3573 | 2004-08-04 David Edelsohn <edelsohn@gnu.org> |
3574 | ||
3575 | * config/rs6000/rs6000.c (rs6000_rtx_costs): LABEL_REFs are zero | |
3576 | cost. | |
3577 | ||
878f99d2 JH |
3578 | 2004-08-04 Jan Hubicka <jh@suse.cz> |
3579 | ||
3580 | * basic-block.h (profile_staus): New global variable. | |
3581 | * cfg.c (profile_status): Declare. | |
3582 | (check_bb_profile): Break out from ....; use profile_status | |
3583 | (dump_flow_info): ... here. | |
3584 | * cfgbuild.c (find_basic_blocks): Set profile_status. | |
3585 | * cfgexpand.c (tree_expand_cfg): Likewise. | |
3586 | * predict.c (estimate_probability): Likewise. | |
3587 | * profile.c (branch_prob): Likewise. | |
3588 | * tree-cfg.c (build_tree_cfg): Likewise. | |
3589 | (dump_function_to_file): Use check_bb_profile. | |
3590 | * tree-pretty-print (dump_bb_header): Likewise. | |
3591 | * tree-profile.c (do_tree_profiling): Cleanup. | |
3592 | ||
7e7ec48e ZW |
3593 | 2004-08-04 Zack Weinberg <zack@codesourcery.com> |
3594 | ||
3595 | * Makefile.in (RTL_BASE_H, RTL_H): Correct. | |
3596 | (BUILD_RTL): Remove $(BUILD_PREFIX) from ggc-none.o. | |
3597 | (genobjs): Add errors.o, ggc-none.o, and min-insn-modes.o. | |
3598 | (read-rtl.o, gensupport.o, genconfig.o, genflags.o, gencodes.o) | |
3599 | (genconstants.o, genemit.o, genopinit.o, genrecog.o, genextract.o) | |
3600 | (genpeep.o, genattr.o, genattrtab.o, genautomata.o, genoutput.o) | |
3601 | (genconditions.o): Depend on $(RTL_BASE_H) not $(RTL_H). | |
3602 | (ggc-none.o, errors.o): Move rule to generators section; | |
3603 | correct dependencies. | |
3604 | (min-insn-modes.o): Move rule to generators section; remove | |
3605 | unnecessary explicit command; correct dependencies. | |
3606 | (print-rtl.o, print-rtl1.o): Correct dependencies. | |
3607 | ($(BUILD_PREFIX_1)errors.o. $(BUILD_PREFIX_1)ggc-none.o): Delete rule. | |
3608 | (mostlyclean): Update. | |
3609 | ||
3610 | * errors.c: Include bconfig.h not config.h. Correct comment. | |
3611 | * gengtype.c, genpreds.c: Don't define NO_GENRTL_H. | |
3612 | * ggc-none.c: Include bconfig.h; not config.h or tm.h. | |
3613 | * print-rtl.c: Don't include tm_p.h. | |
3614 | ||
3615 | * rtl.h: Move forward-decl of struct function down where it's | |
3616 | needed. Include genrtl.h #ifndef GENERATOR_FILE, not | |
3617 | #ifndef NO_GENRTL_H. Remove unnecessary #ifdef BUFSIZ statements. | |
3618 | ||
b0382c67 ZD |
3619 | 2004-08-04 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> |
3620 | Jeff Law <law@redhat.com> | |
3621 | ||
3622 | * tree-cfg.c (tree_duplicate_bb): Mark duplicated definitions. | |
3623 | * tree-flow.h (rewrite_ssa_into_ssa): Declaration changed. | |
3624 | * tree-into-ssa.c (rewrite_ssa_into_ssa): Use new interface to | |
3625 | manipulate the duplicated ssa names. | |
3626 | * tree-ssanames.c (ssa_names_to_rewrite): New variable. | |
3627 | (marked_for_rewrite_p, any_marked_for_rewrite_p, mark_for_rewrite, | |
3628 | unmark_all_for_rewrite, marked_ssa_names, release_ssa_name_force): | |
3629 | New functions. | |
3630 | (release_ssa_name): Do not release ssa names that may have multiple | |
3631 | definitions. | |
3632 | * tree.h (release_ssa_name_force, mark_for_rewrite, | |
3633 | unmark_all_for_rewrite, marked_for_rewrite_p, any_marked_for_rewrite_p, | |
3634 | marked_ssa_names): Declare. | |
3635 | * tree-ssa-loop-ch.c (mark_defs_for_rewrite): Remove. | |
3636 | (duplicate_blocks): Remove call to mark_defs_for_rewrite. | |
3637 | Update call to rewrite_ssa_into_ssa. | |
3638 | ||
63c5b495 MM |
3639 | 2004-08-04 Mark Mitchell <mark@codesourcery.com> |
3640 | ||
3641 | * defaults.h (TARGET_DECLSPEC): New macro. | |
3642 | * c-cppbuiltin.c (c_cpp_builtins): Handle TARGET_DECLSPEC. | |
3643 | * config/arm/pe.h (SUBTARGET_CPP_SPEC): Remove __declspec support. | |
b2ca3702 | 3644 | * config/arm/symbian.h (TARGET_DLLIMPORT_DECL_ATTRIBUTES): Define. |
63c5b495 MM |
3645 | * config/i386/beof-elf.h (TARGET_OS_CPP_BUILTINS): Remove |
3646 | __declspec support. | |
3647 | (TARGET_DECLSPEC): Define. | |
3648 | * config/i386/cygming.h (TARGET_OS_CPP_BUILTINS): Remove | |
3649 | __declspec support. | |
3650 | * config/i386/i386-interix.h (TARGET_OS_CPP_BUILTINS): Remove | |
3651 | __declspec support. | |
3652 | (TARGET_DECLSPEC): Define. | |
3653 | * config/mcore/mcore.h (TARGET_CPU_CPP_BUILTINS): Remove | |
3654 | __declspec support. | |
3655 | * config/sh/symbian-pre.h (SUBTARGET_CPP_SPEC): Remove __declspec | |
3656 | support. | |
3657 | * doc/tm.texi (TARGET_DECLSPEC): Document. | |
3658 | ||
3659 | * doc/extend.texi: Fix typo in comment. | |
3660 | ||
44d10c10 PB |
3661 | 2004-08-04 Paul Brook <paul@codesourcery.com> |
3662 | ||
3663 | * target-def.h (TARGET_CXX_CDTOR_RETURNS_THIS): Define. | |
3664 | (TARGET_CXX): Use it. | |
3665 | * target.h (struct gcc_target): Add cdtor_returns_this. | |
3666 | * config/arm/arm.c (arm_cxx_cdtor_returns_this): New function. | |
3667 | (TARGET_CXX_CDTOR_RETURNS_THIS): Define. | |
3668 | * doc/tm.texi: Document TARGET_CXX_CDTOR_RETURNS_THIS. | |
3669 | ||
5e9754af NS |
3670 | 2004-08-03 Nathan Sidwell <nathan@codesourcery.com> |
3671 | ||
3672 | * c-lex.c (narrowest_unsigned_type, narrowest_signed_type): Take | |
3673 | low/high pair. Do range checking directly. | |
3674 | (interpret_integer): Adjust. | |
3675 | ||
2acc29bd NC |
3676 | 2004-08-04 Nick Clifton <nickc@redhat.com> |
3677 | ||
3678 | * config/sh/sh.h (TARGET_SWITCHES): Add no-renesas to select the | |
3679 | GCC ABI. | |
3680 | * doc/invoke.texi: Document this new switch and also the -mrenesas | |
3681 | switch. | |
3682 | ||
2496942a NS |
3683 | 2004-08-04 Nathan Sidwell <nathan@codesourcery.com> |
3684 | ||
3685 | * cfglayout.c (insn_locators_initialize): Update the current | |
3686 | location before initializing a location. | |
3687 | ||
7e2e8179 ZW |
3688 | 2004-08-03 Zack Weinberg <zack@codesourcery.com> |
3689 | ||
403f8503 ZW |
3690 | * dbxout.c (dbxout_function_decl): Always call dbxout_function_end. |
3691 | (dbxout_function_end): Return after emitting the "Lscope" symbol | |
3692 | under the same conditions that this function formerly wasn't called. | |
3693 | Add explanatory comments. | |
3694 | ||
bcc7f708 | 3695 | PR 14860 |
ca043393 ZW |
3696 | * c-decl.c (record_builtin_type): Call debug_hooks->type_decl |
3697 | on the new decl. | |
3698 | ||
bcc7f708 | 3699 | PR 13956 |
7e2e8179 ZW |
3700 | * dbxout.c (dbx_output_lbrac, dbx_output_rbrac): New |
3701 | functions, broken out of dbxout_block. | |
3702 | (dbxout_block): The block at depth 0 should get LBRAC/RBRAC | |
3703 | stabs too, if it contains symbols. Use the begin_label and | |
3704 | the Lscope label (emitted by dbxout_function_end) for the | |
3705 | range of this block. | |
3706 | ||
5d75ba94 NN |
3707 | 2004-08-03 Nathanael Nerode <neroden@gcc.gnu.org> |
3708 | ||
3709 | * doc/install.texi: Update autoconf version requirements. | |
3710 | ||
2e4e72b1 ZW |
3711 | 2004-08-03 Zack Weinberg <zack@codesourcery.com> |
3712 | ||
3713 | * defaults.h (LEGITIMATE_PIC_OPERAND_P): Provide default definition. | |
3714 | * recog.c (general_operand, immediate_operand, nonmemory_operand) | |
3715 | (asm_operand_ok): Remove #ifdefs on LEGITIMATE_PICOPERAND_P. | |
3716 | * regclass.c (record_reg_classes): Likewise. | |
3717 | * reload.c (find_reloads): Likewise. | |
3718 | * reload1.c (reload): Likewise. | |
3719 | ||
f9942f4e ZW |
3720 | 2004-08-03 Zack Weinberg <zack@codesourcery.com> |
3721 | ||
3722 | * gensupport.c (init_md_reader_args_cb): Renamed from | |
3723 | init_md_reader_args. Add third option, callback function for | |
3724 | parsing program-specific options. Add diagnosis of incorrect | |
3725 | number of input files. | |
3726 | (init_md_reader): Fold into init_md_reader_args_cb. | |
3727 | (init_md_reader_args): Now a thin wrapper around | |
3728 | init_md_reader_args_cb. | |
3729 | * gensupport.h: Update prototypes. | |
3730 | ||
3731 | * genattr.c, genattrtab.c, gencodes.c, genconfig.c, genemit.c | |
3732 | * genextract.c, genflags.c, genopinit.c, genoutput.c, genpeep.c | |
3733 | * genrecog.c: No need to diagnose lack of an input file; | |
3734 | init_md_reader_args will handle it. | |
3735 | * genconditions.c: Likewise, and use init_md_reader_args. | |
3736 | * genconstants.c: Likewise, and no need to call read_md_rtx. | |
3737 | ||
9cbe78fb JM |
3738 | 2004-08-03 Joseph S. Myers <jsm@polyomino.org.uk> |
3739 | ||
3740 | * c-decl.c (implicitly_declare): Diagnose incompatible implicit | |
3741 | declarations. | |
3742 | ||
3e558e80 MS |
3743 | 2004-08-03 Mike Stump <mrs@apple.com> |
3744 | ||
3745 | * config/darwin-c.c: Don't search in "/Local/Library/Frameworks" | |
3746 | for frameworks. | |
3747 | * doc/invoke.texi (Darwin Options): Update to reflect above. | |
3748 | ||
a0fac73d RS |
3749 | 2004-08-03 Roger Sayle <roger@eyesopen.com> |
3750 | ||
3751 | PR middle-end/16790 | |
3752 | * fold-const.c (extract_muldiv_1) <NOP_EXPR>: Disallow local | |
3753 | truncations, not just global truncations. | |
3754 | ||
cddbddb7 AP |
3755 | 2004-08-03 Andrew Pinski <apinski@apple.com> |
3756 | ||
3757 | PR bootstrap/16865 | |
3758 | * loop-iv.c (simplify_using_assignment): Initialize lhs. | |
3759 | ||
bebf829d PB |
3760 | 2004-08-03 Paul Brook <paul@codesourcery.com> |
3761 | ||
3762 | * gcc/doc/install.texi: Document MPFR requirement. | |
3763 | ||
cddbddb7 | 3764 | 2004-08-03 Maciej W. Rozycki <macro@linux-mips.org> |
3b0727a0 | 3765 | |
f9942f4e ZW |
3766 | * aclocal.m4 (gcc_AC_FUNC_MMAP_BLACKLIST): Check for <sys/mman.h> |
3767 | and mmap() explicitly instead of relying on preset autoconf cache | |
3b0727a0 MR |
3768 | variables. |
3769 | * configure: Regenerate. | |
3770 | ||
f6bc51cb L |
3771 | 2004-08-03 H.J. Lu <hongjiu.lu@intel.com> |
3772 | ||
3773 | PR target/16570 | |
3774 | * config.gcc (i[34567]86-*-* | x86_64-*-*): Add i386/t-gmm_malloc | |
3775 | to tmake_file. | |
3776 | (i[34567]86-*-linux*aout* | i[34567]86-*-linux*libc1): Likewise. | |
3777 | (i[34567]86-*-linux* | x86_64-*-linux*): Add i386/t-pmm_malloc | |
3778 | to tmake_file. | |
3779 | ||
3780 | * config/i386/t-gmm_malloc: New file. | |
3781 | * config/i386/t-pmm_malloc: Likewise. | |
f9942f4e | 3782 | |
f6bc51cb L |
3783 | * config/i386/xmmintrin.h: Include <mm_malloc.h>. |
3784 | ||
3785 | 2004-08-03 H.J. Lu <hongjiu.lu@intel.com> | |
d46cd2be | 3786 |