1 2004-03-15 Eric Botcazou <ebotcazou@act-europe.fr>
3 * config/sparc/sparc.h: Rework comments about the code model
4 in 64-bit environment and the mode 'Pmode'.
5 * doc/invoke.texi (SPARC options): Rework description of the
6 different code models supported in 64-bit environment.
8 2004-03-15 Kazu Hirata <kazu@cs.umass.edu>
10 * defaults.h (REVERSIBLE_CC_MODE): Define.
11 * jump.c (reversed_comparison_code_parts): Don't check if
12 REVERSIBLE_CC_MODE is defined.
14 2004-03-15 Kazu Hirata <kazu@cs.umass.edu>
16 * c-incpath.c, c-incpath.h, c-pch.c, c.opt, cppexp.c,
17 et-forest.h, genattr.c, ggc-none.c, hosthooks-def.h,
18 hosthooks.h, params.h, ra-colorize.c, web.c,
19 config/darwin-c.c, config/alpha/freebsd.h, config/arm/pe.c,
20 config/avr/avr-protos.h, config/avr/avr.md,
21 config/fr30/fr30-protos.h, config/fr30/fr30.md,
22 config/h8300/fixunssfsi.c, config/i386/darwin.h,
23 config/i386/freebsd.h, config/i386/freebsd64.h,
24 config/ia64/hpux.h, config/ia64/unwind-ia64.c,
25 config/ip2k/libgcc.S, config/m32r/xm-m32r.h,
26 config/mmix/mmix-modes.def, config/ns32k/netbsd.h,
27 config/ns32k/ns32k.md, config/pa/pa64-hpux.h,
28 config/pa/pa64-regs.h, config/rs6000/aix41.h,
29 config/rs6000/aix43.h, config/rs6000/host-darwin.c,
30 config/sparc/aout.h, config/sparc/freebsd.h,
31 config/sparc/litecoff.h, config/vax/vax-protos.h,
32 doc/hostconfig.texi, doc/include/gcc-common.texi: Update
35 2004-03-15 Paul Brook <paul@codesourcery.com>
37 * config/arm/arm.c (thumb_expand_prologue): Tie prologue insns to fp.
39 2004-03-15 Gabriel Dos Reis <gdr@integrable-solutions.net>
41 * c-pretty-print.c (pp_c_semicolon): Fix formatting.
42 (pp_c_cv_qualifier): Document.
43 (pp_c_space_for_pointer_operator): Likewise.
44 (pp_c_integer_constant): Likewise.
45 (pp_c_identifier): Likewise.
46 (pp_c_init_declarator): Don't print function body.
48 2004-03-14 Joseph S. Myers <jsm@polyomino.org.uk>
50 * doc/contrib.texi, doc/extend.texi, doc/gcov.texi,
51 doc/install.texi, doc/invoke.texi, doc/makefile.texi,
52 doc/sourcebuild.texi, doc/tm.texi, doc/trouble.texi: Capitalize
53 "gcc", "g++" and "g77" or mark up with appropriate markup. Adjust
56 2004-03-14 Roger Sayle <roger@eyesopen.com>
58 * alias.c (get_alias_set): Replace calls via (*lang_hooks.foo) ()
59 with lang_hooks.foo ().
60 * builtins.c (expand_builtin_va_arg): Likewise.
61 * c-common.c (fname_as_string, c_common_truthvalue_conversion,
62 c_common_type_for_mode, c_common_nodes_and_builtins,
63 handle_mode_attribute, handle_vector_size_attribute): Likewise.
64 * c-convert.c (convert): Likewise.
65 * c-format.c (check_format_types): Likewise.
66 * c-objc-common.c (c_tree_printer): Likewise.
67 * c-typeck.c (build_unary_op, build_conditional_expr,
68 build_binary_op): Likewise.
69 * calls.c (try_to_integrate, expand_call,
70 emit_library_call_value_1): Likewise.
71 * cgraph.c (cgraph_node_name, cgraph_function_possibly_inlined_p):
73 * cgraphunit.c (record_call_1, cgraph_analyze_function,
74 cgraph_expand_function): Likewise.
75 * convert.c (convert_to_pointer, convert_to_integer): Likewise.
76 * coverage.c (build_fn_info_type, build_ctr_info_type,
77 build_gcov_info, create_coverage): Likewise.
78 * dbxout.c (dbxout_init): Likewise.
79 * diagnostic.c (diagnostic_report_current_function): Likewise.
80 * dojump.c (do_jump): Likewise.
81 * dwarf2out.c (dwarf2_name): Likewise.
82 * except.c (init_eh): Likewise.
83 * explow.c (expr_size, int_expr_size): Likewise.
84 * expmed.c (make_tree, const_mult_add_overflow_p, expand_mult_add):
86 * expr.c (store_expr, store_constructor, safe_from_p,
87 expand_expr_real, do_store_flag, try_casesi): Likewise.
88 * function.c (push_function_context_to, pop_function_context_from,
89 free_after_parsing, assign_stack_local_1, assign_stack_temp_for_type,
90 put_var_into_stack, allocate_struct_function, current_function_name):
92 * integrate.c (copy_decl_for_inlining, expand_inline_function):
94 * langhooks.c (lhd_clear_binding_stack, write_global_declarations,
95 lhd_print_error_function): Likewise.
96 * opts.c (handle_option, decode_options): Likewise.
97 * passes.c (open_dump_file): Likewise.
98 * print-tree.c (print_node): Likewise.
99 * stmt.c (expand_fixup, fixup_gotos, expand_asm_operands,
100 expand_decl_cleanup, emit_case_nodes): Likewise.
101 * stor-layout.c (variable_size): Likewise.
102 * toplev.c (announce_function, wrapup_global_declarations,
103 check_global_declarations, compile_file, default_tree_printer,
104 process_options, lang_dependent_init, finalize): Likewise.
105 * tree-dump.c (dequeue_and_dump): Likewise.
106 * tree-inline.c (remap_decl, remap_block, copy_body_r,
107 initialize_inlined_parameters, declare_return_variable,
108 inlinable_function_p, expand_call_inline, optimize_inline_calls,
109 walk_tree, copy_tree_r): Likewise.
110 * tree-optimize.c (tree_rest_of_compilation): Likewise.
111 * tree.c (decl_assembler_name, tree_size, size_in_bytes, staticp,
112 unsafe_for_reeval, get_unwidened, get_narrower, get_callee_fndecl,
113 variably_modified_type_p, dump_tree_statistics): Likewise.
114 * varasm.c (assemble_variable, compare_constant, copy_constant,
115 force_const_mem, compute_reloc_for_constant, output_constant,
116 output_addressed_constants, initializer_constant_valid_p): Likewise.
118 2004-03-14 Kelley Cook <kcook@gcc.gnu.org>
120 * doc/install.texi: Make autoconf 2.13 the exception, not the rule.
122 2004-03-14 Andreas Tobler <a.tobler@schweiz.ch>
124 * doc/install.texi: Reflect autoconf and automake version for
125 libffi. Update autoconf version to 2.59.
127 2004-03-13 Roger Sayle <roger@eyesopen.com>
129 * fold-const.c (negate_expr, operand_equal_for_comparison_p,
130 optimize_bit_field_compare, decode_field_reference, all_ones_mask_p,
131 make_range, build_range_check, fold_range_test, unextend,
132 constant_boolean_node, fold_binary_op_with_conditional_arg,
133 fold_truthop, fold_mathfn_compare, fold_inf_compare,
134 fold_single_bit_test, fold): Replace calls via (*lang_hooks.foo) ()
135 with lang_hooks.foo ().
137 2004-03-14 Richard Earnshaw <rearnsha@arm.com>
139 * arm.h (EXTRA_CONSTRAINT_STR_ARM): Update comment.
141 2004-03-13 Dara Hazeghi <dhazeghi@yahoo.com>
143 * doc/install.texi: Note status of -fnew-ra.
145 2004-03-13 Eric Botcazou <ebotcazou@libertysurf.fr>
148 * expr.c (store_expr): Call emit_queue before generating the move
149 from the temporary to the original target. Protect the temporary
152 2004-03-13 Jakub Jelinek <jakub@redhat.com>
155 * config/s390/s390.c (legitimize_pic_address): Don't abort on UNSPEC
156 other than UNSPEC_GOTOFF.
158 2004-03-13 Richard Earnshaw <rearnsha@arm.com>
160 * arm.c (arm_legitimate_address_p): New argument, OUTER. Pass through
161 to arm_legitimate_index_p. Update all callers with SET as default
163 (arm_legitimate_index_p): New argument, OUTER. Restrict the index
164 range if OUTER is a sign-extend operation on QImode. Correctly
165 reject shift operations on sign-extended QImode addresses.
166 (bad_signed_byte_operand): Delete.
167 (arm_extendqisi_mem_op): New function.
168 * arm.h (EXTRA_CONSTRAINT_ARM): Delete. Replace with...
169 (EXTRA_CONSTRAINT_STR_ARM): ... this. Handle extended address
171 (CONSTRAINT_LEN): New.
172 (EXTRA_CONSTRAINT): Delete. Replace with...
173 (EXTRA_CONSTRAINT_STR): ... this.
174 (PREDICATE_CODES): Remove bad_signed_byte_operand.
175 * arm.md (extendqihi_insn): Use new constraint Uq. Rework. Length
176 is now always default.
177 (define_splits for bad sign-extend loads): Delete.
178 (arm_extendqisi, arm_extendqisi_v5): Likewise.
179 * arm/vfp.md (arm_movsi_vfp, arm_movdi_vfp, movsf_vfp, movdf_vfp):
180 Rework 'U' constraint to 'Uv'.
181 * arm-protos.h: Remove bad_signed_byte_operand. Add
182 arm_extendqisi_mem_op.
183 * doc/md.texi (ARM constraints): Rename VFP constraint (now Uv).
186 2004-03-13 Alan Modra <amodra@bigpond.net.au>
188 * config/rs6000/rs6000.c (rs6000_va_arg): Replace SPLIT_COMPLEX_ARGS
189 with targetm version.
192 * config/rs6000/rs6000.h (UNITS_PER_ARG, RS6000_ARG_SIZE): Delete.
193 (HARD_REGNO_MODE_OK): Disallow TFmode for fp31.
194 * config/rs6000/rs6000.c (rs6000_arg_size): New function.
195 Update all users of RS6000_ARG_SIZE.
196 (function_arg_advance): Count fregno using mode size.
197 (function_arg): Handle long double split over regs and memory.
198 (function_arg_partial_nregs): Likewise.
199 (rs6000_va_arg): Repackage complex args.
201 2004-03-13 Dean Ferreyra <dferreyra@igc.org>
204 * config/avr/avr.c (avr_progmem_p): Add "attributes" parameter.
205 (avr_insert_attributes): Pass "attributes" to avr_progmem_p.
206 * config/avr/avr-protos.h (avr_progmem_p): Change prototype.
208 2004-03-12 Jakub Jelinek <jakub@redhat.com>
210 * config/rs6000/rs6000-protos.h (rs6000_output_dwarf_dtprel): Add
212 * config/rs6000/rs6000.c (rs6000_output_dwarf_dtprel): New.
213 * config/rs6000/rs6000.h (ASM_OUTPUT_DWARF_DTPREL): Define.
215 2003-03-12 Andrew Pinski <apinski@apple.com>
217 * config/rs6000/host-darwin.c (darwin_rs6000_gt_pch_use_address):
218 Use ret instead of result. Use addr instead of base.
220 2004-03-12 David Edelsohn <edelsohn@gnu.org>
222 * doc/install.texi (*-ibm-aix*): Document assembler and achiver
223 fixes required by libstdc++ and update installation instructions
226 2004-03-12 Danny Smith <dannysmith@users.sourceforge.net>
228 * config/i386/winnt.c (i386_pe_strip_name_encoding_full): Strip
229 leading '@' on fastcall symbols before stripping suffix.
231 2004-03-12 Roger Sayle <roger@eyesopen.com>
233 * combine.c (unmentioned_reg_p): New function to check whether an
234 expression is a "specialization" of another, i.e. that there are
235 no registers or memory references mentioned in the first that don't
236 appear in the second.
237 (unmentioned_reg_p_1): New helper subroutine of unmentioned_reg_p.
238 (combine_instructions): Also try combining instructions using the
239 REG_EQUAL note from a preceding log-linked instruction.
241 2004-03-12 Roger Sayle <roger@eyesopen.com>
243 * config/i386/i386.c (ix86_split_ashrdi): Optimize shift by 63.
245 2004-03-12 Matt Austern <austern@apple.com>
247 * target.h (struct gcc_target): New target hook, unwind_label.
248 * target-def.h (TARGET_ASM_EMIT_UNWIND_LABEL): New hook.
249 * output.h (default_emit_unwind_label): New function.
250 * default.h (TARGET_EXPLICIT_INSTANTIATIONS_ONE_ONLY): New macro.
251 (TARGET_USES_WEAK_UNWIND_INFO): New target macro.
252 (TARGET_SUPPORTS_HIDDEN): New target macro.
253 * dwarf2out.c (struct dw_fde_struct): Add field for function decl
254 that corresponds to this FDE.
255 (FRAME_BEGIN_LABEL): Allow target to override default label.
256 (output_call_frame_info): If FDEs are linknonce, then use extra
257 indirection for FDE encoding, output a label for each FDE, and
258 output an empty label for each function without an FDE.
259 (dwarf2out_begin_prologue): Set up decl field when creating an FDE.
260 * varasm.c (globalize_decl): Call ASM_MAKE_LABEL_LINKONCE for
261 decls with DECL_ONE_ONLY set, if that macro is defined.
262 (make_decl_one_only): Don't use DECL_COMMON if we're compiling
263 for a SUPPORTS_ONE_ONLY target.
264 * config/darwin-protos.h (darwin_unique_section): Declare.
265 (darwin_asm_named_section): Likewise.
266 (darwin_section_type_flags): Likewise.
267 (darwin_non_lazy_pcrel): Likewise.
268 (darwin_emit_unwind_label): Likewise.
269 (darwin_make_decl_one_only): Likewise.
270 * config/darwin.c (machopic_finish): Get rid of tweak that
271 eliminate stubs for symbols that are defined.
272 (darwin_encode_section_info): Don't treat weak functions as defined.
273 (darwin_make_decl_one_only): Define.
274 (darwin_asm_named_section): Likewise.
275 (darwin_section_type_flags): Likewise.
276 (darwin_unique_section): Likewise.
277 (darwin_emit_unwind_label): Likewise.
278 (darwin_non_lazy_pcrel): Likewise.
279 (darwin_asm_output_dwarf_delta): Difference between two labels is
280 local only if both labels are local.
281 * config/darwin.h (MAKE_DECL_ONE_ONLY): Define.
282 (ASM_MAKE_LABEL_LINKONCE): Likewise.
283 (TARGET_SUPPORTS_HIDDEN): Likewise.
284 (TARGET_USES_WEAK_UNWIND_INFO): Likewise.
285 (TARGET_EXPLICIT_INSTANTIATIONS_ONE_ONLY): Likewise.
286 (FRAME_BEGIN_LABEL): Likewise.
287 (ASM_DECLARE_OBJECT_NAME): Make references to weak symbols indirect.
288 (ASM_DECLARE_FUNCTION_NAME): Likewise.
289 (darwin_eh_frame_section): Give __eh_frame section the coalesced flag.
290 (TARGET_ASM_UNIQUE_SECTION): Define.
291 (EH_FRAME_SECTION_NAME): Define.
292 (EH_FRAME_SECTION_ATTR): Likewise.
293 (ASM_MAYBE_OUTPUT_ENCODED_ADDR_RTX): Likewise.
294 (TARGET_ASM_NAMED_SECTION): Likewise.
295 (TARGET_SECTION_TYPE_FLAGS): Likewise.
296 * doc/tm.texi: Document TARGET_USES_WEAK_UNWIND_INFO,
297 TARGET_EXPLICIT_INSTANTIATIONS_ONE_ONLY, TARGET_SUPPORTS_HIDDEN,
298 TARGET_ASM_EMIT_UNWIND_LABEL.
300 2004-03-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
302 * builtins.c (expand_builtin_mathfn): Add pow10* to the
303 existing exp10* case.
304 (expand_builtin): Likewise.
306 2004-03-12 Eric Botcazou <ebotcazou@libertysurf.fr>
308 * doc/tm.texi (registers) <Values in Registers>: Add
309 entry for REGMODE_NATURAL_SIZE.
311 2004-03-12 Richard Henderson <rth@redhat.com>
314 * target.h (struct gcc_target): Move calls substructure before
315 booleans. Add split_complex_arg.
316 * function.c (assign_parms, split_complex_args): Use it.
317 * calls.c (expand_call): Likewise.
318 (split_complex_values): Likewise. Check for splittable types
319 before allocating memory.
320 (split_complex_types): Likewise.
321 * system.h (SPLIT_COMPLEX_ARGS): Poison.
322 * expr.h (SPLIT_COMPLEX_ARGS): Remove.
323 * target-def.h (TARGET_SPLIT_COMPLEX_ARG): New.
324 * config/alpha/alpha.c (alpha_split_complex_arg): New.
325 (TARGET_SPLIT_COMPLEX_ARG): New.
326 * config/alpha/alpha.h (SPLIT_COMPLEX_ARGS): Remove.
327 * config/rs6000/rs6000.c (TARGET_SPLIT_COMPLEX_ARG): New.
328 (rs6000_override_options): Zap it for non-AIX.
329 (rs6000_function_value): Use targetm.calls.split_complex_arg.
330 * config/rs6000/rs6000.h (SPLIT_COMPLEX_ARGS): Remove.
331 * config/xtensa/xtensa.c (TARGET_SPLIT_COMPLEX_ARG): New.
332 * config/xtensa/xtensa.h (SPLIT_COMPLEX_ARGS): Remove.
333 * doc/tm.texi (TARGET_SPLIT_COMPLEX_ARG): Modify from old
334 SPLIT_COMPLEX_ARGS entry.
336 2004-03-11 Richard Henderson <rth@redhat.com>
338 * config/alpha/alpha.c (xfloating_ops, vax_cvt_ops): New.
339 (alpha_lookup_xfloating_lib_func): Use them, return rtx.
340 (alpha_emit_xfloating_arith): Update to match.
341 (alpha_emit_xfloating_compare): Likewise.
342 (alpha_emit_xfloating_cvt): Likewise.
343 (alpha_emit_xfloating_libcall): Take already built symbol,
345 * config/alpha/alpha.md (extendsftf2, extenddftf2): Take
348 2004-03-11 Richard Henderson <rth@redhat.com>
351 * config/alpha/alpha.h (STACK_BOUNDARY): Set to 128.
353 * simplify-rtx.c (simplify_relational_operation): Fix typo.
355 2004-03-11 Richard Henderson <rth@redhat.com>
358 * except.c (remove_unreachable_regions): Look thru CALL_PLACEHOLDER.
360 2004-03-11 Ulrich Weigand <uweigand@de.ibm.com>
363 * calls.c (load_register_parameters): If BLOCK_REG_PADDING is not
364 defined, pass small BLKmode values in registers in the low-order part.
366 2004-03-11 Ulrich Weigand <uweigand@de.ibm.com>
368 * combine.c (if_then_else_cond): Check for NULL return value of
371 2004-03-11 Richard Sandiford <rsandifo@redhat.com>
374 * config/mips/mips.h (UNITS_PER_FPVALUE): Fix value for
377 2004-03-11 Steve Ellcey <sje@cup.hp.com>
379 * config/ia64/hpux.h (TARGET_INIT_LIBFUNCS): Add undef.
380 * config/ia64/ia64.h (TARGET_INIT_LIBFUNCS): Add define.
381 * config/ia64/ia64.c (ia64_init_libfuncs): New.
382 (ia64_hpux_init_libfuncs): Add call to ia64_init_libfuncs.
384 2004-03-11 Roger Sayle <roger@eyesopen.com>
386 * fold-const.c (negate_expr_p) <RSHIFT_EXPR>: We can optimize
387 -((int)X>>C) where C is an integer constant one bit less than the
388 size of X into (unsigned)X>>C. Similarly for unsigned->signed.
389 (negate_expr) <RSHIFT_EXPR>: Implement the above transformations.
391 * simplify-rtx.c (simplify_unary_operation): Also implement the
392 above transformations at the RTL level.
394 2004-03-11 Alan Modra <amodra@bigpond.net.au>
396 * real.c (encode_ibm_extended): Do round low word.
398 2004-03-11 Ben Elliston <bje@wasabisystems.com>
400 * config/arm/arm.md (is_xscale): Comment this attribute and move
401 it a bit further up in the file, closer to related attributes.
403 2004-03-11 Eric Botcazou <ebotcazou@libertysurf.fr>
405 * config/host-solaris.c (sol_gt_pch_use_address): Add
406 missing terminating marker to comment.
408 2004-03-11 Richard Sandiford <rsandifo@redhat.com>
410 * config/mips/mips.md: Use move_operand in splitters for 64-bit moves.
411 (movdi, movsi, movhi, movqi, movsf, movdf): Remove predicates.
412 (*movdi_32bit_mips16, *movsi_mips16, *movhi_mips16, *movqi_mips16)
413 (*movsf_mips16, *movdf_mips16): Name unnamed patterns. Use
414 move_operand as source predicate in all cases.
415 (*movdi_32bit): Renamed from movdi_internal. Remove 'F' constraint.
416 Test reg_or_0_operand. Use move_operand as source predicate.
417 (*movdi_64bit): Renamed from movdi_internal2. Test reg_or_0_operand.
418 (*movdi_64bit_mips16): Renamed from movdi_internal2_mips16.
419 (*movsi_internal): Renamed from movsi_internal. Test reg_or_0_operand.
420 (movhi, movqi, movsf, movdf): Use mips_legitimize_move.
421 (*movhi_internal): Renamed from movhi_internal. Test reg_or_0_operand.
422 Use move_operand as source predicate. Remove 'K' constraint.
423 (*movqi_internal): Likewise movqi_internal.
424 (*movsf_hardfloat): Renamed from movsf_internal1. Test
425 reg_or_0_operand. Use move_operand as source predicate.
426 (*movsf_softfloat): Likewise movsf_internal2.
427 (*movdf_hardfloat_64bit): Likewise movsf_internal1a.
428 (*movdf_hardfloat_32bit): Likewise movsf_internal1b.
429 (*movdf_softfloat): Likewise movdf_internal2.
430 * config/mips/mips.c (move_operand): Match arbitrary CONST_INTs
431 for DImode if !TARGET_64BIT.
432 (mips_legitimize_move): Simplify accordingly.
434 2004-03-11 Josef Zlomek <zlomekj@suse.cz>
437 * var-tracking.c (struct variable_def): Added field refcount.
438 (variable_htab_free): Decrease the refcount and delete variable
439 only if there are no more references.
440 (unshare_variable): New function.
441 (vars_copy_1): Increase refcount instead of copying the variable.
442 (variable_union): Share the variables where possible, unshare
443 the variables if needed.
444 (variable_different_p): Return false if var1 and var2 are
446 (variable_was_changed): Init the refcount of new variable.
447 (set_frame_base_location): Unshare variable if needed.
448 (set_variable_part): Init the refcount of new variable.
449 Unshare the variables if needed.
450 (delete_variable_part): Unshare the variables if needed.
451 (emit_notes_for_differences_1): Init the refcount of new variable.
452 (vt_add_function_parameters): Do not add function parameters to
453 IN set of ENTRY_BLOCK_PTR because it is unused anyway.
454 (vt_initialize): Do not add frame_base_decl to IN set of
455 ENTRY_BLOCK_PTR because it is unused anyway.
457 2004-03-11 Josef Zlomek <zlomekj@suse.cz>
459 * var-tracking.c (vars_copy_1): Cleanup and speedup chain operations.
460 (vars_copy): Likewise.
461 (variable_union): Likewise.
462 (set_variable_part): Likewise.
463 (delete_variable_part): Likewise.
465 2004-03-11 Kazu Hirata <kazu@cs.umass.edu>
467 * c-typeck.c, combine.c, cse.c, dominance.c, et-forest.h,
468 ggc-page.c, var-tracking.c, config/fp-bit.c, config/c4x/c4x.c,
469 config/cris/cris.c, config/i386/ppro.md, config/i860/i860.c,
470 config/i860/i860.h, config/m32r/m32r.h, config/m32r/xm-m32r.h,
471 config/m68hc11/m68hc11.h, config/m68hc11/m68hc11.md,
472 config/mips/mips.c, config/mmix/mmix.c, config/ns32k/ns32k.h,
473 config/pa/pa.c, config/pa/pa32-regs.h, config/pa/pa64-regs.h,
474 config/pdp11/pdp11.h, config/rs6000/rs6000.c,
475 config/stormy16/stormy16.c: Fix comment typos and formatting.
477 2004-03-11 Nathanael Nerode <neroden@gcc.gnu.org>
479 * configure: Regenerate, since I forgot to while committing Paolo's
482 2004-03-08 Paolo Bonzini <bonzini@gnu.org>
485 Move language detection to the top level.
486 * configure.ac: Remove code to detect languages,
487 it now lives exclusively in the top level.
488 * aclocal.m4 (gcc_AC_PROG_GNAT): Moved to the
489 top level, renamed to ACX_PROG_GNAT.
491 2004-03-10 Richard Henderson <rth@redhat.com>
493 * c-pch.c (c_common_no_more_pch): Update for gt_pch_use_address
495 * config.host (*-*-solaris2*, *-*-linux*): Add out_host_hook_obj
496 and host_xmake_file fragments.
497 * ggc-common.c (gt_pch_save): Update for gt_pch_get_address change.
498 (gt_pch_restore): Similarly for gt_pch_use_address.
499 (default_gt_pch_get_address): New.
500 (mmap_gt_pch_get_address): Split out of gt_pch_save.
501 (default_gt_pch_use_address): Split out of gt_pch_restore.
502 (mmap_gt_pch_use_address): Likewise.
503 * hooks.c (hook_voidp_size_t_null): Remove.
504 (hook_bool_voidp_size_t_false): Remove.
506 * hosthooks-def.h (HOST_HOOKS_GT_PCH_GET_ADDRESS): Use one of the
507 default_ or mmap_ definitions.
508 (HOST_HOOKS_GT_PCH_USE_ADDRESS): Likewise.
509 * hosthooks.h (struct host_hooks): Update gt_pch_get_address
510 and gt_pch_use_address.
511 * config/host-linux.c, config/host-solaris.c: New files.
512 * config/x-linux, config/x-solaris: New files.
513 * config/rs6000/host-darwin.c (darwin_rs6000_gt_pch_get_address):
514 Update for changed definition.
515 (darwin_rs6000_gt_pch_use_address): Likewise.
516 * doc/hostconfig.texi: Update docs.
518 2004-03-10 Richard Henderson <rth@redhat.com>
521 * c-decl.c (grokdeclarator): Don't warn for duplicate qualifiers
522 except for pedantic c90 mode.
524 2004-03-10 Kelley Cook <kcook@gcc.gnu.org>
526 * configure.ac: Bump AC_PREREQ to 2.59.
527 * configure: Regenerate.
529 2004-03-10 Uros Bizjak <uros@kss-loka.si>
531 * optabs.h (enum optab_index): Add new OTI_exp10 and OTI_exp2.
532 (exp10_optab, exp2_optab): Define corresponding macros.
533 * optabs.c (init_optabs): Initialize exp10_optab and exp2_optab.
534 * genopinit.c (optabs): Implement exp10_optab and exp2_optab
535 using exp10?f2 and exp2?f2 patterns.
536 * builtins.c (expand_builtin_mathfn): Handle BUILT_IN_EXP10{,F,L}
537 using exp10_optab, and BUILT_IN_EXP2{,F,L} using exp2_optab.
538 (expand_builtin): Expand BUILT_IN_EXP10{,F,L} and BUILT_IN_EXP2{,F,L}
539 using expand_builtin_mathfn if flag_unsafe_math_optimizations is set.
541 * config/i386/i386.md (exp10sf2, exp10df2, exp10xf2, exp2sf2,
542 exp2df2, exp2xf2): New patterns to implement exp10, exp10f, exp10l,
543 exp2, exp2f and exp2l built-ins as inline x87 intrinsics.
545 2004-03-10 Anthony Green <green@redhat.com>
547 * doc/invoke.texi (ARM Options): Fix -mpfu typo.
549 2004-03-10 David Edelsohn <edelsohn@gnu.org>
551 * config/rs6000/aix.h (TARGET_OS_CPP_BUILTINS): Rename to ...
552 (TARGET_OS_AIX_CPP_BUILTINS): this. Conditionally define
554 * config/rs6000/aix41.h (TARGET_OS_CPP_BUILTINS): Use
555 TARGET_OS_AIX_CPP_BUILTINS.
556 * config/rs6000/aix43.h (TARGET_OS_CPP_BUILTINS): Same.
557 * config/rs6000/aix51.h (TARGET_OS_CPP_BUILTINS): Same.
558 * config/rs6000/aix52.h (TARGET_OS_CPP_BUILTINS): Same.
559 * config/rs6000/rs6000-c.c (rs6000_cpu_cpp_builtins): Revert
562 2004-03-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
564 * fold-const.c (tree_expr_nonnegative_p): Add more builtin cases.
566 2004-03-10 David Edelsohn <edelsohn@gnu.org>
568 * config/rs6000/rs6000-c.c (rs6000_cpu_cpp_builtins): Define
569 __LONGDOUBLE128 on AIX.
571 2004-03-10 Andrew Haley <aph@redhat.com>
573 PR optimization/14381
574 * function.c (expand_function_end): Emit a blockage insn before
575 the epilogue when -fnon-call-exceptions is used.
577 * except.c (expand_start_all_catch): Make comment more accurate.
579 2004-03-08 Joel Sherrill <joel@oarcorp.com>
582 * config/rs6000/t-rtems: Add missing file on branch.
584 2004-03-10 Ulrich Weigand <uweigand@de.ibm.com>
586 * dbxout.c (dbxout_symbol_location): Do not output references
587 to optimized-out constant pool symbols.
589 2004-03-10 Andreas Schwab <schwab@suse.de>
591 * config/ia64/ia64.md (divsi3, udivsi3): Remove unused variable
594 2004-03-09 James E Wilson <wilson@specifixinc.com>
596 * alias.c (alias_sets_might_conflict_p): New.
597 * c-typeck.c (build_c_cast): Call it if warn_strict_aliasing > 1.
598 * common.opt (Wstrict-aliasing=): New.
599 * flags.h (warn_strict_aliasing): Change type to int.
600 * opts.c (warn_strict_aliasing): Change type to int.
601 (common_handle_option): Handle OPT_Wstrict_aliasing_.
602 * tree.h (alias_sets_might_conflict_p): Declare it.
603 * doc/invoke.tex (-Wstrict-aliasing=2): Document it.
605 2004-03-10 Roman Zippel <zippel@linux-m68k.org>
608 * config/m68k/m68k.h (FIXED_REGISTERS): Add arg pointer.
609 (CALL_USED_REGISTERS): Likewise.
610 (REG_CLASS_CONTENTS): Likewise.
611 (REG_ALLOC_ORDER): New.
612 (REGNO_REG_CLASS): Use regno_reg_class.
613 * config/m68k/m68k.c: Add regno_reg_class array.
615 2004-03-09 Steve Ellcey <sje@cup.hp.com>
617 * config/ia64/ia64.md (divsi3): Fix algorithm.
619 (setf_exp_xf): Remove '*' from name.
620 * testsuite/gcc.dg/20040309-1.c: New test.
622 2004-03-09 Ian Lance Taylor <ian@wasabisystems.com>
624 * system.h (SUNOS4_SHARED_LIBRARIES): Poison.
625 * collect2.c: Remove SUNOS4_SHARED_LIBRARIES code.
626 * config/sparc/aout.h (TARGET_ASM_SELECT_SECTION): Don't define.
627 * config/sparc/sparc.c (sparc_aout_select_section): Remove.
628 (sparc_aout_select_rtx_section): Don't check
629 SUNOS4_SHARED_LIBRARIES.
630 * config/sparc/sparc.h (SUNOS4_SHARED_LIBRARIES): Don't define.
632 2004-03-10 Hans-Peter Nilsson <hp@axis.com>
635 * doc/md.texi (Pattern Ordering, Dependent Patterns)
636 (Jump Patterns, Looping Patterns): Wrap in separate "@ifset
639 2004-03-09 Zack Weinberg <zack@codesourcery.com>
641 * config/ia64/hpux.h (MULTILIB_DEFAULTS): Define.
642 (LIBGCC_SPEC): Update to match.
644 2004-03-09 Zack Weinberg <zack@codesourcery.com>
646 * c-decl.c (last_function_parms, last_function_parm_tags)
647 (last_function_parm_others, current_function_parms)
648 (current_function_parm_tags, current_function_parm_others):
650 (ARG_INFO_PARMS, ARG_INFO_TAGS, ARG_INFO_TYPES, ARG_INFO_OTHERS):
652 (grokdeclarator): For function definitions, save the arg-info
653 block from the declarator in DECL_ARGUMENTS.
654 (grokparms): Do not write to last_function_parm*. Use ARG_INFO_*
655 macros to operate on arg-info block. Can assume ARG_INFO_PARMS
656 contains only PARM_DECLs. Improve diagnostics.
657 (get_parm_info): Use ARG_INFO_* macros. Improve comments and
658 diagnostics. Disable some expensive checks if not ENABLE_CHECKING.
659 (store_parm_decls_newstyle): Take the function to operate on,
660 and an arg-info block, as arguments; don't get anything from
661 current_function_* globals.
662 (store_parm_decls_oldstyle): Likewise.
663 (store_parm_decls): Pass fndecl and its arg-info block down to
664 store_parm_decls_newstyle/oldstyle. Send functions with empty
665 argument lists through store_parm_decls_newstyle to reduce
667 (pushdecl): Comment on the problems with the call to copy_node.
668 Clear DECL_ARGUMENTS of the old node after copying it, if it
669 is an arg-info block instead of a chain of decls.
670 (start_function): Do not manipulate current_function_parm* or
673 2004-03-09 Roger Sayle <roger@eyesopen.com>
674 Andrew Pinski <pinskia@physics.uc.edu>
676 * ifcvt.c (noce_try_sign_mask): New function to transform
677 "x = (y < 0) ? z : 0" into the equivalent "x = (y >> C) & z".
678 (noce_process_if_block): Call noce_try_sign_mask.
680 2004-03-09 Andrew Pinski <apinski@apple.com>
682 * c-typeck.c (tagged_types_tu_compatible_p):
685 2004-03-09 Roger Sayle <roger@eyesopen.com>
687 * simplify-rtx.c (simplify_const_relational_operation): New function
688 renamed from simplify_relational_operation.
689 (simplify_relational_operation): Change prototype to accept an
690 additional mode argument. Call simplify_const_relational_operation.
691 (simplify_gen_relational): Update simplify_relational_operation call.
692 (simplify_ternary_operation): Update simplify_relational_operation
693 subroutine call to use simplify_const_relational_operation instead.
695 * rtl.h (simplify_const_relational_operation): Prototype here.
696 (simplify_relational_operation): Add addtional mode argument.
698 * combine.c (combine_simplify_rtx): Update calls to
699 simplify_relational_operation.
700 (simplify_set): Likewise.
701 (gen_binary): Likewise.
702 * cse.c (fold_rtx): Likewise.
703 * dojump.c (compare_from_rtx): Likewise.
704 (do_compare_rtx_and_jump): Likewise.
705 * integrate.c (subst_constants): Likewise.
706 * unroll.c (simplify_cmp_and_jump_insns): Likewise.
708 2004-03-09 Kazu Hirata <kazu@cs.umass.edu>
710 * config/m32r/m32r.md: Remove all define_peephole's.
712 2004-03-09 Alan Modra <amodra@bigpond.net.au>
714 * config/rs6000/rs6000.md: Remove trailing whitespace.
716 2004-03-08 Eric Christopher <echristo@redhat.com>
718 * Makefile.in (site.exp): Add libiconv variable definition.
720 2004-03-09 Hans-Peter Nilsson <hp@axis.com>
722 * configure: Regenerate for config/accross.m4 correction.
724 2004-03-08 Joel Sherrill <joel@oarcorp.com>
727 * config/rs6000/t-rtems: Add missing file on branch.
729 2004-03-08 Roger Sayle <roger@eyesopen.com>
732 * c-typeck.c (c_mark_addressable): A register variable should
733 be considered global if its not automatic, i.e. TREE_PUBLIC,
734 TREE_STATIC or DECL_EXTERNAL.
735 * function.c (put_var_into_stack): Call abort when placing a
736 hard register into the stack, if x_parm_reg_stack_loc is NULL.
738 2004-03-08 Ulrich Weigand <uweigand@de.ibm.com>
740 * config/s390/s390.md ("*extendqidi2_short_displ"): Add CC clobber.
741 ("*extendqisi2_short_displ"): Likewise.
743 2004-03-08 Kazu Hirata <kazu@cs.umass.edu>
745 * config/pdp11/pdp11.c (comparison_operator_index): Remove.
746 (comp_operator): Likewise.
747 * config/pdp11/pdp11-protos.h: Remove corresponding
750 2004-03-08 Eric Botcazou <ebotcazou@act-europe.fr>
752 * expr.c (highest_pow2_factor_for_type): Rename into
753 highest_pow2_factor_for_target. Use DECL_ALIGN instead of
754 TYPE_ALIGN when the target is a COMPONENT_REF.
755 (expand_assignment): Ajust call to highest_pow2_factor_for_type.
757 2004-03-08 Alan Modra <amodra@bigpond.net.au>
759 * config/rs6000/rs6000.c: Formatting fix.
760 (legitimate_offset_address_p): Correct offset range check.
762 * config/rs6000/rs6000.c (rs6000_override_options): Don't override
763 -msoft-float by -mcpu. Consolidate similar code for MASK_MULTIPLE
766 2004-03-07 Aldy Hernandez <aldyh@redhat.com>
768 * config/rs6000/rs6000.md (ashrdi3): Do not call ashrdi3_no_power
770 ("ashrdi3_no_power"): Disable for little endian.
773 2004-03-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
775 * fold-const.c (tree_expr_nonnegative_p): Reformat checks for
778 2004-03-08 Hans-Peter Nilsson <hp@axis.com>
781 * configure.ac (Target-specific assembler checks) <cris-*-*>: New
782 case, checking for -no-mul-bug-abort option.
783 * configure, config.in: Regenerate.
784 * doc/invoke.texi (CRIS Options): Document -mmul-bug-workaround
785 and -mno-mul-bug-workaround.
786 * config/cris/cris.md ("smulsi3_highpart", "umulsi3_highpart")
787 ("mulsidi3", "umulsidi3"): Prefix output template with "%!".
788 ("umulhisi3", "umulqihi3", "mulsi3", "mulqihi3", "mulhisi3"):
789 Ditto. Make attribute "slottable" dependent on TARGET_MUL_BUG.
790 * config/cris/mulsi3.asm (__Mul) [__CRIS_arch_version >= 10]: Make
791 sure mulu.d is not last on cache-line.
792 * config/cris/cris.h (ASM_SPEC): Translate -mno-mul-bug-workaround
793 into -no-mul-bug-abort depending on HAVE_AS_MUL_BUG_ABORT_OPTION.
794 (TARGET_MASK_MUL_BUG, TARGET_MUL_BUG): New macros.
795 (TARGET_SWITCHES): New options -mmul-bug-workaround and
796 -mno-mul-bug-workaround.
797 (TARGET_DEFAULT): Include TARGET_MASK_MUL_BUG.
798 (PRINT_OPERAND_PUNCT_VALID_P): Include '!'.
799 * config/cris/cris.c (cris_operand_extend_operator): Clarify
800 relation to MULT in head comment.
801 (cris_op_str): Abort for MULT.
802 (cris_print_operand) <case '!'>: New case.
804 2004-03-08 Alan Modra <amodra@bigpond.net.au>
807 * dwarf2out.c (enum dw_val_class): Rename dw_val_class_float to
808 dw_val_class_vec. Replace use throughout file.
809 (dw_float_const): Delete.
811 (dw_val_struct_union): Rename val_float to val_vec. Replace use
813 (add_AT_vec): Rename from add_AT_float. Add elt_size param.
814 (same_dw_val_p): Adjust vec comparison. Use memcmp.
815 (size_of_die): Adjust dw_val_class_vec sizing.
816 (output_die): Output dw_val_class_vec.
817 (insert_int, extract_int, insert_float): New functions.
818 (add_const_value_attribute): Use insert_float for CONST_DOUBLE.
820 (add_location_or_const_value_attribute): Handle CONST_VECTOR.
822 2004-03-07 Aldy Hernandez <aldyh@redhat.com>
824 * config/rs6000/rs6000.c (rs6000_parse_abi_options): SPE and
825 AltiVec abi cannot co-exist.
827 * config/rs6000/eabispe.h (SUBSUBTARGET_OVERRIDE_OPTIONS): Same.
829 2004-03-07 Jan Hubicka <jh@suse.cz>
831 * except.c (emit_to_new_bb_before): Break fallthru edges.
833 2004-03-07 Stephane Carrez <stcarrez@nerim.fr>
835 * config/m68hc11/m68hc11.md ("*lshrsi3_const"): Disable for 68HC12.
836 ("*lshrsi3"): Also accept an immediate for 68HC12.
837 ("*ashrsi3_const"): Likewise.
838 ("*ashrsi3"): Likewise.
839 ("*ashlsi3_const"): Likewise.
840 ("*ashlsi3"): Likewise.
841 ("cmphi_1_hc12"): Compare two hard register by pushing them and
842 comparing with a pop; don't use a split for that.
843 ("cmphi split"): Disable compare split for 68HC12.
845 * config/m68hc11/m68hc11.c (m68hc11_notice_update_cc): Invalidate
846 the status operands if they have side effects.
848 2004-03-07 Kazu Hirata <kazu@cs.umass.edu>
850 * defaults.h (LEGITIMIZE_ADDRESS): Provide a default
852 * config/arc/arc.h, config/fr30/fr30.h, config/frv/frv.h,
853 config/h8300/h8300.h, config/ia64/ia64.h,
854 config/mcore/mcore.h, config/mmix/mmix.h,
855 config/ns32k/ns32k.h, config/pdp11/pdp11.h,
856 config/stormy16/stormy16.h, config/v850/v850.h,
857 config/vax/vax.h (LEGITIMIZE_ADDRESS): Remove.
858 * doc/tm.texi (LEGITIMIZE_ADDRESS): Mention the default
861 2004-03-07 Roger Sayle <roger@eyesopen.com>
863 * fold-const.c (fold) <IOR_EXPR>: Fold x | x as x.
864 <XOR_EXPR>: Fold x ^ x as zero.
865 <AND_EXPR>: Fold x & x as x.
867 2004-03-07 Roger Sayle <roger@eyesopen.com>
869 * fold-const.c (fold) <EQ_EXPR>: Rewrite optimization to transform
870 "foo++ == const" into "++foo == const+incr".
872 2004-03-07 Richard Sandiford <rsandifo@redhat.com>
874 * config/mips/mips.c (mips_in_small_data_p): Return false if
877 2004-03-06 Stephane Carrez <stcarrez@nerim.fr>
879 * config/m68hc11/m68hc11.c (m68hc11_gen_movhi): Use 2,-sp to push
881 (expand_prologue): Don't make an interrupt or a trap handler a far
883 (m68hc11_initial_elimination_offset): Likewise.
885 2004-03-06 Richard Henderson <rth@redhat.com>
887 * config/alpha/alpha.c (alpha_in_small_data_p): False for functions.
889 2004-03-06 Kazu Hirata <kazu@cs.umass.edu>
891 * config/ns32k/ns32k-protos.h: Add a prototype for
892 ns32k_notice_update_cc.
893 * config/ns32k/ns32k.c (ns32k_notice_update_cc): New.
894 * config/ns32k/ns32k.h (NOTICE_UPDATE_CC): Call
895 ns32k_notice_update_cc.
897 2004-03-06 Ulrich Weigand <uweigand@de.ibm.com>
899 * config/s390/s390.md ("load_multiple", "*load_multiple_di",
900 "*load_multiple_si"): Allow only if reload_completed.
901 ("store_multiple", "*store_multiple_di", "*store_multiple_si"):
904 2004-03-06 Kazu Hirata <kazu@cs.umass.edu>
906 * config/vax/vax-protos.h: Add a prototype for
907 vax_notice_update_cc.
908 * config/vax/vax.c (vax_notice_update_cc): New.
909 * config/vax/vax.h (NOTICE_UPDATE_CC): Call
910 vax_notice_update_cc.
912 2004-03-06 David Edelsohn <edelsohn@gnu.org>
914 * collect2.c (main): Only export initfunc and finifunc if
915 LD_INIT_SWITCH not defined.
916 (scan_prog_file): Only export constructors and destructors if
917 LD_INIT_SWITCH not defined. Only export symbols not found in
920 2004-03-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
922 * pa.md (icacheflush): Reorder operands to make match_scratch operand
924 * pa.h (INITIALIZE_TRAMPOLINE): Remove unnecessary scratch argument
925 from calls to gen_icacheflush.
927 2004-03-06 Richard Henderson <rth@redhat.com>
929 * config/alpha/alpha.h (MASK_LONG_DOUBLE_128): New.
930 (TARGET_LONG_DOUBLE_128): New.
931 (TARGET_SWITCHES): Add long-double-{128,64}.
932 (TARGET_HAS_XFLOATING_LIBS): Default to TARGET_LONG_DOUBLE_128.
933 (LONG_DOUBLE_TYPE_SIZE): Honor TARGET_LONG_DOUBLE_128.
934 (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): New.
935 (WIDEST_HARDWARE_FP_SIZE): New.
936 (TARGET_CPU_CPP_BUILTINS): Define __LONG_DOUBLE_128__.
937 * config/alpha/alpha.c (override_options): Clear MASK_LONG_DOUBLE_128
939 * config/alpha/osf5.h (LONG_DOUBLE_TYPE_SIZE): Remove.
940 (TARGET_DEFAULT): Set MASK_LONG_DOUBLE_128.
942 2004-03-06 Richard Henderson <rth@redhat.com>
944 * config/alpha/alpha.c (alpha_swapped_comparison_operator): Fix
945 botched rtx class conversion.
947 2004-03-06 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
949 * tree.h (BUILTIN_EXP10_P, BUILTIN_EXPONENT_P, BUILTIN_SQRT_P,
950 BUILTIN_CBRT_P, BUILTIN_ROOT_P): New macros.
952 * builtins.c (fold_builtin_logarithm, fold_builtin): Use new
954 * fold-const.c (fold_mathfn_compare, fold): Likewise.
956 2004-03-06 Eric Botcazou <ebotcazou@libertysurf.fr>
959 * config/i386/i386.md (movv2di_internal): Conditionalize on
960 TARGET_SSE, not TARGET_SSE2.
962 2004-03-05 Chris Demetriou <cgd@broadcom.com>
964 * config.gcc (mips64orion-*-elf*, mips64orionel-*-elf*): Delete
967 2004-03-05 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
969 * builtins.c: Consistently use logN not log* in comments.
971 2004-03-05 Andreas Krebbel <krebbel1@de.ibm.com>
973 * rtl.h (mem_expr_equal_p): Function prototype added.
974 * cfgcleanup.c (merge_memattrs): New function.
975 (flow_find_cross_jump): Call merge_memattrs for matching insns.
976 * emit-rtl.c (mem_expr_equal_p): New function.
978 2004-03-05 Ziemowit Laski <zlaski@apple.com>
980 * objc/objc-act.c (synth_module_prologue): Const-qualify
981 objc_selector type if using the GNU runtime; fix generated
982 signatures for objc_msg_lookup and objc_msg_lookup_super
983 to match what GNU ObjC headers provide; reformat and clean up.
984 (synth_self_and_ucmd_args): Use previously constructed (and
985 hence possibly const-qualified) objc_selector type.
987 2004-03-05 Kazu Hirata <kazu@cs.umass.edu>
989 * doc/tm.texi (HARD_REGNO_RENAME_OK): Document.
991 2004-03-05 Jason Merrill <jason@redhat.com>
993 * tree.h (TYPE_HASH): Use TYPE_UID.
994 (TREE_HASH): New macro with old definition of TYPE_HASH.
995 * tree.c (build_type_attribute_variant): Use iterative_hash_object.
996 (build_array_type, build_function_type): Likewise.
997 (build_method_type_directly): Likewise.
998 (build_offset_type, build_complex_type): Likewise.
999 (type_hash_list, attribute_hash_list): Likewise. Now static.
1000 * except.c: s/TYPE_HASH/TREE_HASH/.
1002 2004-03-05 Bob Wilson <bob.wilson@acm.org>
1004 * config/xtensa/xtensa.c (function_arg): Handle 16-byte aligned args.
1005 (xtensa_va_start): Initialize __va_stk to ($arg_ptr - 32). Adjust
1006 __va_ndx by 2 words when referencing an argument on the stack.
1007 (xtensa_va_arg): Handle 16-byte aligned args. Adjust __va_ndx by 2
1008 words when an arg on the stack is first seen.
1010 2004-03-05 Paul Brook <paul@codesourcery.com>
1012 * arm.h (ARM_FLAG_VFP): Remove.
1013 (ARM_FLAG_ATPCS, CIRRUS_FIX_INVALID_INSNS): Renumber.
1014 * netbsd-elf.h (ARM_FLAG_VFP): Remove.
1016 2004-03-05 Paul Brook <paul@codesourcery.com>
1018 * function.c (assign_parms): Include pretend alignment offset.
1020 2004-03-05 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1022 * stor-layout.c (layout_type, case FUNCTION_TYPE): Make size
1023 FUNCTION_BOUNDARY, not POINTER_SIZE * 2.
1025 2004-03-05 Ian Lance Taylor <ian@wasabisystems.com>
1027 * configure.ac: When passing --enable-languages to subdir
1028 configure when host != build, make sure we don't pass an empty
1030 * configure: Regenerate.
1032 2004-03-05 Nathan Sidwell <nathan@codesourcery.com>
1035 * gcc.c (cc1_options): Robustify -auxbase-strip from multiple -o
1038 2004-03-05 Paolo Bonzini <bonzini@gnu.org>
1040 * simplify-rtx.c (simplify_relational_operation): If
1041 flag_wrapv is set, do not move terms between the two
1042 side of a relational operator.
1044 2004-03-05 Paolo Bonzini <bonzini@gnu.org>
1046 * rtlanal.c: Include target.h and output.h
1047 (rtx_cost, address_cost, default_address_cost): Move from...
1048 * cse.c (rtx_cost, address_cost, default_address_cost):
1050 * rtl.h (rtx_cost, address_cost): Move under rtlanal.c.
1051 * Makefile.in: Adjust dependencies.
1053 2004-03-05 Paolo Bonzini <bonzini@gnu.org>
1055 * cse.c (cse_end_of_basic_block): Make static.
1056 * local-alloc.c (function_invariant_p): Move to
1058 * loop.c (libcall_other_reg, record_excess_regs):
1060 * reload1.c (function_invariant_p): Moved here
1061 from local-alloc.c, made static.
1062 * rtl.h (cse_end_of_basic_block, function_invariant_p,
1063 libcall_other_reg, record_excess_regs): Remove
1066 2004-03-05 Kazu Hirata <kazu@cs.umass.edu>
1068 * config/m32r/m32r.c (signed_comparison_operator): Add a
1069 missing parenthesis.
1071 2004-03-04 Ian Lance Taylor <ian@wasabisystems.com>
1073 * ggc-common.c (gt_pch_restore): Don't unmap addr unless we are
1074 going to call mmap again. Read the file into the right place.
1075 Give a fatal error if we have to relocate.
1077 2004-03-04 Bob Wilson <bob.wilson@acm.org>
1079 * config/xtensa/xtensa.c (xtensa_return_in_msb): New function.
1080 (TARGET_RETURN_IN_MSB): Define to xtensa_return_in_msb.
1082 2004-03-05 Hans-Peter Nilsson <hp@axis.com>
1085 * config/fp-bit.c (_fpdiv_parts): Do not round when pack_d would
1086 round the same. When rounding, clear bits that would cause a
1087 second rounding in pack_d.
1088 (_fpmul_parts): Ditto. Remove #if 0:d code.
1090 2004-03-04 Ziemowit Laski <zlaski@apple.com>
1092 PR c++/14425, c++/14426
1093 * config/rs6000/altivec.h (vec_splat_s8, vec_splat_s16,
1094 vec_splat_s32, vec_splat_u8, vec_splat_u16, vec_splat_u32):
1095 Change C++ definitions to accept a 'const int' argument;
1096 the prototypes already do.
1097 * config/rs6000/rs6000.c (rs6000_common_init_builtins):
1098 Rename v4si_ftype_char, v8hi_ftype_char, v16qi_ftype_char,
1099 v4sf_ftype_v4si_char, v4si_ftype_v4sf_char, v4si_ftype_v4si_char,
1100 v8hi_ftype_v8hi_char, v16qi_ftype_v16qi_char,
1101 v16qi_ftype_v16qi_v16qi_char, v8hi_ftype_v8hi_v8hi_char,
1102 v4si_ftype_v4si_v4si_char and v4sf_ftype_v4sf_v4sf_char to
1103 end in ..._int; change them to accept an int instead of a char
1104 as the last parameter.
1106 2004-03-04 Phil Edwards <phil@codesourcery.com>
1108 * genmultilib: Change '=' to '-' when translating option names
1111 2004-03-04 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1113 * expr.c (expand_expr_real, case COMPONENT_REF): Get proper type of
1114 stack slot for temp used for result of BLKmode but in integral mode.
1116 2004-03-04 Jan Hubicka <jh@suse.cz>
1118 * reload.c (find_reloads): Reorganize if seqeunce to switch.
1120 * cfgrtl.c (rtl_redirect_edge_and_branch): Set the source BB as dirty.
1121 (cfglayout_redirect_edge_and_branch): Set the source BB as dirty.
1123 2004-03-04 Steve Ellcey <sje@cup.hp.com>
1125 * config/ia64/ia64.md (divdf3_internal_thr): Fix algorithm.
1126 * testsuite/gcc.dg/20040303-1.c: New test.
1128 2004-03-04 Steven Bosscher <stevenb@suse.de>
1130 * ppro.md: Rewrite as a DFA pipeline description.
1131 * i386.md: Remove all uses of the ppro_uops attribute.
1132 * i386.c: (ix86_safe_ppro_uops, ix86_dump_ppro_packet,
1133 ix86_reorder_insn, ix86_sched_reorder_ppro, ix86_sched_init,
1134 ix86_sched_reorder, ix86_variable_issue,
1135 struct ix86_sched_data, TARGET_SCHED_VARIABLE_ISSUE,
1136 TARGET_SCHED_INIT, TARGET_SCHED_REORDER): Remove.
1137 (ia32_use_dfa_pipeline_interface): Add TARGET_PENTIUMPRO.
1138 (ia32_multipass_dfa_lookahead): Add TARGET_PENTIUMPRO.
1139 * athlon.md (athlon_ssecmp_load): Fix comment
1141 2004-03-04 Stuart Hastings <stuart@apple.com>
1143 * gcc/doc/invoke.texi: Document -mlongcall for Darwin/PPC.
1145 2004-03-04 Stuart Hastings <stuart@apple.com>
1147 * gcc/config/i386/darwin.h: Darwin/x86 doesn't support CPUs before
1148 686, tell Darwin assembler to allow prefetch insns, non-empty def
1149 of SUBTARGET_OPTION_TRANSLATE_TABLE.
1151 2004-03-04 DJ Delorie <dj@redhat.com>
1153 PR optimization/14282
1154 * sched-deps.c (sched_analyze_insn): Allow a stack adjustment
1155 between a call and the assignment of its return value.
1157 2004-03-04 Kazu Hirata <kazu@cs.umass.edu>
1159 * config/h8300/h8300.c: Put a comment for every function.
1161 2004-03-04 Kazu Hirata <kazu@cs.umass.edu>
1163 * config/h8300/h8300.md: Add comments about peephole2's.
1165 2004-03-04 Steven Bosscher <stevenb@suse.de>
1167 * i386.h (TARGET_CPU_DEFAULT_nocona): Fix value.
1169 2004-03-04 Jan Hubicka <jh@suse.cz>
1171 * cfgcleanup.c (thread_jump): Update call of cselib_init.
1172 * cselib.c (cselib_record_memory): New static variable.
1173 (cselib_lookup_mem, cselib_record_set, cselib_record_sets):
1174 Give up on memories when asked for.
1175 (cselib_init): Accept new argument.
1176 * cselib.h (cselib_init): Update prototype.
1177 * gcse.c (local_cprop_pass): Update call of cselib_init.
1178 * loop.c (load_mems): Update call of cselib_init.
1179 * postreload.c (reload_cse_regs_1): Update call of cselib_init.
1180 * sched-deps.c (sched_analyze): Update call of cselib_init.
1182 2004-03-04 David Edelsohn <edelsohn@gnu.org>
1185 * config/rs6000/rs6000.c (output_function_profiler): Append @plt
1188 2004-03-04 Josef Zlomek <zlomekj@suse.cz>
1191 * var-tracking.c (track_expr_p): Do not track variables which
1192 should be ignored for debugging purposes.
1194 2004-03-04 Alan Modra <amodra@bigpond.net.au>
1196 * real.c (encode_ibm_extended): Don't bother rounding low double.
1197 * c-cppbuiltin.c (builtin_define_float_constants): Tweak MAX
1198 when fmt->pnan < fmt->p.
1200 2004-03-04 Eric Christopher <echristo@redhat.com>
1202 * config/mips/mips.h (FUNCTION_ARG_REGNO_P): Fix to check
1203 only range of valid arg registers and fixed_regs.
1205 2004-03-04 Alan Modra <amodra@bigpond.net.au>
1208 * config/rs6000/rs6000.md (abstf2, abstf2+1): Delete define_insn.
1209 (abstf2, abstf2_internal): New define_expand.
1211 2004-03-04 Eric Botcazou <ebotcazou@libertysurf.fr>
1213 PR optimization/14235
1214 * expr.c (convert_move): Copy the source to a new pseudo
1215 when converting from a sub-word source to a larger-than-word
1216 register which conflicts with the source.
1218 2004-03-03 Zack Weinberg <zack@codesourcery.com>
1221 * c-decl.c (diagnose_mismatched_decls): Issue an error for two
1222 parameters with the same name, unless one is a forward decl.
1223 Do not issue a redundant-redeclaration warning for forward
1224 decls of parameters.
1226 2004-03-04 David Edelsohn <edelsohn@gnu.org>
1228 * doc/install.texi (*-ibm-aix*): Document use of Bash to speed up
1231 2004-03-03 Ian Lance Taylor <ian@wasabisystems.com>
1233 * ggc-zone.c (ggc_pch_write_object): Don't align file pointer.
1235 2004-03-04 Alan Modra <amodra@bigpond.net.au>
1237 * target-def.h (TARGET_OPTF): Delete.
1238 * c-opts.c (TARGET_OPTF): Define.
1240 2004-03-04 Jan Hubicka <jh@suse.cz>
1242 * cselib.c (cselib_finish): Fix another miss-application of my previous
1245 2004-03-03 Mike Stump <mrs@apple.com>
1247 Add framework support for darwin.
1249 * c-incpath.c: Include target.h and machmode.h.
1250 (add_path): Use a consistent style for cpp_dir. Initialize
1252 (add_cpp_dir_path): New.
1253 (register_include_chains): Add use of extra_includes callback.
1254 (hook_void_int): Add.
1255 (target_c_incpath): Add.
1256 * c-incpath.h (add_cpp_dir_path): New.
1257 (target_c_incpath_s): Add.
1258 (target_c_incpath): Add.
1259 (C_INCPATH_INIT): Add.
1260 * c-opts.c (c_common_missing_argument,
1261 c_common_handle_option): Add -F argument processing.
1262 * c.opt: Add -F argument processing.
1263 * gcc.c (trad_capable_cpp): Add -F argument processing.
1264 * cppfiles.c (find_file_in_dir): Update to use construct
1266 (search_path_exhausted, cpp_get_path, cpp_get_buffer,
1268 (_cpp_find_file): Use search_path_exhausted.
1269 (make_cpp_dir): Initialize construct to 0.
1270 * cpplib.h (missing_header_cb
1271 cpp_get_path, cpp_get_buffer, cpp_get_file, cpp_get_prev): New.
1272 (cpp_callbacks): Add missing_header
1273 (cpp_dir): Add construct.
1274 * target-def.h: (TARGET_OPTF): New.
1275 * hooks.c (hook_void_int, hook_void_charptr): Add.
1276 * hooks.h (hook_void_int, hook_void_charptr): Add.
1277 * Makefile.in (c-incpath.o) : Add $(TARGET_H) and
1278 $(MACHMODE_H) dependencies.
1279 * doc/invoke.texi (Darwin Options): Document -F.
1280 * doc/tm.texi (TARGET_EXTRA_INCLUDES): Add.
1282 * fix-header.c (target_c_incpath): Add.
1284 * config/darwin-c.c: Add c-incpath.h include.
1285 (using_frameworks, find_subframework_file,
1286 find_subframework_header, add_system_framework_path,
1287 frameworks_in_use, num_frameworks, max_frameworks,
1288 add_framework, find_framework, struct framework_header,
1289 framework_header_dirs, framework_construct_pathname,
1290 find_subframework_file, add_system_framework_path,
1291 add_framework_path, framework_defaults,
1292 darwin_register_frameworks, find_subframework_header): Add.
1293 * config/darwin.h (TARGET_EXTRA_INCLUDES, TARGET_OPTF): New.
1294 (TARGET_OPTION_TRANSLATE_TABLE): Add -framework support.
1295 (CPP_SPEC): Add __APPLE_CC__ support.
1296 * t-darwin (darwin-c.o): Add c-incpath.h dependency.
1298 2004-03-04 Jan Hubicka <jh@suse.cz>
1300 * cselib.c (cselib_finish): Fix miss-application of my previous
1303 2004-03-03 Kazu Hirata <kazu@cs.umass.edu>
1305 * hooks.c (hook_tree_tree_identity): New.
1306 * hooks.h: Add a prototype for hook_tree_tree_identity.
1307 * stmt.c (expand_asm_operands): Use targetm.md_asm_clobbers
1308 instead of MD_ASM_CLOBBERS.
1309 * system.h (MD_ASM_CLOBBERS): Poison.
1310 * target-def.h (TARGET_MD_ASM_CLOBBERS): New.
1311 (TARGET_INITIALIZER): Add TARGET_MD_ASM_CLOBBERS.
1312 * target.h (gcc_target): Add md_asm_clobbers.
1313 * config/i386/i386.c (TARGET_MD_ASM_CLOBBERS): New.
1314 (ix86_md_asm_clobbers): New.
1315 * config/i386/i386.h (MD_ASM_CLOBBERS): Remove.
1316 * doc/tm.texi (MD_ASM_CLOBBERS): Change to
1317 TARGET_MD_ASM_CLOBBERS.
1319 2004-03-03 Stuart Hastings <stuart@apple.com>
1321 * gcc/config.gcc: Arrange for Darwin/x86 to build libgcc_eh.a.
1323 2004-03-03 Eric Botcazou <ebotcazou@libertysurf.fr>
1325 * config/sparc/sparc.c (noov_compare64_op): Fix typo.
1327 * config/sparc/sparc.h (ASM_FLOAT): Delete.
1328 (ASM_DOUBLE): Likewise.
1329 (ASM_LONGDOUBLE): Likewise.
1330 * config/sparc/pbd.h (ASM_INT_OP): Delete.
1332 2003-03-03 Richard Henderson <rth@redhat.com>
1335 * cselib.c (cselib_record_sets): Don't record multiple sets in
1338 2004-03-03 Mostafa Hagog <mustafa@il.ibm.com>
1340 * common.opt: Add description of the new -fgcse-after-reload flag.
1342 * flags.h (flag_gcse_after_reload): Declaration of global variable.
1344 * gcse.c (reg_used_on_edge ,reg_set_between_after_reload_p,
1345 reg_used_between_after_reload_p, rtx get_avail_load_store_reg,
1346 is_jump_table_basic_block, bb_has_well_behaved_predecessors,
1347 get_bb_avail_insn, hash_scan_set_after_reload,
1348 compute_hash_table_after_reload, eliminate_partially_redundant_loads,
1349 gcse_after_reload, get_bb_avail_insn): New functions to implement
1351 (gcse_after_reload_main): New function, the main entry point to
1354 * rtl.h (gcse_after_reload_main): Declaration of the new function.
1356 * opts.c (common_handle_option): Handle the -fgcse-after-reload flag.
1358 * toplev.c (flag_gcse_after_reload): Initialization.
1360 * passes.c (rest_of_handl_gcse2): Call gcse_after_reload_main.
1362 * params.def (PARAM_GCSE_AFTER_RELOAD_PARTIAL_FRACTION,
1363 PARAM_GCSE_AFTER_RELOAD_CRITICAL_FRACTION): New parameters for tuning
1364 the gcse after reload optimization.
1366 * params.h (GCSE_AFTER_RELOAD_PARTIAL_FRACTION,
1367 GCSE_AFTER_RELOAD_CRITICAL_FRACTION): Two macros to access the tuning
1370 * doc/invoke.texi: Documentation for the new flag gcse-after-reload.
1372 2004-03-03 Nicolas Pitre <nico@cam.org>
1374 * config/arm/ieee754-df.S (muldf3, divdf3): Fix denormalization of
1375 small negative values.
1377 2004-03-03 Jan Hubicka <jh@suse.cz>
1379 * cselib.c (hash_table): Remove GTY marker.
1380 (reg_values): Turn into array.
1381 (used_regs): Likewise.
1382 (n_used_regs): New static variable.
1383 (reg_values_old): Kill.
1384 (clear_table): Update uses of arrays.
1385 (cselib_lookup): Likewise.
1386 (cselib_record_set): Likewise.
1387 (cselib_init): Likewise.
1388 (cselib_finish): Likewise.
1389 (cselib_udpate_varray_sizes): Kill.
1390 * cselib.h (cselib_update_varray_sizes): Kill.
1392 2004-03-03 Paul Brook <paul@codesourcery.com>
1394 * flow.c (ior_reg_cond, and_reg_cond): Remove stray ")".
1396 2004-03-03 Jan Hubicka <jh@suse.cz>
1398 * ggc-common.c (ggc_alloc_cleared_stat, ggc_realloc_stat):
1399 Rename from ...; make statistics transparent.
1400 (ggc_alloc_cleared, ggc_realloc_stat): ... these.
1401 (loc_descriptor): New structure.
1402 (hash_descriptor, eq_descriptor, loc_descriptor, cmp_statistics,
1404 New static function.
1405 (ggc_record_overhead, dump_statistics): New global function.
1406 * ggc-none.c (ggc_alloc_types_stat, ggc_alloc_stat, ggc_alloc_zone_stat,
1407 ggc_alloc_cleared_stat, ggc_realloc_stat, ggc_alloc_typed_stat): Rename
1408 from ...; accept locations
1409 (ggc_alloc_types, ggc_alloc, ggc_alloc_zone, ggc_alloc_cleared,
1410 ggc_realloc, ggc_alloc_typed): ... this one.
1411 from ...; accept locations
1412 * ggc-page.c (ggc_alloc_typed_stat, ggc_alloc_zone_stat,
1413 ggc_alloc_stat): Rename from ... ; pass locations
1414 * ggc-page.c (ggc_alloc_typed, ggc_alloc_zone, ggc_alloc):
1416 (ggc_alloc_stat): Record overehead.
1417 * ggc.h (ggc_alloc_types, ggc_alloc, ggc_alloc_zone, ggc_alloc_cleared,
1418 ggc_realloc, ggc_alloc_typed): Turn to macros
1419 (ggc_alloc_types_stat, ggc_alloc_stat, ggc_alloc_zone_stat,
1420 ggc_alloc_cleared_stat, ggc_realloc_stat, ggc_alloc_typed_stat): Declare.
1421 (dump_ggc_loc_satistics, ggc_record_overehead): Declare.
1422 * langhooks.h (lhd_make_node): Declare.
1423 (LANG_HOOKS_MAKE_TYPE): Default to new function,
1424 * langhooks.c (lhd_make_node): New.
1425 * rtl.c (rtx_alloc_stat, swallow_copy_rtx_stat): Rename from ... ; pass
1427 (rtx_alloc, swallow_copy_rtx): ... this one.
1428 * rtl.h (rtx_alloc, swallow_copy_rtx): Turn to macros.
1429 * rtl.c (rtx_alloc_stat, swallow_copy_rtx_stat): Declare.
1430 * toplpev.c (finalize): Dump stats.
1431 * tree.c (make_node_stat, copy_node_stat, make_tree_vec_stat,
1432 build_tree_list_stat, tree_cons_stat, build?_stat, build_decl_stat):
1433 Rename from ... ; pass locators.
1434 (make_node, copy_node, make_tree_vec, build_tree_list, tree_cons,
1435 build?, build_decl): Declare.
1436 * tree.h (make_node_stat, copy_node_stat, make_tree_vec_stat,
1437 build_tree_list_stat, tree_cons_stat, build?_stat, build_decl_stat):
1439 (make_node, copy_node, make_tree_vec, build_tree_list, tree_cons,
1440 build?, build_decl): New macros.
1441 * Makefile.in (RTL_H, TREE_H): Add statistics.h dependency.
1442 * statistics.h: New file.
1444 2004-03-03 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
1445 Richard Sandiford <rsandifo@redhat.com>
1447 * config/mips/mips.h (MASK_FIX_SB1): Bump.
1448 (MASK_FIX_R4400, TARGET_FIX_R4400): New macros.
1449 (TARGET_SWITCHES): Add -mfix-r4400 and -mno-fix-r4400.
1450 * config/mips/mips.c (mips_output_division): Fill the branch delay
1451 slot with a nop if TARGET_FIX_R4000. Extend R4000 workarounds to
1453 (mips_output_division): Adjust accordingly.
1454 (override_options): Make -march=r4400 imply -mfix-r4400 by default.
1455 * doc/invoke.texi: Document -mfix-r4400 and new errata workarounds.
1457 2004-03-03 Paolo Bonzini <bonzini@gnu.org>
1459 * alias.c (rtx_equal_for_memref_p): Use predicates
1460 to test rtx classes and new rtx class codes, possibly
1461 splitting conditionals that tested against '<' and 'o'.
1462 * caller-save.c (save_call_clobbered_regs): Likewise.
1463 * combine.c (contains_muldiv, find_split_point, subst,
1464 combine_simplify_rtx, simplify_if_then_else,
1465 simplify_set, simplify_logical, expand_compound_operation,
1466 make_compound_operation, if_then_else_cond, known_cond,
1467 apply_distributive_law, cached_nonzero_bits,
1468 cached_num_sign_bit_copies, simplify_shift_const,
1469 gen_binary, simplify_comparison, update_table_tick,
1470 record_value_for_reg, get_lsat_value_validate): Likewise.
1471 * cse.c (mention_regs, find_best_addr, find_comparison_args,
1472 fold_rtx, cse_insn, invalidate_memory, cse_basic_block):
1474 * emit-rtl.c (copy_insn_1): Likewise.
1475 * expr.c (force_operand): Likewise.
1476 * final.c (final_scan_insn, get_mem_expr_from_op): Likewise.
1477 * flow.c (notice_stack_pointer_modification_1,
1478 invalidate_mems_from_autoinc, ior_reg_cond, not_reg_cond,
1479 and_reg_cond, elim_reg_cond): Likewise.
1480 * function.c (update_epilogue_consts): Likewise.
1481 * genattrtab.c (attr_rtx_1): Likewise.
1482 * genopinit.c (gen_insn): Likewise.
1483 * integrate.c (subst_constants): Likewise.
1484 * jump.c (reversed_comparison_code_parts,
1485 reversed_comparison_code, delete_related_insns,
1486 rtx_renumbered_equal_p): Likewise.
1487 * local-alloc.c (block_alloc): Likewise.
1488 * loop.c (rtx_equal_for_prefetch_p, maybe_eliminate_biv,
1489 canonicalize_condition): Likewise.
1490 * loop-iv.c (simplify_using_conditions, iv_number_of_iterations):
1492 * optabs.c (add_equal_node, expand_binop): Likewise.
1493 * predict.c (estimate_probability): Likewise.
1494 * ra-debug.c (ra_print_rtx_2op, ra_print_rtx): Likewise.
1495 * recog.c (validate_replace_rtx_1, comparison_operator,
1496 offsettable_address_p, constrain_operands): Likewise.
1497 * reg-stack.c (swap_rtx_condition_1, subst_stack_regs_pat):
1499 * regclass.c (scan_one_insn): Likewise.
1500 * regmove.c (stable_and_no_regs_but_for_p): Likewise.
1501 * regrename.c (kill_autoinc_value): Likewise.
1502 * reload.c (find_reusable_reload, find_reloads,
1503 reg_overlap_mentioned_for_reload_p): Likewise.
1504 * reload1.c (gen_reload, delete_address_reloads_1): Likewise.
1505 * rtl.c (copy_rtx): Likewise.
1506 * rtl.h (CONSTANT_P, INSN_P): Likewise.
1507 * rtlanal.c (commutative_operand_precedence): Likewise.
1508 * sched-deps.c (conditions_mutex_p): Likewise.
1509 * sched-rgn.c (is_cfg_nonregular): Likewise.
1510 * simplify-rtx.c (simplify_gen_binary,
1511 simplify_gen_relational, simplify_replace_rtx,
1512 simplify_unary_operation, simplify_binary_operation,
1513 simplify_ternary_operation, simplify_rtx): Likewise.
1514 * unroll.c (reg_dead_after_loop): Likewise.
1515 * config/alpha/alpha.c (alpha_swapped_comparison_operator,
1516 print_operand): Likewise.
1517 * config/arc/arc.c (proper_comparison_operator): Likewise.
1518 * config/arm/arm.c (arm_arm_address_cost, arm_select_cc_mode):
1520 * config/avr/avr.c (_reg_unused_after): Likewise.
1521 * config/frv/frv.c (frv_ifcvt_modify_tests,
1522 frv_ifcvt_modify_insn, frv_pack_insn): Likewise.
1523 * config/i386/i386.c (ix86_comparison_operator,
1524 ix86_carry_flag_operator, fcmov_comparison_operator,
1525 arith_or_logical_operator, print_operand,
1526 ix86_expand_binary_operator, ix86_binary_operator_ok):
1528 * config/i386/i386.md: Likewise.
1529 * config/ia64/ia64.c (not_postinc_memory_operand,
1530 ia64_print_operand, update_set_flags, errata_emit_nops):
1532 * config/ia64/ia64.h (PREFERRED_RELOAD_CLASS,
1533 CONSTRAINT_OK_FOR_S): Likewise.
1534 * config/ip2k/ip2k.c (mdr_resequence_xy_yx,
1535 mdr_try_move_dp_reload, ip2k_check_can_adjust_stack_ref,
1536 ip2k_xexp_not_uses_reg_for_mem, ip2k_xexp_not_uses_reg_p,
1537 ip2k_composite_xexp_not_uses_reg_p, ip2k_unary_operator):
1539 * config/iq2000/iq2000.c (cmp_op, symbolic_expression_p,
1540 eqne_comparison_operator, signed_comparison_operator):
1542 * config/mips/mips.c (cmp_op, symbolic_expression_p):
1544 * config/mmix/mmix (mmix_foldable_comparison_operator,
1545 mmix_comparison_operator): Likewise.
1546 * config/pa/pa.c (hppa_legitimize_address): Likewise.
1547 * config/rs6000/rs6000.c (stmw_operation,
1548 branch_comparison_operator, trap_comparison_operator,
1550 * config/rs6000/rs6000.h (SELECT_CC_MODE): Likewise.
1551 * config/s390/s390.c (s390_alc_comparison,
1552 s390_slb_comparison):L Likewise.
1553 * config/sh/sh.c (gen_block_redirect, reg_unused_after):
1555 * config/sparc/sparc.c (eq_or_neq, normal_comp_operator,
1556 noov_compare_op, noov_compare64_op, v9_regcmp_op,
1557 emit_hard_tfmode_operation, reg_unused_after)
1558 * doc/md.texi, doc/rtl.texi: Likewise.
1560 * ra-debug.c: Add 2004 to list of copyright years.
1561 * unroll.c: Likewise.
1563 * combine.c (simplify_logical): Remove dummy test,
1564 (apply_distributive_law): Fix typo in comment.
1565 GET_CODE (x) == AND so x is a commutative binary op.
1566 * jump.c (delete_related_insns): simplify loop
1567 condition, move testing of RTX codes inside the loop.
1568 (rtx_renumbered_equal_p): do not use RTX_CODE.
1569 * rtl.c (rtx_class): Declare as enum rtx_class.
1570 * rtl.def (EQ, NE, UNEQ, LTGT, UNORDERED, ORDERED):
1571 Move to RTX_COMM_COMPARE class.
1572 (HIGH, SYMBOL_REF, LABEL_REF, CONST, CONST_INT, CONST_DOUBLE):
1573 Move to RTX_CONST_OBJ class.
1574 * rtl.h (enum rtx_class): New declaration,
1575 (RTX_OBJ_MASK, RTX_OBJ_RESULT, RTX_COMPARE_MASK,
1576 RTX_COMPARE_RESULT, RTX_ARITHMETIC_MASK, RTX_ARITHMETIC_RESULT,
1577 RTX_BINARY_MASK, RTX_BINARY_RESULT, RTX_COMMUTATIVE_MASK,
1578 RTX_COMMUTATIVE_RESULT, RTX_NON_COMMUTATIVE_RESULT,
1579 RTX_EXPR_FIRST, RTX_EXPR_LAST, UNARY_P, BINARY_P,
1580 ARITHMETIC_P, COMMUTATIVE_ARITHMETIC_P, COMPARISON_P,
1581 SWAPPABLE_OPERANDS_P, NON_COMMUTATIVE_P, COMMUTATIVE_P,
1582 OBJECT_P): New macros.
1583 * config/sparc/sparc.c (noov_compare_op): Remove register
1586 2004-03-03 Kazu Hirata <kazu@cs.umass.edu>
1588 * target.h: Remove texi jargons in comments.
1590 2004-03-02 Kazu Hirata <kazu@cs.umass.edu>
1592 * config/h8300/lib1funcs.asm (___fixunssfsi): Change the
1596 2004-02-27 Kazu Hirata <kazu@cs.umass.edu>
1597 * config/h8300/fixunssfsi.c (__fixunssfsi): Enable on H8/300
1599 * config/h8300/lib1funcs.asm (___fixunssfsi): Remove.
1600 * config/h8300/t-h8300 (LIB1ASMFUNCS): Remove _fixunssfsi_asm.
1602 2004-03-02 Kazu Hirata <kazu@cs.umass.edu>
1604 * doc/md.texi (cbranchmode4): New.
1606 2004-03-02 Eric Christopher <echristo@redhat.com>
1608 * config/mips/mips16.S: Change fixsfsi and fixdfsi to
1610 * config/mips/mips.c (mips_init_libfuncs): Change accordingly.
1611 * config/mips/t-elf (LIB1ASMFUNCS): Ditto.
1612 * config/mips/t-isa3264 (LIB1ASMFUNCS): Ditto.
1613 * config/mips/t-r3900 (LIB1ASMFUNCS): Ditto.
1615 2004-03-02 Richard Henderson <rth@redhat.com>
1618 * coverage.c (coverage_counter_ref): Set MEM_NOTRAP_P.
1619 * optabs.c (prepare_cmp_insn): Force trapping memories to registers
1620 before the compare, if flag_non_call_exceptions.
1622 2004-03-02 Richard Henderson <rth@redhat.com>
1625 * stmt.c (expand_computed_goto): Do do_pending_stack_adjust before
1626 emitting the label, not after.
1628 2004-03-02 Stephane Carrez <stcarrez@nerim.fr>
1630 * config/m68hc11/m68hc11.c (m68hc11_addr_mode): New variable.
1631 (m68hc11_mov_addr_mode): Likewise.
1632 (m68hc11_override_options): Initialize them based on target.
1633 (register_indirect_p): Allow a MEM for indirect addressing modes and
1634 use flags to control what is allowed.
1635 (m68hc11_small_indexed_indirect_p): Use m68hc11_mov_addr_mode for
1636 supported addressing modes.
1637 (m68hc11_register_indirect_p): Use m68hc11_addr_mode.
1638 (go_if_legitimate_address_internal): Likewise.
1639 (m68hc11_indirect_p): Likewise and check the mode.
1640 (print_operand): Allow a (MEM (MEM)) and generate indirect addressing.
1642 2004-03-02 Kazu Hirata <kazu@cs.umass.edu>
1644 * builtins.c (BUILTIN_SETJMP_FRAME_VALUE): Remove.
1645 (expand_builtin_setjmp_setup): Use
1646 targetm.builtin_setjmp_frame_value instead of
1647 BUILTIN_SETJMP_FRAME_VALUE.
1648 * system.h (BUILTIN_SETJMP_FRAME_VALUE): Poison.
1649 * target-def.h (TARGET_BUILTIN_SETJMP_FRAME_VALUE): New.
1650 (TARGET_INITIALIZER): Add TARGET_BUILTIN_SETJMP_FRAME_VALUE.
1651 * target.h (gcc_target): Add builtin_setjmp_frame_value.
1652 * targhooks.c (default_builtin_setjmp_frame_value): New.
1653 * targhooks.h: Add a prototype for
1654 default_builtin_setjmp_frame_value.
1655 * doc/tm.texi (BUILTIN_SETJMP_FRAME_VALUE): Change to
1656 TARGET_BUILTIN_SETJMP_FRAME_VALUE.
1658 2004-03-02 Stephane Carrez <stcarrez@nerim.fr>
1660 * config/m68hc11/m68hc11.md (move peephole2): New peepholes to optimize
1662 (add peepholes): New peepholes to optimize sequences adding small
1664 (bset peepholes): New peepholes to transform an OR in a bset form
1665 (bclr peepholes): Likewise for bclr form.
1666 (cmp peepholes): New peepholes to avoid register copies when comparing.
1668 2004-03-02 Stephane Carrez <stcarrez@nerim.fr>
1670 * config/m68hc11/m68hc11.md ("*pushdi_internal"): New insn and split
1671 to separate push from moves.
1672 ("*pushdf_internal"): Likewise.
1673 ("*pushsf_internal"): Likewise.
1674 ("*pushsi_internal"): Likewise.
1675 ("movdi_internal"): Use define_insn_and_split; non push operand.
1676 ("movdf_internal"): Likewise.
1677 ("movsf_internal"): Likewise.
1678 ("movsi_internal"): Likewise.
1679 ("*movhi_68hc12", "*addhi3_68hc12"): Fix and tune constraints
1680 ("*addhi3", "*subhi3", "*andhi3_mem", "*iorhi3_mem"): Likewise.
1681 ("*ashlsi3_const1", "*lshrsi3_const1"): Likewise.
1683 2004-03-02 Stephane Carrez <stcarrez@nerim.fr>
1685 * config/m68hc11/m68hc11.md ("tstqi_z_used"): Use define_insn_and_split.
1686 ("cmphi_z_used", "cmpqi_z_used"): Likewise.
1687 ("movstrictsi", "movstricthi", "movstrictqi"): Likewise.
1688 ("anddi3", "andsi3", "iordi3", "iorsi3"): Likewise.
1689 ("xordi3", "xorsi3", "*logicalsi3_zexthi"): Likewise.
1690 ("*logicalsi3_zextqi", "*logicalhi3_zexthi_ashift8"): Likewise.
1691 ("logicalhi3_zexthi", "*logicalsi3_silshr16"): Likewise.
1692 ("*logicalsi3_silshl16", "*logicalsi3_silshl16_zext"): Likewise.
1693 ("*ashldi3_const32", "*ashldi3_const1", "addsi_silshr16"): Likewise.
1694 ("addsi_andshr16", "*ashlsi3_const16_zexthi"): Likewise.
1695 ("*lshrdi3_const32", "*lshrdi_const1"): Likewise.
1697 2004-03-02 Stephane Carrez <stcarrez@nerim.fr>
1699 * config/m68hc11/m68hc11.md (SOFT_TMP_REGNUM): Define.
1700 (SOFT_XY_REGNUM): Define.
1701 (cmp split): Use the above instead of hard coded numbers.
1702 (8-bit op split): No need to check the mode; allow Q_REG.
1703 (ashift split): Adjust the first operand if it uses the SP and we
1704 are pushing the shifted value.
1705 (plus shift split): Fix when a source is in register D+X.
1706 ("doloop_end"): Pass dummy arguments to gen_rtx_NE.
1708 2004-03-02 Stephane Carrez <stcarrez@nerim.fr>
1710 * config/m68hc11/m68hc11.c (m68hc11_check_z_replacement): Fix when
1711 comparing with Z register.
1713 2004-03-02 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
1715 * cfgloop.h (struct loop_desc): Removed.
1716 (struct loop): Fields simple, desc and has_desc removed.
1717 (simple_loop_p, count_loop_iterations): Declaration removed.
1718 * cfgloopanal.c (struct unmark_altered_insn_data): Removed.
1719 (unmark_altered, blocks_invariant_registers, unmark_altered_insn
1720 blocks_single_set_registers, invariant_rtx_wrto_regs_p_helper,
1721 invariant_rtx_wrto_regs_p, test_for_iteration, constant_iterations,
1722 simple_loop_exit_p, variable_initial_value, variable_initial_values,
1723 simple_condition_p, simple_increment, count_strange_loop_iterations,
1724 inverse, fits_in_mode_p, simple_loop_p, count_loop_iterations):
1726 * loop-iv.c (check_simple_exit, find_simple_exit): Update comments.
1728 2004-03-02 Kazu Hirata <kazu@cs.umass.edu>
1730 * genattrtab.c: Don't handle MATCH_INSN.
1731 * genrecog.c: Likewise.
1732 * gensupport.c: Likewise.
1733 * rtl.def (match_insn): Remove.
1734 * doc/md.texi (match_insn, match_insn2): Remove.
1736 2004-03-02 Mark Mitchell <mark@codesourcery.com>
1738 * doc/c-tree.texi (DECL_ASSEMBLER_NAME): Mention that using this
1739 macro results in memory allocation.
1741 2004-03-02 David O'Brien <obrien@FreeBSD.org>
1743 * config/freebsd-spec.h (FBSD_DYNAMIC_LINKER): Add.
1744 * config/alpha/freebsd.h (SUBTARGET_EXTRA_SPECS): Define
1745 %(fbsd_dynamic_linker),
1746 (LINK_SPEC): Use %(fbsd_dynamic_linker), and sync style with
1747 config/i386/freebsd.h
1748 * config/arm/freebsd.h: Ditto.
1749 * config/i386/freebsd.h: Ditto.
1750 * config/i386/freebsd64.h: Ditto.
1751 * config/ia64/freebsd.h: Ditto.
1752 * config/rs6000/sysv4.h: Ditto.
1753 * config/sparc/freebsd.h: Ditto.
1755 2004-03-02 Loren James Rittle <ljrittle@acm.org>
1757 * gcc/doc/install.texi (*-*-freebsd*): Update target information.
1759 2004-03-02 Kazu Hirata <kazu@cs.umass.edu>
1761 * rtl.def (define_combine): Remove.
1763 2004-03-02 Kazu Hirata <kazu@cs.umass.edu>
1765 * config/h8300/h8300.md: Tweak formatting.
1767 2004-03-02 Kazu Hirata <kazu@cs.umass.edu>
1769 * config/h8300/h8300.md (*cmphi_h8300): Rename to
1771 (*cmphi_h8300hs): Rename to *cmphi_h8300hs_znvc.
1773 2004-03-01 Mark Mitchell <mark@codesourcery.com>
1776 * gcc.c (process_command): Remove const-qualification from argv.
1779 2004-03-02 Kazu Hirata <kazu@cs.umass.edu>
1781 * config/h8300/h8300.md (pushqi1_h8300hs): Rename to
1782 pushqi1_h8300hs_advanced. Adjust its caller.
1783 (pushhi1_h8300hs): Rename to pushhi1_h8300hs_advanced.
1786 2004-03-02 Nicolas Roche <roche@act-europe.fr>
1788 * Makefile.in (install-libgcc, install-multilib): Pass
1789 mkinstalldirs var to libgcc.mk.
1791 2004-03-01 Kazu Hirata <kazu@cs.umass.edu>
1793 * system.h (DBX_OUTPUT_STANDARD_TYPES): Poison.
1794 * doc/tm.texi (DBX_OUTPUT_STANDARD_TYPES): Remove.
1796 2004-03-01 Kazu Hirata <kazu@cs.umass.edu>
1798 * config/h8300/h8300.c (gtle_operator): Accept GT and LE.
1799 * config/h8300/h8300.md: Split several peephole2's, each into
1802 2004-03-02 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
1804 * dominance.c (recount_dominator): Handle postdominators.
1806 2004-03-01 Richard Sandiford <rsandifo@redhat.com>
1808 * config/mips/mips-protos.h (enum mips_symbol_type): Move from mips.h.
1809 (NUM_SYMBOL_TYPES): Likewise.
1810 (SYMBOL_64_HIGH, SYMBOL_64_MID, SYMBOL_64_LOW): New symbol types.
1811 (mips_unspec_address): Declare.
1812 (mips_gotoff_page, mips_gotoff_global): Delete.
1813 * config/mips/mips.h (PREDICATE_CODES): Add general_symbolic_operand.
1814 * config/mips/mips.c (enum mips_symbol_type, NUM_SYMBOL_TYPES): Delete.
1815 (mips_symbolic_constant_p, mips_symbolic_address_p)
1816 (mips_symbol_insns): Handle new symbol types.
1817 (general_symbolic_operand): New predicate.
1818 (mips_unspec_address): Make extern.
1819 (mips_gotoff_page, mips_gotoff_global): Delete.
1820 (override_options): Allow -mabi=64 -mno-abicalls -mexplicit-relocs.
1821 Handle new symbol types.
1822 * config/mips/mips.md (*lea_high64, *lea64): New patterns.
1823 (*xgot_hi[sd]i, *xgot_lo[sd]i, *got_disp[sd]i, *got_disp[sd]i): Call
1824 mips_unspec_address directly.
1825 * doc/invoke.texi: Remove the -mabi=64 -mno-abicalls exception from
1826 the documentation of -mexplicit-relocs.
1828 2004-03-01 Jeff Law <law@redhat.com>
1830 * fold-const.c (fold): An equality comparison of a non-weak object
1831 against zero has a known result. Similarly an equality comparison
1832 of the address of two non-weak, unaliased symbols has a known result.
1834 * ggc-page.c (struct page_entry): New field PREV.
1835 (ggc_alloc): Update PREV field appropriately.
1836 (sweep_pages): Likewise.
1837 (ggc_free): Likewise. Use PREV field rather than loop to
1838 improve ggc_free performance.
1840 2004-03-01 Richard Sandiford <rsandifo@redhat.com>
1842 * config/mips/mips.c (mips_output_division): Use the division
1843 instruction to fill the delay slot of a zero check.
1844 (mips_idiv_insns): Adjust accordingly.
1846 2004-03-01 Nathanael Nerode <neroden@gcc.gnu.org>
1848 * config.gcc: Create a default tmake_file for linux, and use
1849 it in all but two linux clauses. Comment those two.
1851 2004-03-01 Paolo Bonzini <bonzini@gnu.org>
1853 * combine.c (try_combine): Do not refer to is_replaced.
1854 (gen_lowpart_for_combine): Perverse subregs now have a
1855 more politically correct name.
1856 * cse.c (cse_insn): Likewise.
1857 * jump.c: Fix bogus reference to delete_insn.
1859 2004-02-29 Mark Mitchell <mark@codesourcery.com>
1862 * dwarf2out.c (gen_enumeration_type_die): Output all enumeration
1863 constants as signed values.
1866 * c-tree.h (readonly_warning): Rename to ...
1867 (readonly_error): ... this.
1868 * c-typeck.c (build_unary_op): Adjust accordingly.
1869 (readonly_warning): Rename to ...
1870 (readonly_error): ... this and issue errors, not warnings.
1871 (build_modify_expr): Call readonly_error, not readonly_warning.
1872 (c_expand_asm_operands): Likewise.
1873 * tree-inline.c (optimize_inline_calls): Do not inline functions
1874 after errors have occurred.
1876 2004-02-29 Nathanael Nerode <neroden@gcc.gnu.org>
1878 * configure.ac: Rearrange some threading code for clarity;
1879 add section comment.
1880 * configure: Regenerate.
1882 2004-02-29 Kazu Hirata <kazu@cs.umass.edu>
1884 * passes.c, config/frv/frv.c, config/sh/sh.c: Fix comment
1886 * doc/cppopts.texi: Fix a typo.
1888 2004-02-29 Kazu Hirata <kazu@cs.umass.edu>
1890 * config/i386/i386.md: Fix formatting.
1892 2004-02-29 Nathanael Nerode <neroden@gcc.gnu.org>
1894 * configure.ac: Add some comments delineating sections of code.
1896 * doc/install.texi: Note that libada uses autoconf 2.57 also.
1898 * doc/install.texi: Fix idiot typo in previous commit.
1900 * doc/install.texi: Update for conversion of intl to autoconf 2.57.
1902 2004-02-29 Kazu Hirata <kazu@cs.umass.edu>
1904 * config/h8300/h8300.md: Add comments about peephole2's.
1906 2004-02-29 Kazu Hirata <kazu@cs.umass.edu>
1908 * config/h8300/h8300.md: Tweak operand numbers of some
1911 2004-02-29 Kazu Hirata <kazu@cs.umass.edu>
1913 * config/h8300/h8300.md: Tweak comments about peephole2's.
1915 2004-02-29 Waldek Hebisch <hebisch@math.uni.wroc.pl>
1918 * function.c (uninitialized_vars_warning): Use DECL_RTL_SET_P
1919 instead of testing whether DECL_RTL is not NULL.
1921 2004-02-28 Kazu Hirata <kazu@cs.umass.edu>
1923 * config/sh/sh.c: Fix formatting.
1925 2004-02-28 Kazu Hirata <kazu@cs.umass.edu>
1927 * config/sh/sh.c: Convert to ISO-C.
1929 2004-02-28 Andrew Pinski <pinskia@physics.uc.edu>
1931 * c-typeck.c (tagged_types_tu_compatible_p): Fix pasto in
1934 * config/darwin.h (machopic_finish): Output stub even if the
1935 symbol is already defined.
1937 2004-02-28 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
1939 * pa64-hpux.h (LIB_SPEC): Fix linking under HP-UX 11.00 with -p and -pg.
1941 2004-02-28 Kazu Hirata <kazu@cs.umass.edu>
1943 * genattr.c (main): Don't define
1944 TRADITIONAL_PIPELINE_INTERFACE or DFA_PIPELINE_INTERFACE.
1945 * system.h (TRADITIONAL_PIPELINE_INTERFACE): Poison.
1946 (DFA_PIPELINE_INTERFACE): Likewise.
1947 * doc/tm.texi (TRADITIONAL_PIPELINE_INTERFACE): Remove.
1948 (DFA_PIPELINE_INTERFACE): Likewise.
1950 2004-02-28 Richard Sandiford <rsandifo@redhat.com>
1952 * config/mips/mips.md (tstsi, tstdi): Delete.
1954 2004-02-28 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
1956 * config/mips/mips.c (override_options): Remove an obsolete
1957 duplicate definition of the "e" constraint.
1958 * config/mips/mips.h: Update a comment accordingly.
1960 2004-02-28 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
1962 * config/mips/mips.md: Complete the unfinished R4000
1963 multiply/shift errata workaround. Improve documentation.
1964 (hazard): Use TARGET_FIX_R4000 to decide whether an "imul" instruction
1966 (mulsi3, mulsi3_internal, mulsi3_r4000): Use TARGET_FIX_R4000.
1967 (muldi3, muldi3_internal): Likewise.
1968 (muldi3_internal2): Remove, replacing with...
1969 (muldi3_mult3, muldi3_r4000): ...these new patterns.
1970 (mulsidi3): Take the errata into account.
1971 (mulsidi3_32bit): Remove, replacing with...
1972 (mulsidi3_32bit_internal, mulsidi3_32bit_r4000): ...these new patterns.
1973 (mulsidi3_64bit, mulsidi3_64bit_parts): Disable if TARGET_FIX_R4000.
1974 (umulsidi3): Take the errata into account.
1975 (umulsidi3_32bit): Remove, replacing with..
1976 (umulsidi3_32bit_internal, umulsidi3_32bit_r4000): ...these patterns.
1977 (umulsi3_highpart, umulsi3_highpart_internal): Disable if
1979 (smulsi3_highpart, smulsi3_highpart_internal): Likewise.
1980 (smuldi3_highpart, umuldi3_highpart): Likewise.
1981 * doc/invoke.texi: Document the errata workaround.
1983 2004-02-28 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
1985 * config/mips/mips-protos.h (mips_idiv_insns): Declare.
1986 * config/mips/mips.h (MASK_FIX_SB1): Bump.
1987 (MASK_FIX_R4000, TARGET_FIX_R4000): New macros.
1988 (TARGET_SWITCHES): Add -mfix-r4000 and -mno-fix-r4000.
1989 * config/mips/mips.c (mips_idiv_insns): New function.
1990 (override_options): Make -march=r4000 imply -mfix-r4000 by default.
1991 (mips_output_division): Add a workaround for the R4000 divide/shift
1993 * config/mips/mips.md (length): Use mips_idiv_insns() to calculate
1994 the length of an "idiv" instruction.
1995 * doc/invoke.texi: Document the new switches.
1997 2004-02-28 Kazu Hirata <kazu@cs.umass.edu>
1999 * doc/tm.texi (IS_COSTLY_DEPENDENCE): Change to
2000 TARGET_SCHED_IS_COSTLY_DEPENDENCE.
2002 2004-02-28 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
2004 PR optimization/14229
2005 * cfgrtl.c (rtl_tidy_fallthru_edge): Do not fail for !onlyjump jump.
2007 2004-02-28 Eric Botcazou <ebotcazou@act-europe.fr>
2009 * fold-const.c (fold): Strip NOPs that change the signedness
2010 for RSHIFT too. Expand comment.
2012 2004-02-27 Ian Lance Taylor <ian@wasabisystems.com>
2014 PR optimization/7871
2015 * flow.c (mark_set_1): Don't add LOG_LINKS for global registers
2016 from or to call insns.
2018 2004-02-27 Eric Botcazou <ebotcazou@libertysurf.fr>
2020 PR optimization/7871
2021 * flow.c (propagate_one_insn): Interpret calls as setting global
2022 registers, not merely clobbering them.
2024 2004-02-27 Dale Johannesen <dalej@apple.com>
2026 * config/darwin.c (machopic_output_possible_stub_label): Remove.
2027 config/darwin-protos.h: Ditto.
2028 config/darwin.h: Remove call to it.
2029 * combine.c (distribute_notes): Do not place a REG_DEAD note
2030 when value is both set and used.
2032 2004-02-27 Kazu Hirata <kazu@cs.umass.edu>
2034 * config/h8300/fixunssfsi.c (__fixunssfsi): Enable on H8/300
2036 * config/h8300/lib1funcs.asm (___fixunssfsi): Remove.
2037 * config/h8300/t-h8300 (LIB1ASMFUNCS): Remove _fixunssfsi_asm.
2039 2004-02-27 Andrew Pinski <apinski@apple.com>
2041 * c-typeck.c (tagged_types_tu_compatible_p) <ENUMERAL_TYPE>:
2042 Speedup common case of the type values being in the same order.
2044 2004-02-27 Steve Ellcey <sje@cup.hp.com>
2046 * config/ia64/ia64.h (no-inline-float-divide): New option.
2047 * config/ia64/ia64.h (no-inline-int-divide): New option.
2048 * config/ia64/ia64.h (no-inline-sqrt): New option.
2049 (TARGET_DEFAULT): Add MASK_INLINE_FLOAT_DIV_THR to define.
2050 * config/ia64/hpux.h (TARGET_DEFAULT): Ditto.
2051 * config/ia64/ia64.c (ia64_override_options): Modify error
2052 checking for inlined division/sqrt.
2054 2004-02-27 Kazu Hirata <kazu@cs.umass.edu>
2056 * bb-reorder.c, cfgbuild.c, diagnostic.c, explow.c, profile.c,
2057 ra-build.c, read-rtl.c, tracer.c, unwind-dw2-fde-glibc.c,
2058 value-prof.c, config/darwin-protos.h, config/frv/frv-abi.h,
2059 config/i386/pmmintrin.h, config/pa/pa-hpux.h: Update
2062 2004-02-27 Paul Brook <paul@codesourcery.com>
2064 * function.c (assign_parms): Don't count pretend args for alignment.
2066 2004-02-27 Richard Henderson <rth@redhat.com>
2068 * passes.c: New file.
2069 * Makefile.in (OBJS-common): Add it.
2070 * diagnostic.c (rtl_dump_and_exit): Move decl ...
2071 * flags.h (rtl_dump_and_exit): ... here.
2072 * output.h (size_directive_output, last_assemble_variable_decl):
2074 * rtl.h (reg_alloc): Move from toplev.c.
2075 * toplev.c (HAVE_conditional_execution, DUMPFILE_FORMAT,
2076 struct dump_file_info, enum dump_file_index, dump_file_tbl,
2077 open_dump_file, close_dump_file, rest_of_decl_compilation,
2078 rest_of_type_compilation, rest_of_handle_final,
2079 rest_of_handle_delay_slots, rest_of_handle_stack_regs,
2080 rest_of_handle_variable_tracking, rest_of_handle_machine_reorg,
2081 rest_of_handle_new_regalloc, rest_of_handle_old_regalloc,
2082 rest_of_handle_regrename, rest_of_handle_reorder_blocks,
2083 rest_of_handle_sched, rest_of_handle_sched2, rest_of_handle_regmove,
2084 rest_of_handle_tracer, rest_of_handle_if_conversion,
2085 rest_of_handle_if_after_combine, rest_of_handle_web,
2086 rest_of_handle_branch_prob,
2087 rest_of_handle_value_profile_transformations, rest_of_handle_cfg,
2088 rest_of_handle_addressof, rest_of_handle_sibling_calls,
2089 rest_of_handle_jump_bypass, rest_of_handle_inlining,
2090 rest_of_handle_null_pointer, rest_of_handle_combine,
2091 rest_of_handle_life, rest_of_handle_cse, rest_of_handle_cse2,
2092 rest_of_handle_gcse, rest_of_handle_loop_optimize,
2093 rest_of_handle_loop2, rest_of_compilation): Move to passes.c.
2094 (decode_d_option): Use enable_rtl_dump_file.
2095 (compile_file, finalize, do_compile): Move profile+combine+graph
2096 cleanup to finish_optimization_passes.
2097 * toplev.h (init_optimization_passes, finish_optimization_passes,
2098 enable_rtl_dump_file): Declare.
2100 2004-02-27 Eric Botcazou <ebotcazou@act-europe.fr>
2101 Roger Sayle <roger@eyesopen.com>
2103 * fold-const.c (fold): Revert 2004-02-25 change. Use the original
2104 operands to build a tree with swapped operands.
2105 * expr.c (expand_expr_real) <MAX_EXPR>: Consistently use the
2106 'unsignedp' predicate to specify the signedness.
2108 2004-02-27 Kazu Hirata <kazu@cs.umass.edu>
2110 * c-decl.c, c-ppoutput.c, combine.c, cppfiles.c, dwarf2out.c,
2111 expr.c, fold-const.c, gcc.c, haifa-sched.c, loop-iv.c,
2112 params.def, read-rtl.c, rtl.c, rtlanal.c, toplev.c: Fix
2113 comment typos and formatting. Follow spelling conventions.
2115 2004-02-26 Aldy Hernandez <aldyh@redhat.com>
2117 * config/rs6000/rs6000.md: Add fixuns_truncsfsi2 and
2120 * config/rs6000/spe.md: Delete spe_efsctuiz.
2121 Add spe_fixuns_truncsfsi2.
2122 Add spe_fix_truncsfsi2.
2124 2004-02-26 Eric Christopher <echristo@redhat.com>
2126 * c-lex.c (c_lex_string_translate): New variable.
2127 (lex_string): Use to determine string translation.
2128 * c-pragma.h: Prototype.
2129 * c-parse.in (start_string_translation): New. Set above.
2130 (stop_string_translation): Ditto.
2131 (attribute, attribute_list, asm_def, asm_stmt,
2132 asm_operand): Use above functions.
2133 * cp/parser.c (cp_parser_declaration): Translate strings
2134 unless token is RID_EXTERN. Set c_lex_string_translate
2136 (cp_parser_asm_definition): Only translate argument strings
2138 (cp_parser_asm_operand_list): Ditto.
2139 (cp_parser_attribute_list): Do not translate attribute strings.
2141 2004-02-26 Kazu Hirata <kazu@cs.umass.edu>
2143 * stmt.c (expand_start_case_dummy): Remove.
2144 * tree.h: Remove the corresponding prototype.
2146 2004-02-26 Kazu Hirata <kazu@cs.umass.edu>
2148 * builtins.c (apply_args_register_offset): Remove.
2149 * tree.h: Remove the corresponding prototype.
2151 2004-02-26 Kazu Hirata <kazu@cs.umass.edu>
2153 * stor-layout.c (is_pending_size): Remove.
2154 * tree.h: Remove the corresponding prototype.
2156 2004-02-26 Kazu Hirata <kazu@cs.umass.edu>
2158 * recog.c (validate_replace_src): Remove.
2159 * recog.h: Remove the corresponding prototype.
2161 2004-02-26 Kazu Hirata <kazu@cs.umass.edu>
2163 * calls.c: Don't reference FINAL_REG_PARM_STACK_SPACE or
2164 MAYBE_REG_PARM_STACK_SPACE.
2165 * function.c: Likewise.
2166 * system.h (FINAL_REG_PARM_STACK_SPACE): Poison.
2167 (MAYBE_REG_PARM_STACK_SPACE): Likewise.
2168 * doc/tm.texi (FINAL_REG_PARM_STACK_SPACE): Remove.
2169 (MAYBE_REG_PARM_STACK_SPACE): Likewise.
2171 2004-02-26 Kazu Hirata <kazu@cs.umass.edu>
2173 * c-decl.c (c_expand_deferred_function): Remove.
2174 * c-tree.h: Remove the corresponding prototype.
2176 2004-02-26 Kazu Hirata <kazu@cs.umass.edu>
2178 * postreload.c (reload_cse_move2add): Generate just a PLUS
2179 instead of an entire SET.
2181 2004-02-26 Jan Hubicka <jh@suse.cz>
2183 * config.gcc: Add support for nocoma/prescott/pentium-m/pentium3m
2185 * i386.c (override_options): Add support for new CPUs.
2186 * i386.h (TARGET_CPU_DEFAULT_NAMES): New names.
2187 (TARGET_CPU_DEFAULT_pentium_m, TARGET_CPU_DEFAULT_pentium4e): New
2189 * invoke.texi: Extend documentation of -mtune/-march for new CPUs.
2191 2004-02-26 Bob Wilson <bob.wilson@acm.org>
2193 * config/xtensa/xtensa.h (TARGET_CPU_CPP_BUILTINS): Define __xtensa__.
2195 2004-02-26 Eric Botcazou <ebotcazou@act-europe.fr>
2197 * config/sparc/sparc-protos.h (sparc_emit_floatunsdi): Add 'mode'.
2198 (sparc_emit_fixunsdi): New prototype.
2199 * config/sparc/sparc.c (sparc_emit_floatunsdi): Use 'mode' argument.
2200 (sparc_emit_fixunsdi): New function.
2201 * config/sparc/sparc.md (floatunsdisf2): Use 'general_operand' for
2202 operand 1. Pass SFmode to sparc_emit_floatunsdi.
2203 (floatunsdidf2): Use 'general_operand' for operand 1. Pass DFmode
2204 to sparc_emit_floatunsdi.
2205 (fixuns_truncsfdi2): New expander.
2206 (fixuns_truncdfdi2): Likewise.
2208 2004-02-26 Alan Modra <amodra@bigpond.net.au>
2210 * gcse.c (delete_null_pointer_checks_1): Do not delete CC setter
2213 2004-02-25 Richard Henderson <rth@redhat.com>
2215 * explow.c (force_reg): Call mark_reg_pointer as appropriate.
2216 * config/alpha/alpha.c (alpha_emit_conditional_branch): Don't
2217 use (op0-op1) == 0 if op0 is a pointer.
2218 * config/alpha/alpha.md (cmpdi): Use some_operand.
2219 (three comparison combine splits): Remove.
2221 2004-02-25 Richard Henderson <rth@redhat.com>
2224 * c-common.c (handle_alias_attribute): Reject the attribute if
2225 current_function_decl is set.
2227 2004-02-25 Kelley Cook <kcook@gcc.gnu.org>
2229 * config.gcc: Add comment describing extra_gcc_objs.
2230 i[34567]86-*-cygwin*): Replace host_extra_gcc_objs with extra_gcc_objs.
2231 * configure.ac (extra_gcc_objs): New substitution variable.
2232 (host_extra_gcc_objs): Don't substitute.
2233 * configure: Regenerate.
2234 * Makefile.in: Use extra_gcc_objs.
2236 2004-02-25 Kelley Cook <kcook@gcc.gnu.org>
2238 * doc/contrib.texi: Add an entry for myself.
2240 2004-02-25 Jan Hubicka <jh@suse.cz>
2242 * basic-block.h (make_eh_edge, break_superblocks): Declare.
2243 * cfgbuild.c (make_eh_edge): Make global.
2244 * cfglayout.c (break_superblocks): Likewise; fix memory leak.
2245 * except.c (build_post_landing_pads, connect_post_landing_pads,
2246 dw2_build_landing_pads, sjlj_emit_function_enter,
2247 sjlj_emit_function_exit, sjlj_emit_dispatch_table,
2248 sjlj_build_landing_pads): Update CFG.
2249 (emit_to_new_bb_before): New function.
2250 (finish_eh_generation): Do not rebuild the CFG.
2252 2004-02-25 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
2254 * config.gcc (hppa*-*-*, parisc*-*-*): Add MASK_BIG_SWITCH to all
2255 target_cpu_default defines.
2256 * pa-hpux.h (TARGET_DEFAULT): Add MASK_BIG_SWITCH to define.
2257 * pa.h (TARGET_DEFAULT): Likewise.
2259 2004-02-25 Eric Botcazou <ebotcazou@act-europe.fr>
2261 * fold-const.c (fold): Treat MAX_EXPR and MIN_EXPR like
2262 comparisons with regard to signedness.
2264 2004-02-25 Richard Earnshaw <rearnsha@arm.com>
2266 * arm.c (thumb_legitimize_address): New function.
2267 * arm-protos.h: Prototype it.
2268 * arm.h (THUMB_LEGITIMIZE_ADDRESS): Define.
2269 (LEGITIMIZE_ADDRESS): Use it.
2271 2004-02-25 J"orn Rennecke <joern.rennecke@superh.com>
2273 * reload1.c (reload): Only spill eliminable register with multiple
2274 adjacent elimination alternatives if all alternatives fail.
2276 2004-02-25 Richard Earnshaw <rearnsha@arm.com>
2278 * arm.c (arm_legitimate_index_p): For QImode the range of an offset
2279 is -4095...+4095 inclusive.
2281 2004-02-25 Eric Botcazou <ebotcazou@libertysurf.fr>
2283 * doc/install.texi (sparc-sun-solaris2* specific notes): Document
2284 the bootstrap failure with Sun CC 5.4 and 5.5.
2286 2004-02-24 Kazu Hirata <kazu@cs.umass.edu>
2288 * cse.c (cse_change_cc_mode_insns): Stop at any instruction
2289 which modifies NEWREG.
2290 (cse_condition_code_reg): Update the mode of CC_REG in
2291 CC_SRC_INSN on our own.
2293 2004-02-24 Michael Matz <matz@suse.de>
2295 * config/i386/i386.c (ix86_comp_type_attributes): Check for
2298 2004-02-24 Richard Henderson <rth@redhat.com>
2300 * toplev.c (dump_file_tbl): Rename from dump_file.
2301 * bb-reorder.c, bt-load.c, cfgcleanup.c, cfglayout.c, cfgloopanal.c,
2302 cfgloopmanip.c, cfgrtl.c, config/arm/arm.c, config/frv/frv.c,
2303 config/i386/i386.c, config/ia64/ia64.c, config/mips/mips.c,
2304 config/sh/sh.c, cse.c, flow.c, ifcvt.c, loop-iv.c, loop-unroll.c,
2305 loop-unswitch.c, output.h, predict.c, profile.c, ra-build.c,
2306 ra-colorize.c, ra-debug.c, ra-rewrite.c, ra.c, regrename.c, reload1.c,
2307 toplev.c, tracer.c, value-prof.c, var-tracking.c, web.c:
2308 s/rtl_dump_file/dump_file/g.
2310 2004-02-24 Aldy Hernandez <aldyh@redhat.com>
2312 * config/rs6000/spe.md (spe_fix_truncsfsi2): Delete.
2313 (spe_fixuns_truncsfsi2): Delete.
2315 * config/rs6000/rs6000.md (fix_truncsfsi2): Delete.
2316 (fixuns_truncsfsi2): Delete.
2318 2004-02-24 Josef Zlomek <zlomekj@suse.cz>
2321 * rtlanal.c (replace_label): Fix replacing labels in constant pool.
2323 2004-02-24 Geoffrey Keating <geoffk@apple.com>
2325 * config/darwin.h (TARGET_HAS_F_SETLKW): Define.
2327 2004-02-24 Jason Merrill <jason@redhat.com>
2329 * tree.c (check_qualified_type): New fn.
2330 (get_qualified_type): Use it. If type already has the desired
2331 quals, just return it.
2332 * tree.h: Declare it.
2334 2003-02-24 Sanjiv Kumar Gupta <sanjivg@noida.hcltech.com>
2336 * target-def.h (TARGET_SCHED_INIT_GLOBAL,
2337 TARGET_SCHED_FINISH_GLOBAL): New macros.
2339 * target.h (md_init_global, md_finish_global): Function
2340 declarations corresponding to new target macros.
2342 * haifa-sched.c (sched_init, sched_finish): Allow target to
2343 call the new schedular hooks.
2345 * flow.c (recompute_reg_usage): Add PROP_DEATH_NOTES flag in
2346 call to update_life_info.
2348 * config/sh/sh.h (OVERRIDE_OPTIONS): Re-enable
2349 flag_schedule_insns for SH4.
2351 * config/sh/sh.c (sh_md_init_global, sh_md_finish_global,
2352 find_set_regmode_weight, find_insn_regmode_weight,
2353 find_regmode_weight), sh_md_init, sh_dfa_new_cycle,
2354 sh_variable_issue, high_pressure, ready_reorder,
2355 rank_for_reorder, swap_reorder, sh_reorder, sh_reorder2): New
2356 functions used to throttle the insn movement in first
2357 scheduling pass for SH.
2359 * gcc/doc/tm.texi: Document TARGET_SCHED_INIT_GLOBAL and
2360 TARGET_SCHED_FINISH_GLOBAL.
2362 2004-02-24 Alexandre Oliva <aoliva@redhat.com>
2364 Implement FR-V FDPIC ABI support for frv-uclinux and frv-linux.
2365 2004-02-05 Alexandre Oliva <aoliva@redhat.com>
2366 * config/frv/frv.c (frv_emit_movsi): Use GOT relocations for
2367 symbols in sections named by the user.
2368 2004-01-30 Alexandre Oliva <aoliva@redhat.com>
2369 * config/frv/linux.h (TARGET_OS_CPP_BUILTINS): New.
2370 2004-01-27 Alexandre Oliva <aoliva@redhat.com>
2371 * config.gcc (frv-*-*linux*): Handle like *-*-linux*.
2372 * config/frv/t-linux (EXTRA_MULTILIB_PARTS): Remove, obviated by
2374 2004-01-20 Alexandre Oliva <aoliva@redhat.com>
2375 * config/frv/frv.md (symGOT2reg_hilo, symGOTOFF2reg_hilo): Add
2376 one more pseudo to further improve code generation.
2377 2004-01-19 Alexandre Oliva <aoliva@redhat.com>
2378 * config/frv/frv.md (movdi_ldd): Introduce explicit indirection
2380 2004-01-16 Alexandre Oliva <aoliva@redhat.com>
2381 * config/frv/frv.c (frv_legitimate_address_p): Added
2382 allow_double_reg_p argument. Adjust all callers. Use it to
2383 decide whether to enable double-register indirect addressing.
2384 (frv_funcdesc_alias_set): Remove.
2385 (frv_expand_fdpic_call): Force non-SYMBOL_REF operand into
2386 register. Emit movdi_ldd.
2387 (ldd_address_operand): New.
2388 * config/frv/frv-protos.h (frv_legitimate_address_p): Adjust.
2389 * config/frv/frv.h (GO_IF_LEGITIMATE_ADDRESS): Likewise.
2390 (PREDICATE_CODES): Add ldd_address_operand.
2391 * config/frv/frv.md (movdi_ldd): New.
2392 (symGOT2reg_hilo, symGOTOFF2reg_hilo): Use separate pseudo for
2393 intermediate computations if possible.
2394 (symGOTOFF2reg_i): Fix harmless typo.
2395 2003-12-18 Alexandre Oliva <aoliva@redhat.com>
2396 * unwind-dw2-fde-glibc.c (_Unwind_IteratePhdrCallback): Cast
2397 relocated p_vaddr to vaddr type.
2398 * config/frv/frv-protos.h (frv_expand_fdpic_call): Return void.
2399 * config/frv/frv.c (frv_get_funcdesc_alias_set): New.
2400 (frv_expand_fdpic_call): Propagate incoming MEM's expr to funcdesc
2401 MEM, or use a funcdesc alias set. Use regular move instead of
2403 (dbl_memory_one_insn_operand): Recognize function descriptors by
2404 type or by alias set, and don't split them.
2405 * config/frv/frv.md (call, call_value): Never use call_internal
2407 (call_internal, call_value_internal): Never match for FDPIC.
2408 (call_fdpicdi, call_fdpicsi, call_value_fdpicdi,
2409 call_value_fdpicsi): Require FDPIC.
2411 2003-12-17 Alexandre Oliva <aoliva@redhat.com>
2412 * config/frv/frv.h (CRT_GET_RFIB_DATA): Define for __FRV_FDPIC__.
2413 * unwind-dw2-fde-glibc.c: Don't include elf-fdpic.h any more.
2414 (_Unwind_IteratePhdrCallback): Adjust type of load_base for FRV
2415 FDPIC. Compute data base address.
2416 * config/frv/linux.h (SUBTARGET_DRIVER_SELF_SPECS): Enable -mfdpic
2417 before the other self-specs are processed.
2418 * config/frv/t-linux (CRTSTUFF_T_CFLAGS, TARGET_LIBGCC2_CFLAGS):
2420 2003-12-15 Alexandre Oliva <aoliva@redhat.com>
2421 * unwind-dw2-fde-glibc.c: Don't include bits/elf-fdpic.h if
2422 inhibit_libc is defined.
2423 2003-12-12 Alexandre Oliva <aoliva@redhat.com>
2424 * unwind-dw2-fde-glibc.c: Include bits/elf-fdpic.h for
2426 (__RELOC_POINTER): Define.
2427 (_Unwind_IteratePhdrCallback): Use it.
2428 * config/frv/frv.h (Twrite): Define.
2429 (TRANSFER_FROM_TRAMPOLINE): Use it.
2430 * config/frv/linux.h (INVOKE__main): Undefine.
2432 2003-12-05 Richard Sandiford <rsandifo@redhat.com>
2433 * doc/invoke.texi (-mlong-calls, -mlinked-fp): Document FRV options.
2434 (-mlibrary-pic): Emphasize that this option generates EABI code.
2437 2003-11-30 Alexandre Oliva <aoliva@redhat.com>
2438 * config/frv/frv.c (int_2word_operand): Reject LABELs, SYMBOL_REFs
2439 and CONSTs in FDPIC mode.
2440 * gcc/config.gcc (with_cpu): Default to fr400 on frv-*-*linux*.
2441 2003-11-29 Richard Sandiford <rsandifo@redhat.com>
2442 * config/frv/frv.c (move_source_operand): Don't accept symbolic
2444 * config/frv/frv.md (*movhi_internal, *movsi_internal): Use an 'n'
2445 rather than 'i' constraint for the 2-instruction alternative.
2446 (*movsi_2word): New, incorporating existing int_2word_operand splitter.
2447 2003-11-29 Richard Sandiford <rsandifo@redhat.com>
2448 * config/frv/frv.h (EXTRA_CONSTRAINT_FOR_Q): Renamed from
2449 EXTRA_CONSTRAINT_FOR_Y.
2450 (EXTRA_CONSTRAINT): Remove handling of 'Y'.
2451 * config/frv/frv.md (*movsi_internal): Remove 'Q' constraint.
2452 (addsi3): Change 'Y' constraint to 'Q'.
2453 2003-11-27 Richard Sandiford <rsandifo@redhat.com>
2454 * reload.c (CONST_POOL_OK_P): New macro.
2455 (find_reloads): Use it to decide whether a constant can be forced
2457 * config/frv/frv.h (LEGITIMATE_PIC_OPERAND_P): Return true if the
2458 constant satisfies got12_operand.
2459 (frv_cannot_force_const_mem): Always return true for TARGET_FDPIC.
2460 (frv_legitimate_address_p): Check for valid unspec offsets using
2461 got12_operand rather than frv_legitimate_fdpic_operand_p.
2462 (frv_legitimate_fdpic_operand_p): Delete.
2463 (frv_emit_movsi): Abort if we try to use the FDPIC register during
2465 (frv_legitimate_constant_p): Return LEGITIMATE_PIC_OPERAND_P if
2467 * config/frv/frv.md (*movdf_double): Add alternatives for CONST_DOUBLE.
2468 2003-11-19 Richard Sandiford <rsandifo@redhat.com>
2469 * config/frv/frv-protos.h (fdpic_operand, fdpic_got12_operand)
2470 (frv_fdpic_fptr_operand): Don't declare here.
2471 * config/frv/frv.h (EXTRA_CONSTRAINT_FOR_Y): Call got12_operand
2472 rather than fdpic_got12_operand.
2473 (PREDICATE_CODES): Remove symbolic_operand entry. Add entries for
2474 got12_operand and const_unspec_operand.
2475 * config/frv/frv.c (got12_operand): Renamed from fdpic_got12_operand.
2476 (gpr_or_int12_operand, dbl_memory_one_insn_operand): Update calls.
2477 (symbolic_operand): Remove.
2478 (const_unspec_operand): New predicate.
2479 * config/frv/frv.md (*movsi_got): Use got12_operand.
2480 (*movsi_high_got, *movsi_lo_sum_got): Use const_unspec_operand.
2481 2003-11-18 Richard Sandiford <rsandifo@redhat.com>
2482 * config/frv/frv-protos.h (frv_output_addr_const_extra): Remove.
2483 * config/frv/frv.h (OUTPUT_ADDR_CONST_EXTRA): Remove definition.
2484 * config/frv/frv.c (frv_unspec): New structure.
2485 (frv_small_data_reloc_p, frv_const_unspec_p): New functions.
2486 (frv_print_operand_memory_reference): Use frv_const_unspec_p to
2487 validate CONST indices. Use frv_output_const_unspec to print them.
2488 (frv_print_operand): Update call to unspec_got_name. Use
2489 frv_output_const_unspec to print constant unspecs.
2490 (frv_legitimate_fdpic_operand_p): Return true if frv_const_unspec_p.
2491 Reject UNSPECs otherwise.
2492 (unspec_got_name): Take the relocation number as argument, not an
2494 (frv_output_addr_const_extra): Remove, replacing with...
2495 (frv_output_const_unspec): ...this new function.
2496 (frv_find_base_term): Use frv_const_unspec_p & frv_small_data_reloc_p.
2497 (gpr_or_int12_operand): Use fdpic_got12_operand.
2498 (dbl_memory_one_insn_operand): Likewise.
2499 (fdpic_got12_operand): Use frv_const_unspec_p.
2500 (frv_emit_movsi): Use frv_const_unspec_p to check for CONSTs that
2501 are already legitimate. Use frv_small_data_reloc_p when deciding
2502 whether to use HIGH/LO_SUM for R_FRV_GOTOFF12 and R_FRV_GPREL12.
2503 2003-11-18 Alexandre Oliva <aoliva@redhat.com>
2504 * config/frv/t-linux (SHLIB_MAPFILES): Override so as to export...
2505 * config/frv/libgcc-frv.ver: ... frv-specific symbols. New file.
2506 * config/frv/frv-abi.h (CREATE_DOUBLE_SHIFT): Use branch to local
2507 label, for real this time.
2508 * config/frv/frv.c (frv_local_funcdesc_p): Update to new
2509 representation of visibility.
2510 (fdpic_got12_operand, symbolic_operand): Mark unused arguments as
2512 2003-11-17 Richard Sandiford <rsandifo@redhat.com>
2513 * config/frv/frv.h (MASK_LINKED_FP, TARGET_LINKED_FP): New macros.
2514 (TARGET_SWITCHES): Add -mlinked-fp and -mno-linked-fp.
2515 * config/frv/frv.c (frv_override_options): Set MASK_LINKED_FP unless
2516 it was explicitly disabled.
2517 (frv_stack_info): There is no need to save the link register in every
2518 frame unless TARGET_LINKED_FP is true.
2519 (frv_frame_pointer_required): If !TARGET_LINKED_FP, only require a
2520 frame pointer if the stack pointer might change value.
2521 (frv_return_addr_rtx): Check and process "count" argument.
2522 2003-11-14 Richard Sandiford <rsandifo@redhat.com>
2523 * config/frv/frv-protos.h (frv_legitimize_address): Remove.
2524 (frv_find_base_term): Declare.
2525 * config/frv/frv.h (LEGITIMIZE_ADDRESS): Do nothing.
2526 (FIND_BASE_TERM): Define.
2527 (PREDICATE_CODES): Remove pic_register_operand, pic_symbolic_operand,
2528 small_data_register_operand, small_data_symbolic_operand. Add
2530 * config/frv/frv.c (const_small_data_p, plus_small_data_p): Delete.
2531 (frv_print_operand_memory_reference, output_move_single): Remove
2532 special handling for unlegitimized sdata addresses.
2533 (frv_legitimate_address_p): Don't allow sums of SDA_BASE_REG
2534 and symbolic addresses.
2535 (frv_legitimize_address, frv_legitimize_fdpic_address): Delete.
2536 (frv_find_base_term): New function.
2537 (int_2word_operand): Check specifically for symbolic address constants.
2538 (pic_register_operand, pic_symbolic_operand): Delete.
2539 (small_data_register_operand, small_data_symbolic_operand): Delete.
2540 (dbl_memory_one_insn_operand): Don't call plus_small_data_p.
2541 Allow UNSPEC_GOT constants if !TARGET_FDPIC.
2542 (move_source_operand): Only accept CONSTs if they're a two-insn
2544 (fdpic_got12_operand): Don't require TARGET_FDPIC.
2545 (frv_emit_movsi): Legitimize sdata and -mlibrary-pic addresses
2546 using gen_symGOTOFF2reg*.
2547 (frv_ifcvt_rewrite_mem): Remove (plus gr16 ...) special cases.
2548 (frv_rtx_costs): Give all MEM addresses a cost of 0. Give MEMs
2549 themselves a cost of 3 insns.
2550 * config/mips/mips.md (*movsi_got): Allow for !TARGET_FDPIC too.
2551 Change predicate to symbolic_operand.
2552 (*movsi_high_got, *movsi_lo_sum_got): Likewise.
2553 (*movsi_lda_sdata): Delete.
2554 (*movsi_pic, movsi_high_pic, movsi_lo_sum_pic): Delete.
2555 2003-11-05 Alexandre Oliva <aoliva@redhat.com>
2556 * config.gcc: Add t-slibgcc-elf-ver and support --with-cpu for
2558 * config/frv/frv-abi.h (CREATE_DOUBLE_SHIFT): Use branch to local
2560 * config/frv/frv.h (DRIVER_SELF_SPECS): Add blank before
2561 -multilib-library-pic.
2562 (LINK_SPEC): Add -z text for -mfdpic.
2563 * config/frv/frvbegin.c (__ROFIXUP_LIST__): Don't define on FDPIC.
2564 * config/frv/frvend.c (__ROFIXUP_END__): Likewise.
2565 * config/frv/linux.h (STARTFILE_SPEC, ENDFILE_SPEC, LINK_SPEC):
2567 (OPTION_DEFAULT_SPECS, HAS_INIT_SECTION, INIT_SECTION_ASM_OP,
2568 FINI_SECTION_ASM_OP, CRT_CALL_STATIC_FUNCTION): Define.
2569 * config/frv/t-linux (EXTRA_MULTILIB_PARTS): Use
2570 crtstuff-generated files.
2571 2003-10-31 Alexandre Oliva <aoliva@redhat.com>
2572 * config.gcc: Add frv-*-*linux*.
2573 * config/frv/linux.h, config/frv/t-linux: New.
2574 2003-10-06 Alexandre Oliva <aoliva@redhat.com>
2575 * config/frv/frv.h (LINK_SPEC): Pass -melf32frvfd to the linker
2576 when -mfdpic even if a linker script is explicitly listed.
2577 2003-10-02 Alexandre Oliva <aoliva@redhat.com>
2578 * config/frv/frv.c (frv_override_options): Clear asm_out
2579 unaligned_op for SImode on FDPIC.
2580 (frv_emit_movsi): Use compute_reloc_for_constant to compute the
2581 argument passed to decl_readonly_section.
2582 (frv_assemble_integer): Revert 2003-09-30's change, but make the
2583 whole block run with FDPIC even with -fno-PIC.
2584 2003-10-02 Alexandre Oliva <aoliva@redhat.com>
2585 * config/frv/frv.c (frv_cannot_force_const_mem): Don't force
2586 symbol or label plus offset to memory.
2587 (frv_emit_movsi): Emit GPREL only if -mgprel-ro. Emit 32-bit
2588 GOTOFF and GPREL for LABEL_REF.
2589 * config/frv/frv.h (DRIVER_SELF_SPECS): Add -mgprel-ro with
2590 -mfdpic unless -mno-gprel-ro, -fpic or -fpie.
2591 (MASK_GPREL_RO, TARGET_GPREL_RO): New.
2592 (TARGET_SWITCHES): Added gprel-ro and no-gprel-ro.
2593 * doc/invoke.texi: Document them.
2594 2003-09-30 Alexandre Oliva <aoliva@redhat.com>
2595 * config/frv/frv-protos.h (frv_gen_GPsym2reg): Declare.
2596 (frv_splittable_got_operand): Removed.
2597 * config/frv/frv.c (frv_cannot_force_const_mem): Reject HIGH and
2598 LO_SUM. Add comments.
2599 (frv_override_options): Moved enabling of FDPIC to
2600 DRIVER_SELF_SPECS. Don't enable MASK_DWORD.
2601 (frv_local_funcdesc_p): Remove unnecessary heck for flag_pie.
2602 (frv_legitimize_fdpic_address): Don't duplicate logic in
2604 (frv_gen_GPsym2reg): New.
2605 (unspec_got_name): Added gprel.
2606 (frv_expand_fdpic_call): Add support for inlining PLTs.
2607 (fdpic_fptr_operand): Renamed from frv_fdpic_fptr_operand.
2608 (gpr_or_int12_operand): Added GPREL12.
2609 (pic_symbolic_operand): Match even if !flag_pic for FDPIC.
2610 (small_data_symbolic_operand): Fail if FDPIC.
2611 (fdpic_splittable_got_operand): Removed.
2612 (fdpic_got12_operand): Added GPREL12.
2613 (frv_emit_movsi): Reorganize to avoid duplication. Emit GPREL
2614 when appropriate. Fix sdata GOTOFF.
2615 (frv_legitimate_constant_p): Require legitimate PIC operand for
2616 FDPIC with pic, but only a legitimate fdpic operand for non-pic.
2617 (frv_assemble_integer): Move FDPIC funcdesc handling out of
2619 (frv_asm_out_constructor, frv_asm_out_destructor): Abort if
2620 frv_assemble_integer fails.
2621 * config/frv/frv.h (DRIVER_SELF_SPECS): New.
2622 (SUBTARGET_DRIVER_SELF_SPECS): New.
2623 (ASM_SPEC): Don't pass -mno-fdpic.
2624 (LINK_SPEC): Pass -melf32frvfd for FDPIC.
2625 (MASK_INLINE_PLT, TARGET_INLINE_PLT): New.
2626 (TARGET_SWITCHES): Add -minline-plt, -mno-inline-plt and
2627 -multilib-library-pic.
2628 (PREDICATE_CODES): Added fdpic_operand, fdpic_fptr_operand,
2629 condexec_si_media_operator, condexec_sf_add_operator and
2630 condexec_sf_conv_operator. Removed condexec_sf_binary_operator
2631 and condexec_sf_unary_operator.
2632 * config/frv/frv.md (R_FRV_GPREL12, R_FRV_GPRELHI, R_FRV_GPRELLO):
2634 (movsi_got, movsi_high_got, movsi_lo_sum_got): Move before
2635 movsi_internal. Give them internal names. movsi_got has type
2637 (fdpic got splitters): Remove.
2638 (symGPREL2reg, symGPREL2reg_hilo): New.
2639 * config/frv/t-frv (MULTILIB_MATCHES): Don't map -fpic and -fPIC
2640 to -mlibrary-pic. Map -multilib-library-pic to it.
2641 * doc/invoke.texi: -mfdpic, -minline-plt, -multilib-library-pic:
2643 2003-09-28 Alexandre Oliva <aoliva@redhat.com>
2644 * config/frv/frv.c (frv_function_symbol_referenced_p): Declare.
2645 (TARGET_CANNOT_FORCE_CONST_MEM): Define to...
2646 (frv_cannot_force_const_mem): New function.
2647 (const_small_data_p, plus_small_data_p): Update comments on sdata
2649 (frv_override_options): Set flag_pie for FDPIC too.
2650 (frv_conditional_register_usage): Mark gr16 and gr17 as non-fixed,
2651 call-saved registers on FDPIC.
2652 (frv_stack_info): Don't preserve the PIC register on FDPIC, and
2653 don't force LR to be preserved.
2654 (frv_expand_prologue): Likewise.
2655 (frv_asm_output_mi_thunk): Use 12-bit funcdesc gotoff for -fpic.
2656 (frv_frame_pointer_required): Don't force it just because the
2657 FDPIC register is used.
2658 (frv_legitimate_address_p) <CONST>: Accept a legitimate FDPIC
2659 operand only if !condexec_p.
2660 (frv_legitimize_address): Return the FDPIC-legitimized address.
2661 Don't match small data here on FDPIC.
2662 (frv_legitimate_fdpic_operand_p): Don't accept unadorned function
2663 symbols. Use TRUE/FALSE instead of 1/0.
2664 (frv_local_funcdesc_p): New.
2665 (frv_legitimize_fdpic_address): Rewrite to use GOTOFF and 12-bit
2666 immediates when possible.
2667 (pic_symbolic_operand): Accept SYMBOL_REFs and CONSTs in FDPIC.
2668 (dbl_memory_one_insn_operand): Accept addresses that add a REG and
2670 (frv_emit_movsi): Handle FDPIC before small data. Use GOTOFF and
2671 12-bit immediates when possible.
2672 (frv_legitimate_constant_p): In FDPIC, reject SImode operands that
2673 are not legitimate pic operands.
2674 (frv_in_small_data_p): Re-enable for FDPIC.
2675 * config/frv/frv.h (SDA_BASE_REG): Remove comment about FDPIC.
2676 (FRV_GLOBAL_P): Removed.
2677 * config/frv/frv.md: Add modes to CONSTs.
2679 (movsi_lo_sum_got): Use separate matches instead of match_dup.
2680 (movsi_high_pic, movsi_lo_sum_pic): Match on non-FDPIC only.
2681 (fdpic splittable operations): Match on flag_pic != 1.
2682 2003-09-22 Alexandre Oliva <aoliva@redhat.com>
2683 * config/frv/frv.c (frv_asm_out_constructor,
2684 frv_asm_out_destructor): Pass to frv_assemble_integer the size in
2686 2003-09-19 Alexandre Oliva <aoliva@redhat.com>
2687 * config/frv/frv.c (frv_assemble_integer): Reject complex
2688 expressions referencing function SYMBOL_REFs.
2689 * config/frv/frv.c (frv_function_symbol_referenced_p): New.
2690 (move_source_operand): Reject CONSTs that reference function
2691 SYMBOL_REFs on FDPIC.
2692 (frv_emit_movsi): If we get such a CONST, break it up.
2693 * config/frv/frv.h (CPP_SPEC): Define __FRV_FDPIC__ for -mfdpic.
2694 (TRANSFER_FROM_TRAMPOLINE): Use different definitions for FDPIC.
2695 * config/frv/frv.c (frv_print_operand) <I>: Recognize PLUS without
2697 (frv_assemble_integer): Don't use funcdesc for LABEL_REFs.
2698 (frv_trampoline_size): Increase for FDPIC.
2699 * config/frv/frv.h (TRAMPOLINE_ALIGNMENT): Bump to 64 for FDPIC.
2700 (TRANSFER_FROM_TRAMPOLINE): Handle FDPIC trampolines.
2701 * config/frv/frv.c (frv_legitimize_fdpic_address, frv_emit_movsi):
2702 Disable use of GOTOFF for now.
2703 (const_small_data_p, plus_small_data_p, frv_in_small_data_p):
2704 Disable use of small data in FDPIC for now.
2705 (frv_asm_output_mi_thunk): Implement for FDPIC.
2706 * config/frv/frv.h (SDA_BASE_REG): Set to -1 with FDPIC.
2707 * config/frv/frv.c (frv_asm_out_constructor): Use
2708 frv_assemble_integer for FDPIC pointers.
2709 (frv_asm_out_destructor): Likewise.
2710 * config/frv/frv.md (ldd): Fix order of operands. Use
2711 address_operand for input.
2712 2003-09-18 DJ Delorie <dj@redhat.com>
2713 * config/frv/frv.c (frv_legitimate_fdpic_operand_p): Remove UNSPEC_PIC.
2714 (unspec_got_name): Correct typo.
2715 (frv_emit_movsi): Pre-expand splittable GOTs.
2716 (frv_expand_fdpic_call): Rename gen_lddi to gen_ldd.
2717 * config/frv/frv.md (lddi): Fix syntax error, rename to ldd.
2718 (symGOT2reg_hilo, symGOTOFF2reg_hilo): New.
2719 * config/frv/t-frv: Add -mfdpic multilibs.
2720 * config/frv/frv.h (ASM_SPEC): Pass -mfdpic/-mno-fdpic.
2721 (TARGET_SWITCHES): Add -mno-fdpic, fix documentation.
2722 * config/frv/frv.c (frv_override_options): -mfdpic assumes
2723 flag_pic, default to 32-bit pics, require DWORD ops.
2724 (frv_override_options): Add W and Z constraints.
2725 (frv_expand_prologue): No pic prologue for -mfdpic.
2726 (frv_asm_output_mi_thunk): Support -mfdpic (soon).
2727 (frv_print_operand_memory_reference): Handle GOT constants.
2728 (frv_legitimate_address_p): Allow GOT constants.
2729 (frv_legitimize_address): Handle GOT addresses too.
2730 (frv_legitimate_fdpic_operand_p): New.
2731 (frv_legitimize_fdpic_address): New.
2732 (unspec_got_name): New.
2733 (frv_output_addr_const_extra): New.
2734 (frv_expand_fdpic_call): New.
2735 (frv_fdpic_fptr_operand): New.
2736 (gpr_or_int12_operand): Handle GOT operands.
2737 (int_2word_operand): Handle GOT operands.
2738 (fdpic_operand): New.
2739 (fdpic_splittable_got_operand): New.
2740 (fdpic_got12_operand): New.
2741 (frv_emit_movsi): Handle GOT operands.
2742 (frv_assemble_integer): -mfdpic doesn't use rofixups.
2743 (frv_print_operand): Support 'g' code for GOT operands.
2744 * config/frv/frv-protos.h: Add prototypes as needed.
2745 * config/frv/frv.md (R_FRV_GOT12, R_FRV_GOTHI, R_FRV_GOTLO,
2746 R_FRV_FUNCDESC, R_FRV_FUNCDESC_GOT12, R_FRV_FUNCDESC_GOTHI,
2747 R_FRV_FUNCDESC_GOTLO, R_FRV_FUNCDESC_VALUE,
2748 R_FRV_FUNCDESC_GOTOFF12, R_FRV_FUNCDESC_GOTOFFHI,
2749 R_FRV_FUNCDESC_GOTOFFLO, R_FRV_GOTOFF12, R_FRV_GOTOFFHI,
2750 R_FRV_GOTOFFLO): New.
2751 (movsi_high_got, movsi_lo_sum_got): New.
2752 (*movsi_pic): Don't use this splitter for -mfdpic.
2753 (addsi3): Allow GOT references also.
2754 (call, call_value): Handle -mfdpic separately.
2755 (call_fdpicdi, call_fdpicsi, lddi, call_value_fdpicdi,
2756 call_value_fdpicsi): New.
2757 (symGOT2reg, symGOT2reg_i, got splitters, symGOTOFF2reg,
2758 symGOTOFF2reg_i): New.
2759 * config/frv/frv.h (MASK_FDPIC): New.
2760 (TARGET_FDPIC): New.
2761 (TARGET_SWITCHES): Add -mfdpic.
2762 (FDPIC_FPTR_REGNO): New.
2764 (OUR_FDPIC_REG): New.
2765 (enum reg_class): Add FDPIC_REGS, FDPIC_FPTR_REGS, and
2767 (REG_CLASS_NAMES): Likewise.
2768 (REG_CLASS_CONTENTS): Likewise.
2769 (EXTRA_CONSTRAINT_FOR_Y): New, for 12-bit GOTs.
2770 (EXTRA_CONSTRAINT): Add it here.
2771 (FRV_GLOBAL_P): New.
2772 (OUTPUT_ADDR_CONST_EXTRA): New.
2774 2004-02-24 Kazu Hirata <kazu@cs.umass.edu>
2776 * config/sparc/sparc.h: Remove commented-out definitions of
2777 TARGET_EDOM and GEN_ERRNO_RTX.
2779 2004-02-24 Kazu Hirata <kazu@cs.umass.edu>
2781 * df.c, df.h, ra-build.c, ra-rewrite.c, ra.c, web.c: Replace
2782 df_analyse with df_analyze.
2784 2004-02-24 Alan Modra <amodra@bigpond.net.au>
2786 * gcse.c (delete_null_pointer_checks_1): Set stop_insn to end, not
2789 2004-02-23 James E Wilson <wilson@specifixinc.com>
2791 * calls.c (precompute_arguments): Update comment.
2793 2004-02-23 Kazu Hirata <kazu@cs.umass.edu>
2795 * et-forest.c: Replace et_occurences with et_occurrences.
2797 2004-02-23 Kazu Hirata <kazu@cs.umass.edu>
2799 * cfgloop.h, loop-iv.c, loop-unswitch.c: Replace iv_analyse
2802 2004-02-23 Kelley Cook <kcook@gcc.gnu.org>
2804 * config/i386/i386.c: Rename pni to sse3.
2805 * config/i386/i386.h: Likewise.
2806 * config/i386/i386.md: Likewise.
2807 * config/i386/pmmintrin.h: Likewise.
2808 * doc/extend.texi: Likewise.
2809 * doc/invoke.texi: Likewise.
2811 2004-02-23 Zack Weinberg <zack@codesourcery.com>
2812 Kazu Hirata <kazu@cs.umass.edu>
2814 Remove -fwritable-strings.
2815 * c-common.c (fix_string_type): Don't check
2816 flag_writable_strings.
2817 (fix_string_type): Likewise.
2818 * c-opts.c (set_std_c89): Don't initialize
2819 flag_writable_strings.
2820 (set_std_c99): Likewise.
2821 * common.opt (fwritable-strings): Remove.
2822 * flags.h: Remove the external declaration of
2823 flag_writable_strings.
2824 * opts.c (common_handle_option) <OPT_fwritable_strings>:
2826 * toplev.c (flag_writable_strings): Remove.
2827 (f_options): Remove an entry for writable-strings.
2828 * varasm.c (const_hash_1) <STRING_CST>: Don't check
2829 flag_writable_strings.
2830 (compare_constant) <STRING_CST>: Likewise.
2831 (build_constant_desc): Likewise.
2832 * config/darwin.c (machopic_select_section): Likewise.
2833 * config/arm/arm.c (AOF_ASSEMBLER): Likewise.
2834 * config/arm/pe.c (arm_pe_encode_section_info): Likewise.
2835 * config/iq2000/iq2000.c (iq2000_select_section): Likewise.
2836 * config/mips/mips.c (mips_select_section): Likewise.
2837 (mips_encode_section_info): Likewise.
2838 * config/pa/pa.c (pa_select_section): Likewise.
2839 * config/pa/pa.h (TEXT_SPACE_P): Likewise.
2840 * config/v850/v850.c (v850_select_section): Likewise.
2841 * doc/invoke.texi (-fwritable-strings): Remove.
2842 (-fno-const-strings): Don't mention -fwritable-strings.
2843 * doc/trouble.texi: Don't mention -fwritable-strings.
2845 2003-02-23 Nathanael Nerode <neroden@gcc.gnu.org>
2847 * doc/install.texi: Update for switch of boehm-gc to autoconf 2.57.
2849 2004-02-23 Dale Johannesen <dalej@apple.com>
2851 * config/rs6000.md (movsf_hardfloat): Add POWER form of nop.
2852 (movdf_hardfloat64): Ditto.
2853 (movdf_softfloat64): Ditto.
2855 2004-02-23 Fariborz Jahanian <fjahanian@apple.com>
2856 * config/rs6000/rs6000.c (function_arg): call to
2857 rs6000_mixed_function_arg for DFmode moved to allow
2858 normal DFmode incoming register assignment.
2860 2004-02-23 Dale Johannesen <dalej@apple.com>
2862 * config/rs6000.md (movsf_hardfloat): Accept CTR-to-CTR copy.
2863 (movdf_hardfloat64): Ditto.
2865 2004-02-23 Kazu Hirata <kazu@cs.umass.edu>
2867 * convert.c, gcov-io.c, libgcov.c, sched-int.h, sibcall.c,
2868 config/rs6000/linux.h, config/rs6000/rs6000-c.c: Update
2871 2004-02-23 Andrew Pinski <pinskia@physics.uc.edu>
2874 * c-typeck.c (c_expand_return): Change check for VAR_DECL
2875 to use DECL_P instead.
2877 * config/rs6000/linux.h (OS_MISSING_POWERPC64): Define.
2878 * config/rs6000/linux64.h (OS_MISSING_POWERPC64): Define.
2880 2004-02-23 Kazu Hirata <kazu@cs.umass.edu>
2882 * Makefile.in (opts.o): Depend on target.h.
2883 * opts.c (decode_options): Use targetm.default_short_enums
2884 instead of DEFAULT_SHORT_ENUMS.
2885 * system.h (DEFAULT_SHORT_ENUMS): Poison.
2886 * target-def.h (TARGET_DEFAULT_SHORT_ENUMS): New.
2887 (TARGET_INITIALIZER): Add TARGET_DEFAULT_SHORT_ENUMS.
2888 * target.h (gcc_target): Add default_short_enums.
2889 * config/cris/cris.h: Remove a comment about
2890 DEFAULT_SHORT_ENUMS.
2891 * config/ip2k/ip2k.h: Likewise.
2892 * doc/tm.texi (DEFAULT_SHORT_ENUMS): Change to
2893 TARGET_DEFAULT_SHORT_ENUMS. Update the description.
2895 2004-02-23 Eric Botcazou <ebotcazou@libertysurf.fr>
2896 Falk Hueffner <falk@debian.org>
2899 * builtins.c (expand_builtin_va_arg): Emit an informative message
2900 if a trap is generated.
2901 * c-typeck.c (build_function_call): Likewise.
2903 2004-02-22 Jakub Jelinek <jakub@redhat.com>
2905 * gcov-io.c (gcov_open) [GCOV_LOCKED]: Use open + fdopen instead of
2907 * libgcov.c: Include sys/stat.h.
2908 * config/rs6000/linux.h (TARGET_HAS_F_SETLKW): Define.
2909 * config/rs6000/linux64.h (TARGET_HAS_F_SETLKW): Define.
2910 * config/sparc/linux.h (TARGET_HAS_F_SETLKW): Define.
2911 * config/sparc/linux64.h (TARGET_HAS_F_SETLKW): Define.
2913 2004-02-22 Kazu Hirata <kazu@cs.umass.edu>
2915 * reorg.c: Remove comments about dead ports.
2917 2004-02-22 Christopher Faylor <cgf@redhat.com>
2919 * config.gcc (i[34567]86-*-pe|i[34567]86-*-cygwin*): *Really* specify
2920 extra host object file when targetting cygwin rather than generic
2923 2004-02-22 Josef Zlomek <zlomekj@suse.cz>
2925 Merge from tree-ssa:
2926 2003-11-20 Richard Henderson <rth@redhat.com>
2928 * tree-inline.c (insert_decl_map): New.
2929 (remap_decl, remap_type, remap_block, copy_body_r,
2930 initialize_inlined_parameters, declare_return_variable,
2931 remap_save_expr): Use it.
2933 * function.c (copy_body_r): Add mapping from id->ret_label to
2934 id->ret_label. Revert test for ret_label.
2936 2004-02-22 Jakub Jelinek <jakub@redhat.com>
2938 * genoutput.c (process_template): Strip trailing whitespace in @
2939 templates and issue a warning if there was any.
2941 2004-02-21 Christopher Faylor <cgf@redhat.com>
2943 * config.gcc (i[34567]86-*-pe|i[34567]86-*-cygwin*): Specify extra host
2944 object file when targetting cygwin.
2945 * config/i386/t-cygwin (EXTRA_GCC_OBJS): Remove definition since it is
2946 overridden by top-level Makefile.
2948 2004-02-21 Roger Sayle <roger@eyesopen.com>
2950 * config/i386/i386.c (standard_80387_constant_p): Also prefer
2951 the x87's load constant instructions when optimizing for size.
2953 2004-02-21 Kazu Hirata <kazu@cs.umass.edu>
2955 * combine.c (SHIFT_COUNT_TRUNCATED): Remove.
2956 * defaults.h (SHIFT_COUNT_TRUNCATED): Provide the default.
2957 * expmed.c: Assume SHIFT_COUNT_TRUNCATED is always defined.
2958 * fold-const.c: Likewise.
2959 * simplify-rtx.c: Likewise.
2961 2004-02-21 Alan Modra <amodra@bigpond.net.au>
2963 * combine.c (can_combine_p): Don't ignore SETs marked with
2964 REG_EH_REGION notes.
2965 (try_combine): When attemting to fix unrecognized insns, don't
2966 split a PARALLEL that contains the original i2.
2968 2004-02-21 Ziemowit Laski <zlaski@apple.com>
2970 * config/darwin.h (TARGET_OPTION_TRANSLATE_TABLE): Refer to
2971 SUBTARGET_OPTION_TRANSLATE_TABLE for architecture-specific options.
2972 * config/i386/darwin.h (SUBTARGET_OPTION_TRANSLATE_TABLE): Define it.
2973 * config/rs6000/altivec.h: #error out if '-maltivec' not specified.
2974 (vector, pixel, bool): #define to __vector, __pixel and __bool.
2975 (__un_args_eq, __bin_args_eq, __tern_args_eq): Move to C-specific
2977 (__altivec_link_error_invalid_argument): Remove prototype; will use
2978 __builtin_altivec_compiletime_error("vec_*") instead.
2979 (vec_*): Fix/complete set of available operation overloads given the
2980 existence of distinct 'vector bool ...' and 'vector pixel' types; tighten
2981 cv-correctness of pointer arguments; in C, always check for correct
2982 argument types before macro expansion.
2983 * config/rs6000/darwin.h (SUBTARGET_OPTION_TRANSLATE_TABLE): New macro
2984 defining Darwin/PowerPC-specific '-f[no-]altivec' and
2985 '-W[no-]altivec-long-deprecated' switches.
2986 * config/rs6000/rs6000-c (rs6000_cpu_cpp_builtins): Pre-define
2987 '__vector', '__pixel' and '__bool' macros using
2988 '__attribute__((altivec(...)))' types.
2989 * config/rs6000/rs6000.c (bool_char_type_node, bool_short_type_node,
2990 bool_int_type_node, pixel_type_node, bool_V16QI_type_node,
2991 bool_V8HI_type_node, bool_V4SI_type_node, pixel_V8HI_type_node):
2993 (rs6000_warn_altivec_long, rs6000_warn_altivec_long_switch): New, for
2994 handling '-W[no-]altivec-long-deprecated'.
2995 (rs6000_override_options): Handle '-W[no-]altivec-long-deprecated'.
2996 (rs6000_expand_binop_builtin, rs6000_expand_ternop_builtin,
2997 altivec_expand_dst_builtin): Remove casts from integer literals.
2998 (altivec_expand_builtin): Likewise; handle expansion of new
2999 '__builtin_altivec_compiletime_error' function.
3000 (rs6000_init_builtins): Initialize 'vector bool ...' and 'vector pixel'
3001 types, and make them distinct from other vector types; register
3002 '__builtin_altivec_compiletime_error' function.
3003 (print_operand): For 'P', print a full target register name instead of
3005 (rs6000_attribute_table): Add "altivec" attribute.
3006 (rs6000_handle_altivec_attribute): New function.
3007 * config/rs6000/rs6000.h (TARGET_OPTIONS): Describe
3008 '-m[no-]-warn-altivec-long' (which '-W[no-]altivec-long-deprecated'
3010 (rs6000_warn_altivec_long, rs6000_warn_altivec_long_switch): Forward
3012 (ALTIVEC_BUILTIN_COMPILETIME_ERROR): New built-in enumeration.
3014 2004-02-20 James E Wilson <wilson@specifixinc.com>
3016 * config/ia64/ia64.md (shift_mix4left+1): Delete reload_completed
3018 (shift_mix4left+2): Delete redundant pattern.
3020 2004-02-20 Kazu Hirata <kazu@cs.umass.edu>
3022 * alias.c (OUTGOING_REGNO): Don't define the default.
3023 * builtins.c (OUTGOING_REGNO): Likewise.
3024 (INCOMING_REGNO): Likewise.
3025 (apply_args_register_offset): Always use OUTGOING_REGNO.
3026 * combine.c (OUTGOING_REGNO): Likewise.
3027 * sibcall.c (OUTGOING_REGNO): Likewise.
3028 * defaults.h (INCOMING_REGNO): Provide the default.
3029 (OUTGOING_REGNO): Likewise.
3031 2004-02-21 Jan Hubicka <jh@suse.cz>
3033 * params.def (max-peeled-insns, max-completely-peeled-insns,
3034 max-once-peeled-insns): Set to 400.
3036 2004-02-20 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
3039 * dbxout.c (dbxout_parms): Check that DECL_RTL and DECL_INCOMING_RTL
3040 are set for parameters before outputing debugging information.
3042 2004-02-20 Falk Hueffner <falk@debian.org>
3045 * config/alpha/alpha.md (*fix_truncsfsi_ieee): Fix typoed operand
3048 2004-02-20 Per Bothner <per@bothner.com>
3050 * input.h: Don't #include line-map.h. It may cause link problems
3051 with undefined linemap_line_start when line-map.h is included but
3052 line-map.o is not linked, as currently happens with gengtype on
3053 compilers that don't support inline.
3054 * toplev.c: So we do have to explicitly #include line-map.h here.
3056 2004-02-20 Richard Henderson <rth@redhat.com>
3058 * doc/invoke.texi: Add -Wvariadic-macros.
3060 2004-02-20 Kazu Hirata <kazu@cs.umass.edu>
3062 * haifa-sched.c (sched_emit_insn): Remove.
3063 * sched-int.h: Remove the corresponding prototype.
3065 2004-02-20 Kazu Hirata <kazu@cs.umass.edu>
3068 2004-02-19 Kazu Hirata <kazu@cs.umass.edu>
3069 * opts.c (decode_options): Don't use DEFAULT_SHORT_ENUMS.
3070 * system.h (DEFAULT_SHORT_ENUMS): Poison.
3071 * config/cris/cris.h: Remove a comment about
3072 DEFAULT_SHORT_ENUMS.
3073 * config/ip2k/ip2k.h: Likewise.
3074 * doc/tm.texi (DEFAULT_SHORT_ENUMS): Remove.
3076 2004-02-20 Mohan Embar <gnustuff@thisiscool.com>
3077 Tom Tromey <tromey@redhat.com>
3079 * doc/install.texi: Moved --disable-libgcj and
3080 --with-system-zlib documentation to new section for
3081 Java-specific options.
3082 Added explicit Cross-Compiler-Specific Options subheading.
3083 Added section for Java-specific options.
3085 2004-02-20 Matt Kraai <kraai@alumni.cmu.edu>
3087 * doc/install.texi (Building the Ada compiler): Remove
3090 2004-02-20 James E Wilson <wilson@specifixinc.com>
3092 * toplev.c (dump_file_index, dump_file): Put ce3 before rnreg.
3094 2004-02-20 Kazu Hirata <kazu@cs.umass.edu>
3096 * gcc.c (process_command): Allow translation of the copyright
3097 symbol but not the rest of the copyright message.
3098 * gcov.c (print_version): Likewise. Allow translation of the
3099 message about warranty.
3101 2004-02-20 Hans-Peter Nilsson <hp@axis.com>
3103 * config/cris/cris.md ("*andsi_movu"): Correct parentheses in
3105 ("*andsi_clear"): Tweak constraints to not match postincrement.
3106 Adjust the predicate to exclude a volatile memory reference.
3107 ("*andhi_clear"): Ditto. Rename from "*andhi_clear_signed".
3108 ("*andhi_clear_unsigned"): Remove, non-matching pattern.
3110 2004-02-19 Matt Kraai <kraai@alumni.cmu.edu>
3112 * move-if-change: Remove.
3113 * Makefile.in (s-mlib, c-parse.y, s-check, s-gencheck)
3114 (s-specs, s-options, s-config, s-conditions, s-flags, s-codes)
3115 (s-constants, s-emit, s-recog, s-opinit, s-extract, s-peep)
3116 (s-attr, s-attrtab, s-output, s-genrtl, s-modes, s-preds)
3117 (s-gtyp-gen, s-iov): Use the top level move-if-change.
3118 * objc/Make-lang.in (objc/objc-parse.y): Likewise.
3120 2004-02-19 James E Wilson <wilson@specifixinc.com>
3122 * config/i386/i386.md (doloop_end_internal): Use nonimmediate_operand
3123 for operand2. Add condition that requires register_operand operand2
3126 2004-02-19 Richard Sandiford <rsandifo@redhat.com>
3127 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
3129 * config/mips/mips.c (mips_address_insns): Treat BLKmode specially.
3130 * config/mips/mips.md: Expand comment above unaligned loads and stores.
3132 2004-02-19 Richard Henderson <rth@redhat.com>
3134 * Makefile.in (STRICT2_WARN): Add -Wno-variadic-macros.
3135 * tree.c (build0, build1, build2, build3, build4): Split out from...
3136 (build): ... here. Call them.
3137 * tree.h (build, _buildN1, _buildN2, _buildC1, _buildC2): New.
3139 * convert.c (convert_to_integer): Remove extra build argument.
3140 * tree-inline.c (expand_call_inline): Likewise.
3142 2004-02-19 Richard Henderson <rth@redhat.com>
3144 * c-opts.c (warn_variadic_macros): New.
3145 (c_common_handle_option): Set it.
3146 (sanitize_cpp_opts): Copy it to cpp_opts.
3147 * c.opt (Wvariadic-macros): New.
3148 * cpplib.h (struct cpp_options): Add warn_variadic_macros.
3149 * cppinit.c (cpp_create_reader): Initialize it.
3150 * cppmacro.c (parse_params): Check it.
3152 2004-02-19 David Daney <ddaney@avtrex.com>
3154 PR preprocessor/14198
3155 * config/mips/linux.h (TARGET_OS_CPP_BUILTINS): Add
3156 builtin_assert ("machine=mips")
3158 2004-02-19 Kazu Hirata <kazu@cs.umass.edu>
3160 * opts.c (decode_options): Don't use DEFAULT_SHORT_ENUMS.
3161 * system.h (DEFAULT_SHORT_ENUMS): Poison.
3162 * config/cris/cris.h: Remove a comment about
3163 DEFAULT_SHORT_ENUMS.
3164 * config/ip2k/ip2k.h: Likewise.
3165 * doc/tm.texi (DEFAULT_SHORT_ENUMS): Remove.
3167 2004-02-19 Zack Weinberg <zack@codesourcery.com>
3169 * config/ia64/ia64.c (ia64_function_arg): In big-endian mode,
3170 when passing single SFmode quantities in general registers,
3171 put them in the high half.
3173 2004-02-19 Aldy Hernandez <aldyh@redhat.com>
3175 * doc/md.texi (Standard Names): Document additional dependency on
3178 * optabs.c (ftruncify): Remove.
3179 (expand_fix): Manually inline ftruncify above.
3180 (can_fix_p): Add FIXME note.
3182 2004-02-19 Aldy Hernandez <aldyh@redhat.com>
3184 * config/rs6000/spe.md (spe_fixunssfsi2): Rename to
3185 spe_fixuns_truncsfsi2.
3187 * config/rs6000/rs6000.md (fixunssfsi2): Rename to
3190 2004-02-19 Steve Ellcey <sje@cup.hp.com>
3192 * config/ia64/ia64.h (HARD_REGNO_CALLER_SAVE_MODE): New macro.
3193 * testsuite/gcc.dg/20040219-1.c: New test.
3195 2004-02-19 Ulrich Weigand <uweigand@de.ibm.com>
3197 * config/s390/s390.md ("*subdf3_cc", "*subdf3_cconly", "*subsf3_cc",
3198 "*subsf3_cconly"): Subtraction is not commutative.
3200 2004-02-19 Zack Weinberg <zack@codesourcery.com>
3202 * sdbout.c (preinit_symbols, sdbout_initialized): New statics.
3203 (sdbout_symbol): If called before sdbout_init, queue DECL for
3205 (sdbout_init): Set sdbout_initialized true, process decls
3206 queued earlier by sdbout_symbol.
3207 (sdbout_finish): Use size_t for index variable.
3209 2004-02-19 Jeff Law <law@redhat.com>
3211 * fold-const.c (invert_truthvalue): Do not call invert_tree_comparison
3212 for unordered comparison codes.
3214 2004-02-19 Ian Lance Taylor <ian@wasabisystems.com>
3216 * reload1.c (reload): Correct comment.
3217 (scan_paradoxical_subregs): Remove #if 0 and old comment.
3218 * doc/extend.texi (Local Reg Vars): Remove obsolete comment that
3219 register variables are not used by reload.
3221 2004-02-19 Hans-Peter Nilsson <hp@axis.com>
3224 * config/cris/cris.md ("*andsi_movu", "*andhi_movu"): Tweak
3225 constraints to not match postincrement. Adjust the predicate to
3226 exclude a volatile memory reference.
3228 2004-02-19 Kazu Hirata <kazu@cs.umass.edu>
3230 * config/mcore/mcore.h (ASM_OUTPUT_EXTERNAL): Remove.
3232 2004-02-19 Kazu Hirata <kazu@cs.umass.edu>
3234 * hooks.c (hook_void_tree_int): Remove.
3235 (hook_void_constcharptr): Likewise.
3236 (hook_int_void_0): Likewise.
3237 * hooks.h: Remove the prototypes for the above three
3239 * targhooks.c (hook_bool_machine_mode_true): Remove.
3240 * targhooks.h: Remove the prototype for
3241 hook_bool_machine_mode_true.
3243 2004-02-19 Kazu Hirata <kazu@cs.umass.edu>
3245 * emit-rtl.c (subreg_realpart_p): Remove.
3246 (reorder_insns_with_line_notes): Likewise.
3247 (end_full_sequence): Likewise.
3248 * rtl.h: Remove the prototype for the above functions.
3250 2004-02-19 Kazu Hirata <kazu@cs.umass.edu>
3252 * config/arc/arc.h, config/arm/arm.h, config/frv/frv.h,
3253 config/h8300/h8300.h, config/i386/i386.h, config/i860/i860.h,
3254 config/iq2000/iq2000.h, config/m32r/m32r.h,
3255 config/pdp11/pdp11.h, config/sparc/sparc.h,
3256 config/xtensa/xtensa.h: Remove commented-out or useless
3257 definitions of CASE_VECTOR_PC_RELATIVE.
3259 2004-02-19 Kazu Hirata <kazu@cs.umass.edu>
3261 * loop.c (all_sets_invariant_p): Remove.
3263 2004-02-19 Eric Botcazou <ebotcazou@libertysurf.fr>
3266 * config/sparc/sparc.h (NPARM_REGS): Delete.
3267 (BASE_RETURN_VALUE_REG): Likewise.
3268 (BASE_OUTGOING_VALUE_REG): Likewise.
3269 (BASE_PASSING_ARG_REG): Likewise.
3270 (BASE_INCOMING_ARG_REG): Likewise.
3271 * config/sparc/sparc.c (sparc_strict_argument_naming): Test
3272 TARGET_ARCH64, not TARGET_V9.
3273 (function_arg_slotno): Dispatch based on the mode class.
3274 Handle vector modes like floating-point modes.
3275 (function_arg_record_value_1): Handle vector types like
3276 floating-point types.
3277 (function_arg_record_value_2): Likewise.
3278 Calculate regno after mode transformation.
3279 (function_arg): Handle vector modes like floating-point modes.
3280 (function_arg_partial_nregs): Replace NPARM_REGS by SPARC_INT_ARG_MAX.
3281 If ARCH64, do not recheck alignment.
3282 (function_arg_pass_by_reference): Reorder the conditions.
3283 (sparc_return_in_memory): Move after function_arg_padding.
3284 Implement calling conventions for vector modes.
3285 (sparc_struct_value_rtx): Move after sparc_return_in_memory.
3286 (function_value): Move scope of 'regbase'.
3287 Implement calling conventions for vector modes.
3288 (sparc_builtin_saveregs): Replace NPARM_REGS by SPARC_INT_ARG_MAX
3289 and BASE_INCOMING_ARG_REG by SPARC_INCOMING_INT_ARG_FIRST.
3290 (sparc_va_arg): Use function_arg_pass_by_reference to test whether
3291 the argument is passed by reference.
3292 (sparc_type_code): Handle vector types.
3294 2004-02-19 Alan Modra <amodra@bigpond.net.au>
3296 * function.c (assign_parms): When building decl_rtl for
3297 SPLIT_COMPLEX_ARGS, ensure inner modes of concat match outer.
3299 2004-02-19 Olivier Hainque <hainque@act-europe.fr>
3301 * expr.c (is_aligning_offset): Check if we are aligning the
3302 expressions's address over BIGGEST_ALIGNMENT in bytes, not
3305 2003-02-18 Matt Austern <austern@apple.com>
3307 * gcc.c (LIBGCC_SPEC): If REAL_LIBGCC_SPEC is defined, and
3308 LIBGCC_SPEC isn't, set LIBGCC_SPEC to REAL_LIBGCC_SPEC.
3309 (init_gcc_spec): Don't define or call if REAL_LIBGCC_SPEC is
3310 defined. Instead use REAL_LIBGCC_SPEC, unmodifed, as the libgcc
3312 * doc/tm.texi (REAL_LIBGCC_SPEC): Document.
3314 2004-02-18 Zack Weinberg <zack@codesourcery.com>
3316 * dwarf2out.c (loclabel_num): Move outside #ifdef
3317 DWARF2_DEBUGGING_INFO and mark with GTY(()).
3318 * config/ia64/ia64.c (struct extern_func_list,extern_func_head):
3320 (ia64_hpux_add_extern_decl): Save the decl, not the name string.
3321 Allocate memory with ggc_alloc. No need to copy anything.
3322 (ia64_hpux_file_end): Update to match.
3324 2004-02-18 Jakub Jelinek <jakub@redhat.com>
3326 * config/i386/i386.c (override_options): Don't imply 3DNow! for -m64
3329 2004-02-18 Ulrich Weigand <uweigand@de.ibm.com>
3331 * config/s390/s390.md ("divmodtidi3"): Use canonical RTL.
3332 ("divmodtisi3"): Likewise.
3333 ("udivmoddi4", "udivmodtidi3"): Likewise.
3334 ("divmodsi4", "divmoddisi3"): Likewise.
3335 ("udivmodsi4", "udivmoddisi3"): Likewise.
3336 ("udivsi3", "umodsi3"): Likewise.
3338 2004-02-18 Ulrich Weigand <uweigand@de.ibm.com>
3340 * config/s390/s390.c (s390_mainpool_start): Delete the main pool
3341 placeholder insn when chunkifying the pool.
3343 2004-02-18 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
3345 * pa.h (PIC_OFFSET_TABLE_REGNUM): Define to INVALID_REGNUM when not
3346 generating PIC code.
3348 2004-02-18 Kazu Hirata <kazu@cs.umass.edu>
3350 * config/h8300/h8300-protos.h: Add a prototype for
3351 h8300_expand_branch.
3352 * config/h8300/h8300.c (h8300_expand_branch): New.
3353 * config/h8300/h8300.md (ble, bleu, bge, bgeu, blt, bltu, bgt,
3354 bgtu, beq, bne): Call h8300_expand_branch().
3356 2004-02-18 Kazu Hirata <kazu@cs.umass.edu>
3358 * config/h8300/h8300-protos.h: Add prototypes for
3359 h8300_hard_regno_nregs and h8300_hard_regno_mode_ok.
3360 * config/h8300/h8300.c (h8300_hard_regno_nregs): New.
3361 (h8300_hard_regno_mode_ok): Likewise.
3362 * config/h8300/h8300.h (HARD_REGNO_NREGS): Call
3363 h8300_hard_regno_nregs().
3364 (HARD_REGNO_MODE_OK): Call h8300_hard_regno_mode_ok().
3366 2004-02-18 Per Bothner <per@bothner.com>
3368 * cpphash.h (struct cpp_buffer): Restore return_at_eof field. This
3369 partly reverts my 2003-10-01 change, because we're back to logically
3370 including <command line> inside the main line.
3371 * cpplex.c (_cpp_get_fresh_line): Check return_at_eof field.
3372 * cppmacro.c (cpp_scan_nooutput): Set return_at_eof of current buffer.
3373 Fixes PR preprocessor/14103.
3375 * cppfiles.c (_cpp_stack_include): When appropriate decrement
3376 line_table's highest_location, fixing LAST_SOURCE_LINE_LOCATION.
3377 (cpp_push_include): Don't need to increment pfile's line field.
3378 * line-map.h (LAST_SOURCE_LINE_LOCATION): Only decrement by 1.
3380 * c-ppoutput.c (print struct): New first_time field.
3381 (init_pp_output): Set print.first_time.
3382 (pp_file_change): Use print.first_time, rather than MAIN_FILE_P,
3383 which is set also for (say) <command line>. Clear print.first_time.
3385 * cppfiles.c (struct _cpp_file): Comment and type for pch field
3386 does not match the code, so fix both.
3387 (should_stack_file): Inline include_pch_p function.
3388 (include_pch_p): Remove pointless function.
3390 * cpphash.h (struct cpp_buffer): Remove unused search_cached field.
3392 2004-02-18 Kazu Hirata <kazu@cs.umass.edu>
3394 * config/h8300/h8300.md (four define_peephole2's): Use
3395 h8300_regs_ok_for_stm().
3397 2004-02-18 Kazu Hirata <kazu@cs.umass.edu>
3399 * config/h8300/h8300-protos.h: Update the prototype for
3401 * config/h8300/h8300.c (expand_a_rotate): Remove the first
3403 * config/h8300/h8300.md: Update all callers.
3405 2004-02-18 Jan Hubicka <jh@suse.cz>
3407 * simplify-rtx.c (simplify_unary_operation): Deal with logicals on
3409 (simplify_binary_operation): Deal with logicals on floats.
3411 * i386.md (SSE fabs splitters): Emit new patterns.
3412 (SSE cmov splitters): Likewise.
3413 (sse_andv4sf3, sse_nandv4sf3, sse_iorv4sf3, sse_xorv4sf3
3414 (sse_andv2df3, sse_nandv2df3, sse_iorv2df3, sse_xorv2df3): Do not use
3416 (sse_andsf3, sse_nandsf3, sse_xorsf3): Kill.
3417 (sse_anddf3, sse_nanddf3, sse_xordf3): Kill.
3419 2004-02-18 Kazu Hirata <kazu@cs