1 2004-11-29 Steven Bosscher <stevenb@suse.de>
3 * cfgcleanup.c (outgoing_edges_match, try_crossjump_to_edge):
4 Remove CASE_DROPS_THROUGH checks, it is never defined.
5 * cfglyout.c (fixup_reorder_chain): Likewise.
6 * cfgrtl.c (rtl_verify_flow_info): Likewise.
7 * stmt.c (expand_case): Likewise.
8 * cfgbuild.c (make_edges): Likewise. Also remove force_fallthru,
10 * system.h (CASE_DROPS_THROUGH): Poison.
11 * doc/md.texi (casesi): Remove documentation of CASE_DROPS_THROUGH.
12 * doc/tm.texi (casesi): Remove documentation of CASE_DROPS_THROUGH.
14 * config/v850/v850.h: Remove commented out CASE_DROPS_THROUGH.
16 2004-11-29 Andrew Pinski <pinskia@physics.uc.edu>
19 * tree-cfg.c (tree_node_can_be_shared): Error_mark_node can be
22 2004-11-29 Diego Novillo <dnovillo@redhat.com>
24 PR tree-optimization/18712
25 * tree-into-ssa.c (insert_phi_nodes_for): Pass argument
26 WORK_STACK by reference.
27 Call VEC_safe_push instead of VEC_quick_push.
30 2004-11-29 Daniel Jacobowitz <dan@codesourcery.com>
33 * Makefile.in (c-lang.o): Update dependencies.
34 * c-lang.c: Include "c-pragma.h".
35 (finish_file): Call maybe_apply_pending_pragma_weaks.
36 * c-pragma.c (maybe_apply_pending_pragma_weaks): New function.
37 * c-pragma.h (maybe_apply_pending_pragma_weaks): New prototype.
39 2004-11-29 Richard Henderson <rth@redhat.com>
42 * config/ia64/predicates.md (sdata_symbolic_operand): Deny offsets
43 outside the referenced object.
45 2004-11-29 Kazu Hirata <kazu@cs.umass.edu>
47 * tree-if-conv.c (replace_phi_with_cond_modify_expr): Use
48 EDGE_PRED instead of PHI_ARG_EDGE.
49 * tree-ssa-live.c: Likewise.
50 * tree-ssa-loop-manip.c: Likewise.
51 * tree-ssa.c: Likewise.
53 * cfgrtl.c (cfg_layout_redirect_edge_and_branch): Speed up by
54 simplifying edge manipulation.
56 * cfgrtl.c (rtl_tidy_fallthru_edge): Speed up by using
59 * tree-cfg.c (tree_redirect_edge_and_branch): Call find_edge
62 * cfg.c (flow_obstack): Remove.
63 (flow_firstobj): Likewise.
64 (init_flow): Remove all uses of flow_obstack.
66 2004-11-29 Alan Modra <amodra@bigpond.net.au>
68 * varasm.c (default_elf_select_section_1): Only pass DECL_P decl
71 2004-11-29 Nathan Sidwell <nathan@codesourcery.com>
73 * opts.c (decode_options): Do not set max-inline-insns-rtl.
74 (common_handle_option): Likewise.
75 * params.def (PARAM_MAX_INLINE_INSNS_RTL): Remove.
76 * params.h (MAX_INLINE_INSNS_RTL): Remove.
77 * doc/invoke.texi (max-inline-insns-rtl): Remove.
79 2004-11-29 Alan Modra <amodra@bigpond.net.au>
82 * varasm.c (default_elf_select_section_1): Pass decl to named_section.
84 2004-11-28 Andrew Pinski <pinskia@physics.uc.edu>
87 * gimplify.c (gimplify_asm_expr): If the length of an output operand
88 is zero, do not process it, just let it go through.
90 2004-11-28 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
91 Diego Novillo <dnovillo@redhat.com>
93 PR/18662, also backported from tree-cleanup-branch.
94 * tree-ssa-ccp.c (substitute_and_fold): If replaced anything,
95 always call maybe_clean_eh_stmt and modify_stmt.
97 2004-11-28 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
100 * tree-ssa-operands.c (build_ssa_operands, case MODIFY_EXPR):
101 Ignore a VIEW_CONVERT_EXPR on LHS when deciding if must or may def.
102 * tree-ssa-ccp.c (visit_assignment): If LHS is a VIEW_CONVERT_EXPR,
103 add an inverse VIEW_CONVERT_EXPR to const_val.
106 * tree-nested.c (check_for_nested_with_variably_modified): New.
107 (create_nesting_tree): Call it.
109 * tree-ssa-alias.c (compute_points_to_and_addr_escapes): Remove
110 special code for assigning to non-pointer.
111 (is_escape_site): If RHS is a conversion between pointer and integer
112 types, this is an escape site.
114 * gcse.c (insert_store): Error if try to insert store on abnormal edge.
115 (store_motion): Don't move store if any edge we'd want to move it
118 * expr.c (expand_expr_real_1, case ARRAY_REF): Properly fold with
119 non-zero lower bound.
121 * expr.c (categorize_ctor_elements_1, case STRING_CST): New case.
123 2004-11-28 Matt Kraai <kraai@alumni.cmu.edu>
126 * opts.c (find_opt): Require that the input match a switch exactly
127 or that the switch take a joined option to be interpreted as a
128 match for another language.
130 2004-11-28 Andrew Pinski <pinskia@physics.uc.edu>
132 * timevar.def (TV_TREE_REDPHI): New timevar.
133 * tree-ssa.c (pass_redundant_phi): Use TV_TREE_REDPHI for the tv id.
135 2004-11-28 Nathanael Nerode <neroden@gcc.gnu.org>
137 PR preprocessor/17651
138 * c-opts.c (sanitize_cpp_opts): Make flag_no_output imply
139 flag_no_line_commands.
140 * c-ppoutput.c (pp_file_change): Remove now-redundant check of
143 2004-11-28 Theodore A. Roth <troth@openavr.org>
145 * config/avr/avr.c (avr_handle_fndecl_attribute): Generate a
146 warning if the function name does not begin with "__vector" and the
147 function has either the 'signal' or 'interrupt' attribute.
149 2004-11-28 Theodore A. Roth <troth@openavr.org>
151 * config/avr/avr.c (avr_mcu_types): Add entries for atmega48,
152 atmega88, atmega168, attiny13, attiny2313, at90can128, atmega165,
153 atmega325, atmega3250, atmega645 and atmega6450.
154 * config/avr/avr.h (LINK_SPEC): Ditto.
156 (LIBGCC_SPEC): Ditto.
157 (CRT_BINUTILS_SPECS): Ditto.
158 * config/avr/t-avr (MULTILIB_MATCHES): Ditto.
160 2004-11-28 Nathanael Nerode <neroden@gcc.gnu.org>
162 PR preprocessor/17610
163 * testsuite/gcc.dg/cpp/empty-include.c: New testcase.
165 2004-11-28 Jeff Law <law@redhat.com>
167 * tree-ssa-alias.c (count_calls_and_maybe_create_global_var): New.
168 (pass_maybe_create_global_var): New.
169 * tree-pass.h (pass_maybe_create_global_var): Declare.
170 * tree-optimize.c (init_tree_optimization_passes): Link in
171 pass_maybe_create_global_var.
173 2004-11-28 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
175 * tree-inline.c (inline_forbidden_p_1, case RECORD_TYPE): Add comment.
177 2004-11-28 Ulrich Weigand <uweigand@de.ibm.com>
179 PR rtl-optimization/18420
180 * simplify-rtx.c (simplify_gen_subreg): Revert 2004-10-28 change.
182 2004-11-28 Steven Bosscher <stevenb@suse.de>
183 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
185 * config/vax/vax.h (CASE_DROPS_THROUGH): Don't define.
186 * config/vax/vax.md (casesi): Emit a test-and-branch to make sure
187 that the case is in range, to make sure the casesi insn is always
188 in range and never falls through.
189 (casesi1): Add comment to explain why casesi never falls through.
190 Remove the unnamed special case casesi pattern.
192 2004-11-28 Hans-Peter Nilsson <hp@bitrange.com>
195 * config/mmix/mmix.md ("*movdicc_real_reversible"): Rename from
196 "*movdicc_real". Only match reversible comparisons.
197 ("*movdicc_real_nonreversible"): New pattern, split from
198 "*movdicc_real". Match only nonreversible comparisons. Exclude
199 reversed alternatives.
200 ("*movdfcc_real_reversible", "*movdfcc_real_nonreversible"):
203 2004-11-27 Richard Henderson <rth@redhat.com>
205 * config/ia64/ia64.md: Move all define_predicate's ...
206 * config/ia64/predicates.md: ... here. New file.
208 2004-11-27 Per Bothner <per@bothner.com>
211 Re-applied following, with two modifications: add a URL for the
212 fixed cctools; only exit if $build = $target.
214 2004-10-18 Kelley Cook <kcook@gcc.gnu.org>
215 * configure.ac (powerpc-*-darwin*): Require assembler to support
217 * configure: Regenerate.
219 2004-11-28 David Edelsohn <edelsohn@gnu.org>
222 * config/rs6000/rs6000.c (rs6000_rtx_costs): Improve accuracy of
223 EQ, GTU, and LTU costs. Add costs for GT, LT, and UNORDERED.
224 Distinguish between SImode and DImode CONST_INT.
226 2004-11-28 Andreas Fischer <a_fisch@gmx.de>
227 Alan Modra <amodra@bigpond.net.au>
230 * config/rs6000/rs6000.c (rs6000_elf_in_small_data_p): Disallow
231 functions, strings and thread-local vars.
233 2004-11-28 Alan Modra <amodra@bigpond.net.au>
235 * config/rs6000/rs6000.h (WORLD_SAVE_P): Define.
236 * config/rs6000/darwin.h (WORLD_SAVE_P): Define.
237 * config/rs6000/rs6000.c (compute_save_world_info): Use WORLD_SAVE_P
238 to allow non-darwin ABIs to optimize away code.
239 (rs6000_emit_prologue, rs6000_emit_epilogue): Likewise.
241 2004-11-27 Kazu Hirata <kazu@cs.umass.edu>
243 * tree.c (operand_equal_for_phi_arg_p): New.
244 * tree.h: Add a prototype for operand_equal_for_phi_arg_p.
245 * tree-cfg.c, tree-ssa-dom.c, tree-ssa-phiopt.c, tree-ssa.c:
246 Replace operand_equal_p with operand_for_phi_arg_p
249 * bb-reorder.c (find_traces_1_round): Speed up by using
250 EDGE_COUNT instead of FOR_EACH_EDGE.
252 * fold-const.c, config/i386/linux64.h: Fix comment typos.
254 2004-11-27 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
257 * config/host-linux.c (TRY_EMPTY_VM_SPACE): Revert 2004-11-22 change.
259 2004-11-27 Kazu Hirata <kazu@cs.umass.edu>
261 * config/i386/linux.h: Fix a comment typo.
262 * doc/extend.texi: Fix a typo.
264 2004-11-27 Jeff Law <law@redhat.com>
266 * tree-cfg.c (cleanup_tree_cfg): Also return true if blocks
269 2004-11-27 Jakub Jelinek <jakub@redhat.com>
271 * config/i386/linux64.h (REG_NAME): Define.
273 2004-11-27 Jakub Jelinek <jakub@redhat.com>
275 * fold-const.c (extract_muldiv_1) <case ABS_EXPR>: If ctype is
276 unsigned and type signed, build ABS_EXPR with signed_type (ctype)
277 and only afterwards convert to ctype.
279 2004-11-27 Richard Sandiford <rsandifo@redhat.com>
281 * config/mips/mips-protos.h (function_arg_boundary): Declare.
282 * config/mips/mips.h (PARM_BOUNDARY): Simplify definition.
283 (STACK_BOUNDARY, MIPS_STACK_ALIGN): Likewise.
284 (FUNCTION_ARG_BOUNDARY): Use new function_arg_boundary function.
285 * config/mips/mips.c (function_arg_boundary): New function.
286 Impose a maximum alignment of STACK_BOUNDARY.
288 2004-11-27 Jakub Jelinek <jakub@redhat.com>
290 PR rtl-optimization/17825
291 * combine.c (subst): Ignore STRICT_LOW_PART no matter if REG_P (new)
294 2004-11-27 Alan Modra <amodra@bigpond.net.au>
297 * config/rs6000/rs6000.c (init_cumulative_args): Set call_cookie
298 from rs6000_default_long_calls for libcalls.
300 2004-11-26 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
302 * expmed.c (extract_bit_field): When extracting from non-integer mode,
303 force a SUBREG into a register because we may be taking a further
306 2004-11-27 Di-an Jan <dianj@freeshell.org>
308 * doc/contrib.texi (Tim Josling): Remove nesting quotation marks.
310 2004-11-26 Robert Millan <robertmh@gnu.org>
312 Changes for k*bsd-gnu support.
313 * config/i386/linux.h: Define REG_NAME to allow overriding of
314 register names in sc structure.
315 * config/i386/linux-unwind.h: Refer to sc->REG_NAME(reg) instead
317 * config.gcc: Detect x86_64-k*bsd-gnu systems.
319 2004-11-26 Jeff Law <law@redhat.com>
321 * tree-ssa.c (verify_flow_sensitive_alias_info): Don't
322 retrieve annotations or pointer info before it's necessary.
323 Reorder tests for early continue of the loop. Manually CSE
326 2004-11-26 Eric Botcazou <ebotcazou@libertysurf.fr>
328 * target.h (struct gcc_target): New field 'dwarf_handle_frame_unspec'.
329 * target_def.h (TARGET_DWARF_HANDLE_FRAME_UNSPEC): Define to 0.
330 (TARGET_INITIALIZER): Add TARGET_DWARF_HANDLE_FRAME_UNSPEC.
331 * dwarf2out.c (dwarf2out_frame_debug_expr): Allow REG->REG move
332 to a fixed reg if the source is the Return Address register.
333 Implement new Rule 15.
334 * doc/tm.texi (Frame Layout): Document TARGET_DWARF_HANDLE_FRAME_UNSPEC.
335 * config/sparc/sparc.c (TARGET_DWARF_HANDLE_FRAME_UNSPEC): Define to
336 sparc_dwarf_handle_frame_unspec.
337 (gen_save_register_window): New function.
338 (emit_stack_pointer_increment): Rename into gen_stack_pointer_inc.
339 (emit_stack_pointer_decrement): Rename into gen_stack_pointer_dec.
340 (expand_prologue): Adjust calls to emit_stack_pointer_{in,de}crement.
341 Set RTX_FRAME_RELATED_P on the appropriate insns and members of insns.
342 (sparc_asm_function_prologue): Do not emit call frame debugging info.
343 (emit_and_preserve): Adjust calls to emit_stack_pointer_{in,de}crement.
344 (sparc_expand_epilogue): Likewise.
345 (sparc_dwarf_handle_frame_unspec): New function.
346 * config/sparc/sparc.md (save_register_window): Remove.
347 (save_register_windowdi): Rewrite modelled on the callframe debug info.
348 (save_register_windowsi): Likewise.
350 2004-11-26 Alexandre Oliva <aoliva@redhat.com>
352 * config/frv/frv-protos.h: Guard ifcvt functions declarations with
353 BB_HEAD, not BLOCK_HEAD.
355 2004-11-26 Alexandre Oliva <aoliva@redhat.com>
357 * config/frv/frv.c (frv_ifcvt_modify_insn): Don't leave alone
358 scratch insns that set a register live at the join point.
360 2004-11-26 Kazu Hirata <kazu@cs.umass.edu>
362 * cse.c, tree-ssa-operands.c: Fix comment typos.
364 * tree-cfg.c (tree_split_edge): Speed up by using find_edge.
366 2004-11-26 James A. Morrison <phython@gcc.gnu.org>
369 * doc/extend.texi (SPARC VIS Built-in Functions): New section.
371 2004-11-26 Kazu Hirata <kazu@cs.umass.edu>
373 * cfgrtl.c (try_redirect_by_replacing_jump): Speed up the
374 check that tests if all edges go to the same destination.
376 * bitmap.c (bitmap_find_bit): Speed up by traversing from
377 head->first if that seems profitable.
379 2004-11-25 Jeff Law <law@redhat.com>
381 * timevar.def (TV_TREE_LOOP_INIT, TV_TREE_LOOP_FINI): New timevars.
382 * tree-ssa-loop.c (pass_loop_init): Use TV_TREE_LOOP_INIT.
383 (pass_loop_done): Use TV_TREE_LOOP_FINI.
385 2004-11-26 Alan Modra <amodra@bigpond.net.au>
387 PR rtl-optimization/16356
388 * config/rs6000/rs6000.md (floatdisf2_internal2): Rewrite with
389 separate output register and one less jump. Enable for powerpc64.
390 (floatdisf2): Adjust for above.
392 2004-11-25 Bob Wilson <bob.wilson@acm.org>
394 * config/xtensa/xtensa.h (STARTFILE_SPEC): Add crt0.
395 (GCC_DRIVER_HOST_INITIALIZATION): Define.
397 2004-11-25 Andrew Pinski <pinskia@physics.uc.edu>
400 * tree-complex.c (vector_inner_type): New variable moved from
401 build_word_mode_vector_type.
402 (vector_last_type): Likewise.
403 (vector_last_nunits): Likewise.
404 (build_word_mode_vector_type): Use the new variables.
405 * Makefile.in (tree-complex.o): Add gt-tree-complex.h $(GGC_H).
406 (GTFILES): Add tree-complex.c.
407 (gt-tree-complex.h): New rule, add it to the rest of the gt-* rules.
409 2004-11-25 Bob Wilson <bob.wilson@acm.org>
411 * config/xtensa/xtensa.h (TARGET_CPU_CPP_BUILTINS): Define
412 __XTENSA_WINDOWED_ABI__.
414 2004-11-25 Richard Henderson <rth@redhat.com>
416 * dwarf2out.c (dwarf2out_stack_adjust): Add after_p argument. Save
417 args_size adjustments for calls even with cfa as stack pointer.
418 Search calls for stack adjustments after the insn is issued.
419 (dwarf2out_frame_debug): Add after_p argument; pass it on.
420 * dwarf2out.h (dwarf2out_frame_debug): Update to match.
421 * final.c (final_start_function, final_scan_insn): Likewise.
423 2004-11-25 Richard Henderson <rth@redhat.com>
426 * reload1.c (set_initial_eh_label_offset): New.
427 (set_initial_label_offsets): Use it.
429 2004-11-25 Kaz Kojima <kkojima@gcc.gnu.org>
431 * config/sh/sh.c (sh_output_mi_thunk): Initialize bitmap obstacks
432 before calling life_analysis and release them after.
434 2004-11-25 Kazu Hirata <kazu@cs.umass.edu>
436 * tree-ssa-forwprop.c (substitute_single_use_vars): Remove
439 2004-11-25 Andrew Pinski <pinskia@physics.uc.edu>
441 * bitmap.h (BITMAP_XMALLOC): Use BITMAP_ALLOC and not
442 BITMAP_OBSTACK_ALLOC.
443 (BITMAP_XFREE): Use BITMAP_FREE and not BITMAP_OBSTACK_FREE.
445 2004-11-25 Andrew Pinski <pinskia@physics.uc.edu>
447 parts of PR rtl-opt/18463, rtl-opt/17647
448 * cse.c (canon_for_address): New function.
449 (find_best_addr): Call canon_for_address before getting the
450 address's cost when checking if we should take that address.
452 2004-11-25 Kazu Hirata <kazu@cs.umass.edu>
454 * tree-phinodes.c (add_phi_arg): Take "tree" instead of
455 "tree *" as the first argument.
456 * tree-flow.h: Update the prototype of add_phi_arg.
457 * lambda-code.c, tree-cfg.c, tree-into-ssa.c,
458 tree-ssa-loop-ivopts.c, tree-ssa-loop-manip.c, tree-ssa-pre.c,
459 tree-ssa-threadupdate.c, tree-ssa.c, tree-tailcall.c,
460 tree-vectorizer.c: Update all call sites of add_phi_arg.
462 2004-11-25 Nathan Sidwell <nathan@codesourcery.com>
464 * bitmap.c (bitmap_malloc_alloc, bitmap_malloc_free): Remove.
465 * bitmap.h (bitmap_malloc_alloc, bitmap_malloc_free): Remove.
466 (BITMAP_XMALLOC): Forward to BITMAP_OBSTACK_ALLOC.
467 (BITMAP_XFREE): Forward to BITMAP_OBSTACK_FREE.
469 2004-11-25 Andrew MacLeod <amacleod@redhat.com>
471 PR tree-optimization/18587
472 * tree-flow-inline.h (mark_call_clobbered, mark_non_addressable): Flag
473 call clobbered caches as invalid.
474 * tree-ssa-operands.c (ssa_call_clobbered_cache_valid): New. Flag
475 indicating whether the call clobbered operand cache is valid.
476 (ssa_ro_call_cache_valid): New. Flag indicating whether the
477 pure/const call operand cache is valid.
478 (clobbered_v_may_defs, clobbered_vuses, ro_call_vuses): New. Cached
479 list of operands for cached call virtual operands.
480 (clobbered_aliased_loads, clobbered_aliased_stores,
481 ro_call_aliased_load): New. flags caching whether alias bits are
482 to be set in call stmt's.
483 (fini_ssa_operands): Remove call operand caches if present.
484 (get_expr_operands, get_asm_expr_operands,
485 get_indirect_ref_operands): Pass stmt annotation to add_stmt_operand.
486 (get_call_expr_operands): Add call clobbered variables first.
487 (add_stmt_operand): Take stmt annotation rather than stmt as a param.
488 (add_call_clobber_ops, add_call_read_ops): Use the call operand cache
489 if it is valid, otherise fill the cache.
490 * tree-ssa-operands.h (ssa_clobbered_cache_valid): Declare extern.
491 * tree-flow.h (struct var_ann_d): Add in_vuse_list and
492 in_v_may_def_list bits.
493 * tree-ssa-operands.c (cleanup_v_may_defs): New. Clear the
494 in_list bits for the v_may_def elements and empty the operand
496 (finalize_ssa_vuses): Use cleanup_v_may_defs and remove redundant
497 VUSES by checking the in_v_may_def_list bit.
498 (append_v_may_def, append_vuse): Use the in_list bit rather than
499 scanning the array for duplicates.
501 2004-11-25 Ulrich Weigand <uweigand@de.ibm.com>
503 * config/s390/s390.c (s390_short_displacement): UNSPEC_GOTNTPOFF
504 displacements are not short.
506 2004-11-25 Ulrich Weigand <uweigand@de.ibm.com>
508 * config/s390/s390.c (legitimize_pic_address): Use s390_load_address
511 2004-11-25 Mark Mitchell <mark@codesourcery.com>
514 * c-common.h (lvalue_use): Move here from c-ctypeck.c.
515 (lvalue_or_else): Declare.
516 * c-common.c (lvalue_or_else): Move here from c-typeck.c.
517 * c-typeck.c (lvalue_use): Remove.
518 (lvalue_or_else): Remove.
521 * toplev.c (check_global_declarations): Set DECL_IGNORED_P on
522 unemitted variables with static storage duration.
524 2004-11-25 Gerald Pfeifer <gerald@pfeifer.com>
526 * tree-cfg.c (tree_verify_flow_info): Do not terminate error()
529 2004-11-25 Nathan Sidwell <nathan@codesourcery.com>
531 * config/rs6000/altivec.md (VIshort): New mode macro.
532 (altivec_vaddubs, altivec_vadduhs, altivec_vadduws): Replace
534 (altivec_vaddu<VI_char>s): ... this.
535 (altivec_vaddsbs, altivec_vaddshs, altivec_vaddsws): Replace
537 (altivec_vadds<VI_char>s): ... this.
538 (altivec_vsububs, altivec_vsubuhs, altivec_vsubuws): Replace
540 (altivec_vsubu<VI_char>s): ... this.
541 (altivec_vsubsbs, altivec_vsubshs, altivec_vsubsws): Replace
543 (altivec_vsubs<VI_char>s): ... this.
544 (altivec_vavgub, altivec_vavguh, altivec_vavguw): Replace
546 (altivec_vavgu<VI_char>): ... this.
547 (altivec_vavgsb, altivec_vavgsh, altivec_vavgsw): Replace
549 (altivec_vavgs<VI_char>): ... this.
550 (altivec_vmsumubm, altivec_vmsumuhm): Replace with ...
551 (altivec_vmsumu<VI_char>m): ... this.
552 (altivec_vmsummbm, altivec_vmsummhm): Replace
554 (altivec_vmsumm<VI_char>m): ... this.
555 (altivec_vandc): Remove.
556 (*andc<mode>3): Renamed to ...
557 (andc<mode>3): ... here. Swap operand 1 and 2 numbering.
558 (altivec_vrlb, altivec_vrlh, altivec_vrlw): Replace
560 (altivec_vrl<VI_char>): ... this.
561 (altivec_vslb, altivec_vslh, altivec_vslw): Replace
563 (altivec_vsl<VI_char>): ... this.
564 (altivec_vsrb, altivec_vsrh, altivec_vsrw): Replace
566 (altivec_vsr<VI_char>): ... this.
567 (altivec_vsrab, altivec_vsrah, altivec_vsraw): Replace
569 (altivec_vsra<VI_char>): ... this.
570 (altivec_vsum4sbs, altivec_vsum4shs): Replace with ...
571 (altivec_vsum4s<VI_char>s): ... this.
572 (altivec_vperm_4si, altivec_vperm_8hi, altivec_vperm_16qi): Replace
574 (altivec_vperm_<mode>): ... this.
575 (altivec_vsel_4sf): Rename to ...
576 (altivec_vsel_v4sf): ... here.
577 (altivec_vsel_4si, altivec_vsel_8hi, altivec_vsel_16qi): Replace
579 (altivec_vsel_<mode>): ... this.
580 (altivec_vsldoi_4si, altivec_vsldoi_8hi,
581 altivec_vsldoi_16qi): Rename to ...
582 (altivec_vsldoi_v4si, altivec_vsldoi_v8hi,
583 altivec_vsldoi_v16qi): ... here.
584 (altivec_vsldoi_4sf): Rename to ...
585 (altivec_vsldoi_v4sf): ... here.
586 (altivec_predicate_v4si, altivec_predicate_v8hi,
587 altivec_predicate_v16qi): Replace with ...
588 (altivec_predicate_<mode>): ... this.
589 (altivec_lvebx, altivec_lvehx, altivec_lvewx): Replace
591 (altivec_lve<VI_char>x): ... this.
592 (altivec_stvebx, altivec_stvehx, altivec_stvewx): Replace
594 (altivec_stve<VI_char>x): ... this.
595 (absv16qi2, absv8hi2, absv4si2): Replace
597 (abs<mode>2): ... this.
598 (altivec_abss_v16qi, altivec_abss_v8hi, altivec_abss_v4si): Replace
600 (altivec_abss_<mode>): ... this.
601 (vec_realign_load_v16qi, vec_realign_load_v8hi,
602 vec_realign_load_v4si): Replace with ...
603 (vec_realign_load_<mode>): ... this.
604 * config/rs6000/rs6000.c (bdesc_3arg, bdesc_2arg): Update tweaked
606 (rs6000_expand_ternop_builtin): Likewise.
608 2004-11-25 Andrew Haley <aph@redhat.com>
610 * gcc.c (process_command): Don't supply -v to linker.
612 2004-11-25 Joseph S. Myers <joseph@codesourcery.com>
614 * config/rs6000/darwin.h (SUBTARGET_OVERRIDE_OPTIONS): Use %qs
615 instead of `%s' in diagnostic.
617 2004-11-25 Nathan Sidwell <nathan@codesourcery.com>
619 * basic-block.h (OBSTACK_ALLOC_REG_SET): Adjust.
620 (FREE_REG_SET): Adjust.
621 * bitmap.c (bitmap_obstack_free): Cope with NULL bitmap.
622 * bitmap.h (BITMAP_OBSTACK_ALLOC): Rename to ...
623 (BITMAP_ALLOC): ... here.
624 (BITMAP_OBSTACK_FREE): Rename to ...
625 (BITMAP_FREE): Don't check for NULL bitmap here.
626 * tree-ssa-pre.c (value_insert_into_set_bitmap,
627 bitmap_set_new): Use new names.
629 * bt-load.c (migrate_btr_defs): Remove unneeded NULL check.
630 * df.c (df_free): Likewise.
631 * ra-build.c (ra_build_free, ra_build_free_all): Likewise.
632 * tree-ssa-loop-ivopts.c (set_use_iv_cost): Likewise.
634 * basic-block.h (OBSTACK_ALLOC_REG_SET): Rename to ...
635 (ALLOC_REG_SET): ... here.
636 (FREE_REG_SET): Adjust.
637 (XMALLOC_REG_SET, XFREE_REG_SET): Remove.
638 * bb-reorder.c (fix_crossing_conditional_branches): Adjust.
639 * cfglayout.c (cfg_layout_duplicate_bb): Adjust.
640 * cfgrtl.c (rtl_split_block, rtl_split_edge,
641 safe_insert_insn_on_edge, cfg_layout_split_edge): Adjust.
642 * flow.c (update_life_info, calculate_global_regs_live,
643 allocate_bb_life_data, init_propagate_block_info): Adjust.
644 * global.c (build_insn_chain): Adjust.
645 * ifcvt.c (dead_or_predicable): Adjust.
646 * loop-iv.c (simplify_using_initial_values): Adjust.
647 * recog.c (peephole2_optimize): Adjust.
648 * sched-deps.c (init_deps_global): Adjust.
650 2004-11-25 Ralf Corsepius <ralf.corsepius@rtems.org>
652 * config.gcc (avr-*-rtems*): Fix typo.
654 2004-11-25 J"orn Rennecke <joern.rennecke@st.com>
656 * sh.c (sh_output_mi_thunk): Do not call regset_release_memory.
658 2004-11-24 Jeff Law <law@redhat.com>
660 * tree-ssa-alias.c (compute_flow_insensitive_aliasing): Reduce
661 the number of queries to random elements in the ai->written_vars
664 2004-11-24 Roger Sayle <roger@eyesopen.com>
666 * config/i386/i386.c (override_options): Disable x87 fancy math
667 intrinsics if -mfpmath= doesn't include 387 (default on x86_64).
669 2004-11-24 Roger Sayle <roger@eyesopen.com>
671 * configure.ac: Tweak test for HAVE_DECL_LDGETNAME to avoid a
672 system header conflict on AIX 5.2.
673 * configure: Regenerate.
675 2004-11-24 Kazu Hirata <kazu@cs.umass.edu>
677 * tree-outof-ssa.c (coalesce_abnormal_edges): Use e->dest_idx
678 instead of calling phi_arg_from_edge.
680 * tree-phinodes.c (remove_phi_args): Replace phi_arg_from_edge
683 2004-11-24 Ben Elliston <bje@au.ibm.com>
685 * config/i386/i386.h (ASM_OUTPUT_DWARF_ADDR_CONST): Remove.
686 * config/i386/i386.c (i386_dwarf_output_addr_const): Likewise.
687 * config/i386/i386-protos.h (i386_dwarf_output_addr_const):
690 2004-11-24 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
692 * tree-sra.c (sra_walk_modify_expr): Handle RHS first, then LHS.
694 * tree-inline.c (copy_body_r): Explicitly copy a constant if the
695 type will be remapped.
697 2004-11-24 Steven Bosscher <stevenb@suse.de>
699 * c-opts.c (c_common_post_options): Don't clear
700 flag_inline_functions.
701 * dojump.c (clear_pending_stack_adjust): Remove check on
702 flag_inline_functions, it's always true.
703 * config/alpha/alpha.md (movdi_er_maybe_g): Remove splitter
704 that can never trigger.
705 * config/c4x/c4x.h (TARGET_CPU_CPP_BUILTINS): Don't look at
706 flag_inline_trees, now that flag_inline_functions is never
708 * config/pdp11/pdp11.h (OPTIMIZATION_OPTIONS): Don't set
709 flag_inline_functions at optimization levels greater than
710 or equal to 3. This is already done by default.
712 2004-11-24 Kazu Hirata <kazu@cs.umass.edu>
714 * tree-outof-ssa.c (eliminate_build): Use g->e->dest_idx
715 instead to find the PHI argument. Do not take I as an
717 (eliminate_phi): Adjust the call to eliminate_build. Do not
718 take I as an argument.
719 (rewrite_trees): Adjust the call to eliminate_phi.
721 2004-11-24 Richard Sandiford <rsandifo@redhat.com>
723 * optabs.h (force_expand_binop): Declare.
724 * optabs.c (force_expand_binop): Export.
725 * stmt.c (shift_return_value): Delete.
726 (expand_return): Don't call it.
727 * expr.h (shift_return_value): Declare.
728 * calls.c (shift_returned_value): Delete in favor of...
729 (shift_return_value): ...this new function. Leave the caller to check
730 for non-BLKmode values passed in the msb of a register. Take said mode
731 and a shift direction as argument. Operate on the hard function value,
733 (expand_call): Adjust accordingly.
734 * function.c (expand_function_start): If a non-BLKmode return value
735 is padded at the last significant end of the return register, use the
736 return value's natural mode for the DECL_RESULT, not the mode of the
738 (expand_function_end): Shift the same sort of return values left by
739 the appropriate amount.
741 2004-11-24 Matt Austern <austern@apple.com>
743 * recog.c (recog_memoized_1): Remove.
744 * recog.h (recog_memoized_1): Remove declaration.
745 (recog_memoized): Change from macro to inline function.
747 2004-11-24 Devang Patel <dpatel@apple.com>
750 * gcc.h (DEFAULT_WORD_SWITCH_TAKES_ARG): Add isysroot.
751 * config/darwin-c.c (darwin_register_frameworks): Use sysroot.
753 2004-11-24 Devang Patel <dpatel@apple.com>
755 * gcc.c (process_command): Supply -v to linker.
757 2004-11-24 David Edelsohn <edelsohn@gnu.org>
758 Paolo Bonzini <bonzini@gnu.org>
760 * config/rs6000/rs6000.c (rs6000_return_in_memory): Allow Altivec
761 vector modes without ALTIVEC_ABI. Use GCC vector instead of
763 (rs6000_pass_by_reference): Split conditional into pieces. Use
764 GCC vector instead of synthetic vector.
766 2004-11-24 Aldy Hernandez <aldyh@redhat.com>
768 * tree.c (recompute_tree_invarant_for_addr_expr): The address of a
769 thread-local variable is invariant.
771 2004-11-24 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
773 * tree-pretty-print.c (dump_generic_node, case POINTER_TYPE):
774 Handle TYPE_REF_CAN_ALIAS_ALL.
775 (print_declaration): Print array dimensions like dump_generic_node.
777 * fold-const.c (operand_equal_p): Remove kludge allowing ARG0 and
778 ARG1 to be null; instead define OP_SAME and OP_SAME_NULL and use them.
780 2004-11-24 Nathan Sidwell <nathan@codesourcery.com>
782 * bitmap.c (INLINE): Do not define.
783 (bitmap_elem_to_freelist, bitmap_element_free,
784 bitmap_element_allocate, bitmap_clear, bitmap_element_zerop,
785 bitmap_element_link, bitmap_find_bit): Use inline keyword/macro.
787 2004-11-24 Kazu Hirata <kazu@cs.umass.edu>
789 * tree-ssa-dom.c (cprop_into_successor_phis): Remove code to
790 find the index of a PHI argument. Use e->dest_idx instead.
791 Replace hint with index.
793 * tree-ssa-dom.c (cprop_into_successor_phis): Replace index
796 2004-11-24 Diego Novillo <dnovillo@redhat.com>
798 * tree-ssa-alias.c (merge_pointed_to_info): Fix comment
801 2004-11-24 Joseph Myers <joseph@codesourcery.com>
803 * config/i386/i386.c (optimization_options): Use
804 SUBTARGET_OPTIMIZATION_OPTIONS.
805 * config/i386/sol2-10.h (SUBTARGET_OPTIMIZATION_OPTIONS): Define.
806 (TARGET_SUBTARGET_DEFAULT): Don't include
807 MASK_OMIT_LEAF_FRAME_POINTER.
809 2004-11-24 Mark Mitchell <mark@codesourcery.com>
811 * config/i386/sol2.h (X86_FILE_START_VERSION_DIRECTIVE):
814 2004-11-24 Joseph Myers <joseph@codesourcery.com>
816 * config/i386/t-sol2-10 (MULTILIB_DIRNAMES, MULTILIB_OSDIRNAMES):
817 Use amd64 instead of 64.
819 2004-11-24 Mark Mitchell <mark@codesourcery.com>
820 Joseph Myers <joseph@codesourcery.com>
822 * crtstuff.c (IN_LIBGCC2): Define it.
823 (EH_FRAME_SECTION_CONST): Check EH_TABLES_CAN_BE_READ_ONLY
824 instead of HAVE_LD_RO_RW_SECTION_MIXING.
825 * defaults.h (EH_TABLES_CAN_BE_READ_ONLY): New macro.
826 * dwarf2out.c (named_section_eh_frame_section): Check
827 EH_TABLES_CAN_BE_READ_ONLY.
828 * except.c (default_exception_section): Likewise.
829 * config/i386/sol2.h (EH_TABLES_CAN_BE_READ_ONLY): Define.
830 * doc/tm.texi (EH_TABLES_CAN_BE_READ_ONLY): Document.
832 2004-11-24 Kazu Hirata <kazu@cs.umass.edu>
834 * tree-ssa-pre.c (phi_translate): Use find_edge to find the
835 index of a PHI argument.
837 * tree-ssa-loop-manip.c (lv_adjust_loop_header_phi): Use
838 find_edge to find the index of a PHI argument.
840 2004-11-24 Steven Bosscher <stevenb@suse.de>
842 * expr.c (expand_expr_real_1): Remove cases for EXIT_BLOCK_EXPR
843 and LABELED_BLOCK_EXPR.
844 * gimplify.c (gimplify_labeled_block_expr): Remove.
845 (gimplify_exit_block_expr): Remove.
846 (gimplify_expr): Don't call them.
847 * tree-inline.c (copy_body_r): Don't handle EXIT_BLOCK_EXPR
848 and LABELED_BLOCK_EXPR.
849 (estimate_num_insns_1): Likewise.
850 (walk_tree): Likewise.
851 * tree-pretty-print.c (dump_generic_node): Don't handle
852 EXIT_BLOCK_EXPR and LABELED_BLOCK_EXPR.
853 * tree.def (EXIT_BLOCK_EXPR): Moved to java-tree.def.
854 (LABELED_BLOCK_EXPR): Likewise.
855 * tree.h (LABELED_BLOCK_LABEL): Moved to java-tree.h.
856 (LABELED_BLOCK_BODY): Likewise.
857 (EXIT_BLOCK_LABELED_BLOCK): Likewise.
858 (EXIT_BLOCK_RETURN): Removed.
860 2004-11-24 Steven Bosscher <stevenb@suse.de>
862 * cfgrtl.c (rtl_delete_block): Fix comment.
863 * emit-rtl.c (remove_unnecessary_notes): Die if we see BLOCK_BEG
864 or BLOCK_END insn notes.
865 * jump.c (squeeze_notes): Likewise.
866 * haifa-sched.c (reemit_notes): Don't "re-emit" EH_REGION_BEG and
867 EH_REGION_END notes, we never have them to begin with.
868 * sched-deps.c (sched_analyze_insn): When updating loop notes,
869 verify that we have indeed only recorded loop notes.
870 (sched_analyze): Die if we see EH_REGION_BEG or EH_REGION_END notes.
871 Only record loop notes.
873 * cfgexpand.c (tree_expand_cfg): Fix comment.
875 * passes.c (rest_of_compilation): Don't do a second call to
876 convert_from_eh_region_ranges from here, it's already called
878 * except.c (resolve_fixup_regions): Remove.
879 (remove_fixup_regions): Remove.
880 (convert_from_eh_region_ranges_1): Remove.
881 (convert_from_eh_region_ranges): Remove the case where EH is
882 not already lowered at the tree level. We always lower there.
884 2004-11-24 Paolo Bonzini <bonzini@gnu.org>
887 * tree.c (make_vector_type): Move qualifiers to the vector type,
888 use the inner type's main variant and build a main variant for
889 the vector type if necessary.
890 (type_hash_eq): Check a vector type's TYPE_VECTOR_SUBPARTS.
892 2004-11-24 Eric Botcazou <ebotcazou@libertysurf.fr>
894 * target.h (late_rtl_prologue_epilogue): Remove.
895 * target-def.h (TARGET_LATE_RTL_PROLOGUE_EPILOGUE): Remove.
896 * system.h: Poison TARGET_LATE_RTL_PROLOGUE_EPILOGUE.
897 * passes.c (rest_of_handle_prologue_epilogue): Remove and move
899 (rest_of_handle_flow2): ...here.
900 (rest_of_compilation): Remove call to rest_of_handle_prologue_epilogue.
901 * doc/tm.texi (TARGET_LATE_RTL_PROLOGUE_EPILOGUE): Remove.
903 2004-11-23 Mark Mitchell <mark@codesourcery.com>
905 * hwint.h (HOST_LONG_LONG_FORMAT): New macro. Use it throughout.
906 * config/i386/xm-mingw32.h (HOST_LONG_LONG_FORMAT): Define.
907 * doc/hostconfig.texi (HOST_LONG_LONG_FORMAT): Document.
909 2004-11-24 Daniel Jacobowitz <dan@codesourcery.com>
911 * config/i386/i386.c (override_options): Move
912 SUBTARGET_OVERRIDE_OPTIONS before defaulting
913 flag_omit_frame_pointer.
915 2004-11-23 Richard Henderson <rth@redhat.com>
917 * rtl.h (validate_subreg): Declare.
918 * emit-rtl.c (validate_subreg): New.
919 (gen_rtx_SUBREG): Use it.
920 * simplify-rtx.c (simplify_subreg): Likewise.
921 (simplify_gen_subreg): Likewise. Remove duplicate asserts.
922 * expr.c (emit_move_insn_1): Tidy complex move code. Use memory
923 fallback whenever gen_realpart/gen_imagpart would not be able to
926 2004-11-23 Richard Henderson <rth@redhat.com>
928 * expmed.c (extract_bit_field): Use simplify_gen_subreg instead of
929 hard-coding avoiding calls to gen_rtx_SUBREG. Split complex return
932 2004-11-23 Diego Novillo <dnovillo@redhat.com>
934 PR tree-optimization/18618
935 * tree-into-ssa.c (DEF_VEC_MALLOC_P(basic_block)): Declare.
936 (insert_phi_nodes_for): Change third argument to VEC(basic_block).
937 * tree-ssa-dom.c (avail_exprs_stack): Change type to VEC(tree_on_heap).
939 (stmts_to_rescan): Likewise.
940 (const_and_copies_stack): Likewise.
941 (nonzero_vars_stack): Likewise.
942 (vrp_variables_stack): Likewise.
944 2004-11-23 Richard Henderson <rth@redhat.com>
946 * cse.c (record_jump_cond_subreg): New.
947 (record_jump_cond): Use it instead of gen_lowpart.
949 2004-11-23 Daniel Jacobowitz <dan@codesourcery.com>
950 Joseph Myers <joseph@codesourcery.com>
952 * config/sol2-c.c (solaris_register_pragmas): Use
953 c_register_pragma_with_expansion.
954 * config/sol2.h (HANDLE_PRAGMA_PACK_WITH_EXPANSION): Define.
955 * c-pragma.c (c_register_pragma): Update call to
957 (c_register_pragma_with_expansion): New function.
958 (init_pragma): Honor HANDLE_PRAGMA_PACK_WITH_EXPANSION.
959 * c-pragma.h (c_register_pragma_with_expansion): New prototype.
960 * doc/extend.texi (Solaris Pragmas): Mention macro expansion for
962 * doc/tm.texi (c_register_pragma_with_expansion,
963 HANDLE_PRAGMA_PACK_WITH_EXPANSION): Document.
965 2004-11-23 Richard Henderson <rth@redhat.com>
967 * combine.c (gen_lowpart_for_combine): Factor out mode of x as well
968 as mode sizes into local temporaries. Unify failure path.
970 2004-11-23 Richard Henderson <rth@redhat.com>
972 * emit-rtl.c, rtl.h (subreg_hard_regno): Remove.
973 * caller-save.c (mark_set_regs): Use subreg_regno instead.
974 * final.c (alter_subreg): Likewise.
975 * local-alloc.c (reg_is_born): Likewise.
977 2004-11-23 Richard Henderson <rth@redhat.com>
979 * simplify-rtx.c (simplify_subreg): Use subreg_regno_offset directly
980 instead of using a SUBREG temporary.
982 2004-11-23 Kazu Hirata <kazu@cs.umass.edu>
984 * tree-cfg.c (tree_forwarder_block_p): Speed up by reordering
987 2004-11-23 Zack Weinberg <zack@codesourcery.com>
989 * function.h (struct function): Remove calls_longjmp.
990 (current_function_calls_longjmp): Delete.
991 * tree.h (ECF_LONGJMP): Delete.
992 (ECF_SIBCALL, ECF_PURE, ECF_SP_DEPRESSED, ECF_ALWAYS_RETURN)
993 (ECF_LIBCALL_BLOCK): Everybody slide down one.
994 (ECF_CONST, ECF_NORETURN, ECF_SIBCALL): Clarify comments.
995 * builtins.c (expand_builtin_longjmp): Don't set
996 current_function_calls_longjmp.
997 * calls.c (special_function_p): Mark longjmp and siglongjmp
998 with ECF_NORETURN, not ECF_LONGJMP.
999 (emit_call_1, expand_call, emit_library_call_value_1):
1000 Don't check for ECF_LONGJMP.
1001 * tree-cfg.c (make_exit_edges, is_ctrl_altering_stmt)
1002 (need_fake_edge_p): Likewise.
1004 * config/avr/avr.h, config/ip2k/ip2k.h: Don't define NON_SAVING_SETJMP.
1005 * system.h: Poison NON_SAVING_SETJMP.
1006 * function.c (use_register_for_decl)
1007 * gcse.c (compute_hash_table_work, compute_store_table)
1008 * postreload-gcse.c (record_opr_changes)
1009 * reload.c (find_equiv_reg)
1010 * reload1.c (reload)
1011 * config/i386/i386.c (ix86_can_use_return_insn_p):
1012 Remove code conditional on NON_SAVING_SETJMP.
1013 * doc/tm.texi: Delete documentation of NON_SAVING_SETJMP.
1015 * config/i386/sysv3.h: Delete file.
1016 * config/i386/i386.c (ix86_svr3_asm_out_constructor): Delete.
1018 2004-11-23 Dorit Naishlos <dorit@il.ibm.com>
1020 * tree-vectorizer.c (vect_analyze_operations): Don't vectorize if
1021 the vectorization factor is greater than the iteration count.
1022 (vect_gen_niters_for_prolog_loop): No need to calculate min if the
1023 iteration count is known.
1025 (vect_build_symbol_bound): Removed. Its functionality moved to
1026 vect_generate_tmps_on_preheader.
1027 (vect_generate_tmps_on_preheader): Moved content of
1028 vect_build_symbol_bound here instead of calling it. Changed some
1031 (vect_build_loop_niters): We don't expect a new_bb to be generated -
1033 (vect_gen_niters_for_prolog_loop): Likewise.
1034 (vect_gen_niters_for_prolog_loo): Likewise.
1036 (slpeel_make_loop_iterate_ntimes): Use buildN instead of build.
1037 (slpeel_add_loop_guard): Likewise.
1038 (slpeel_tree_peel_loop_to_edge): Likewise.
1039 (vect_do_peeling_for_alignment): Likewise.
1041 (vect_get_first_index): Missing space.
1043 2004-11-23 Ulrich Weigand <uweigand@de.ibm.com>
1045 * config/s390/s390.md ("*iordi3"): Mark commutative.
1046 ("*iorsi3_zarch", "*iorsi3_esa"): Likewise.
1048 2004-11-23 Kazu Hirata <kazu@cs.umass.edu>
1050 * tree-phinode.c (resize_phi_node): Abort when LEN is strictly
1051 greater than PHI_ARG_CAPACITY.
1052 (reserve_phi_args_for_new_edge): Initialize the new PHI
1053 argument to NULL_TREE. Increment PHI_NUM_ARGS.
1054 (add_phi_arg): Add a PHI argument to the slot given by
1056 (remove_phi_arg_num): Do not write to PHI_ARG_EDGE.
1057 * tree-flow-inline (phi_arg_from_edge): Return E->dest_idx.
1058 * tree-ssa.c (ssa_redirect_edge): Check for a missing PHI
1059 argument by looking at PHI_ARG_DEF.
1060 (verify_phi_args): Check for a missing PHI argument. Remove
1061 the check for duplicate PHI arguments.
1062 * tree.h (PHI_ARG_EDGE): Redefine in terms of EDGE_PRED.
1063 (phi_arg_d): Remove e.
1065 * tree-cfg.c (tree_try_redirect_by_replacing_jump): Speed up
1066 by restricting to the case with two outgoing edges.
1068 2004-11-23 Andreas Krebbel <krebbel1@de.ibm.com>
1070 * config/s390/s390.c (s390_backchain_string): Removed.
1071 (s390_return_addr_rtx, s390_back_chain_rtx, s390_frame_info)
1072 (s390_emit_prologue, s390_va_start, s390_gimplify_va_arg):
1073 Changed users of TARGET_BACKCHAIN, TARGET_NO_BACKCHAIN and
1074 TARGET_KERNEL_BACKCHAIN to reflect the new options.
1075 * config/s390/s390.h (MASK_BACKCHAIN, MASK_PACKED_STACK): New macros.
1076 (TARGET_KERNEL_BACKCHAIN): Removed.
1077 (TARGET_BACKCHAIN): Former triple state option change to a target flag.
1078 (TARGET_PACKED_STACK): New macro.
1079 (TARGET_SWITCHES): New switches added.
1080 (TARGET_OPTIONS): "backchain", "no-backchain" and "kernel-backchain"
1082 (DYNAMIC_CHAIN_ADDRESS): Use TARGET_PACKED_STACK.
1083 * config/s390/s390.md ("allocate_stack", "restore_stack_block")
1084 ("save_stack_nonlocal", "restore_stack_nonlocal"): Modified to reflect
1085 the change in target switch semantics.
1086 * config/s390/tpf.h (TARGET_DEFAULT_BACKCHAIN): Removed.
1087 (TARGET_DEFAULT): MASK_BACKCHAIN added.
1088 * doc/invoke.texi: Added documentation for the new/changed options.
1090 2004-11-23 Uros Bizjak <uros@kss-loka.si>
1092 PR rtl-optimization/18614
1093 * simplify-rtx.c (simplify_binary_operation): Do not
1094 simplify inner elements of constant arguments of
1097 2004-11-23 Eric Botcazou <ebotcazou@libertysurf.fr>
1099 * gthr-solaris.h (__gthread_recursive_mutex_init_function): Use
1102 2004-11-23 Kazu Hirata <kazu@cs.umass.edu>
1104 * tree-phinode.c (make_phi_node): Use a new variable,
1105 capacity, to receive the return value of ideal_phi_node_len.
1107 2004-11-23 Eric Botcazou <ebotcazou@libertysurf.fr>
1109 * gthr-solaris.h (__gthread_recursive_mutex_t): New type.
1110 (__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION): Define to
1111 __gthread_recursive_mutex_init_function.
1112 (__gthread_key_create): Properly cast -1.
1113 (__gthread_recursive_mutex_init_function): New function.
1114 (__gthread_recursive_mutex_lock): Rewrite.
1115 (__gthread_recursive_mutex_trylock): Likewise.
1116 (__gthread_recursive_mutex_unlock): Likewise.
1118 2004-11-23 Ralf Corsepius <ralf.corsepius@rtems.org>
1120 * config/c4x/t-rtems: New.
1121 * config.gcc: Reflect having added c4x/t-rtems.
1123 2004-11-23 Dorit Naishlos <dorit@il.ibm.com>
1127 * tree-vectorizer.c (vect_create_data_ref_ptr): Use
1128 lang_hooks.types.type_for_size instead of integer_type_node for the
1131 2004-11-23 Ralf Corsepius <ralf.corsepius@rtems.org>
1133 * config.gcc (h8300-*-rtems*): Use h8300/t-rtems.
1135 2004-11-23 Ralf Corsepius <ralf.corsepius@rtems.org>
1137 * config/arm/t-rtems: New.
1138 * config.gcc: Reflect having added arm/t-rtems.
1140 2004-11-23 Kazu Hirata <kazu@cs.umass.edu>
1142 * tree-cfg.c (tree_execute_on_growing_pred): New.
1143 (tree_cfg_hooks): Add tree_execute_on_growing_pred.
1144 * tree-flow.h: Add a prototype for
1145 reserve_phi_args_for_new_edge.
1146 * tree-phinodes.c (reserve_phi_args_for_new_edge): New.
1147 (add_phi_arg): Don't resize a PHI array.
1149 2004-11-23 Ralf Corsepius <ralf.corsepius@rtems.org>
1151 * config.gcc: Add avr-*-rtems*.
1152 * config/avr/t-rtems: New.
1153 * config/avr/rtems.h: New.
1155 2004-11-22 Daniel Berlin <dberlin@dberlin.org>
1157 * df.c (dataflow_set_a_op_b): Remove reslt parameter, since it's
1158 always the same as op1. Use bitmap_ior_into and bitmap_and_into.
1159 Add comment to function.
1161 2004-11-22 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
1164 * config/host-linux.c (TRY_EMPTY_VM_SPACE): Define for __hppa__.
1166 PR rtl-optimization/14838
1167 * emit-rtl.c (get_first_nonnote_insn): Don't assume first insn is a
1169 (get_last_nonnote_insn): Don't assume last insn is a note.
1171 2004-11-22 Roger Sayle <roger@eyesopen.com>
1173 * fold-const.c (nondestructive_fold_binary_to_constant): Rename
1174 to fold_binary_to_constant.
1175 (nondestructive_fold_unary_to_constant): Likewise, rename to
1176 fold_unary_to_constant.
1177 (fold_relational_hi_lo): Update call to fold_binary_to_constant.
1178 * tree.h (nondestructive_fold_binary_to_constant): Update prototype.
1179 (nondestructive_fold_unary_to_constant): Likewise.
1180 * tree-ssa-ccp.c (ccp_fold): Update calls to fold_unary_to_constant
1181 and fold_binary_to_constant.
1182 * tree-ssa-loop-niter.c (EXEC_BINARY, EXEC_UNARY): Delete macros.
1183 (inverse, number_of_iterations_cond): Replace uses of EXEC_BINARY
1184 and EXEC_UNARY with calls to fold_*nary_to_constant.
1185 * tree-ssa-loop-ivopts.c (EXEC_BINARY, EXEC_UNARY): Delete macros.
1186 (idx_find_step): Replace uses of EXEC_BINARY with calls to
1187 fold_binary_to_constant.
1189 2004-11-22 Nick Clifton <nickc@redhat.com>
1191 * sbitmap.c (sbitmap_union_of_preds): Remove redundant
1192 initialisation of 'e'.
1194 2004-11-22 Roger Sayle <roger@eyesopen.com>
1196 * config/i386/i386.h (TARGET_USE_FANCY_MATH_387): New macro.
1197 * config/i386/i386.c (override_options): Set MASK_NO_FANCY_MATH_387
1198 automatically for targets without TARGET_80387.
1199 * config/i386/i386.md (sqrtsf2, sqrtsf2_1, sqrtsf2_i387, sqrtdf2,
1200 sqrtdf2_1, sqrtdf2_i387, *sqrtextendsfdf2, sqrtxf2,
1201 *sqrtextenddfxf2, *sqrtextendsfxf2, fpremxf4, fmodsf3, fmoddf3,
1202 fmodxf3, fprem1xf4, dremsf3, dremdf3, dremxf3, *sindf2, *sinsf2,
1203 *sinextendsfdf2, *sinxf2, *cosdf2, *cossf2, *cosextendsfdf2,
1204 *cosxf2, sincosdf3, sincossf3, *sincosextendsfdf3, sincosxf3,
1205 *tandf3_1, tandf2, *tansf3_1, tansf2, *tanxf3_1, tanxf2,
1206 atan2df3_1, atan2df3, atandf2, atan2sf3_1, atan2sf3, atansf2,
1207 atan2xf3_1, atan2xf3, atanxf2, asindf2, asinsf2, asinxf2,
1208 acosdf2, acossf2, acosxf2, fyl2x_xf3, logsf2, logdf2, logxf2,
1209 log10sf2, log10df2, log10xf2, log2sf2, log2df2, log2xf2,
1210 fyl2xp1_xf3, log1psf2, log1pdf2, log1pxf2, *fxtractxf3, logbsf2,
1211 logbdf2, logbxf2, ilogbsi2, *f2xm1xf2, *fscalexf4, expsf2,
1212 expdf2, expxf2, exp10sf2, exp10df2, exp10xf2, exp2sf2, exp2df2,
1213 exp2xf2, expm1df2, expm1sf2, expm1xf2, frndintxf2, rintdf2,
1214 rintsf2, rintxf2, frndintxf2_floor, floordf2, floorsf2,
1215 floorxf2, frndintxf2_ceil, ceildf2, ceilsf2, ceilxf2,
1216 frndintxf2_trunc, btruncdf2, btruncsf2, btruncxf2,
1217 frndintxf2_mask_pm, nearbyintdf2, nearbyintsf2, nearbyintxf2):
1218 Simplify conditionals using TARGET_USE_FANCY_MATH_387.
1220 2004-11-22 Dale Johannesen <dalej@apple.com>
1222 * config/darwin.h (JUMP_TABLES_IN_TEXT_SECTION): Conditionalize
1223 properly and comment.
1225 2004-11-22 James A. Morrison <phython@gcc.gnu.org
1227 * config/sparc/sparc.c: Include insn-codes.h and langhooks.h.
1228 (sparc_init_builtins): New function.
1229 (sparc_init_vis_builtins): Create builtin functions for VIS
1231 (sparc_expand_builtin): Expand builtin functions for VIS instructions.
1232 (TARGET_INIT_BUILTINS): Define to sparc_init_builtins.
1233 (TARGET_EXPAND_BUILTIN): Define to sparc_expand_builtin.
1234 (def_builtin): New macro for creating builtin functions.
1235 (P): New mode macro for pointer types.
1236 (UNSPEC_FPACK16, UNSPEC_FPACK32, UNSPEC_FPACKFIX, UNSPEC_FEXPAND,
1237 UNSPEC_FPMERGE, UNSPEC_MUL16AL, UNSPEC_MUL8UL, UNSPEC_MULDUL,
1238 UNSPEC_ALIGNDATA, UNSPEC_ALIGNADDR, UNSPEC_PDIST): New constants.
1239 (fpack16_vis, fpackfix_vis, fpack32_vis, fexpand_vis, fpmerge_vis,
1240 fmul8x16_vis, fmul8x16au_vis, fmul8x16al_vis, fmul8sux16_vis,
1241 fmul8ulx16_vis, fmuld8sux16_vis, fmuld8ulx16_vis, pdist_vis,
1242 faligndata<V64:mode>_vis, alignaddr<P:mode>_vis): New patterns.
1244 2004-11-22 Devang Patel <dpatel@apple.com>
1246 * tree-if-conv.c (clean_predicate_lists): Clean all basic blocks.
1248 2004-11-22 Devang Patel <dpatel@apple.com>
1250 * tree-if-conv.c (if_convertable_phi_p): Rename to ...
1251 (if_convertible_phi_p): ... new name.
1252 (if_convertable_modify_expr_p): Rename to ...
1253 (if_convertible_modify_expr_p): ... new name.
1254 (if_convertable_stmt_p): Rename to ...
1255 (if_convertible_stmt_p): ... new name.
1256 (if_convertable_bb_p): Rename to ...
1257 (if_convertible_bb_p): ... new name.
1258 (if_convertable_loop_p): Rename to ...
1259 (if_convertible_loop_p): ... new name.
1261 2004-11-22 Eric Botcazou <ebotcazou@libertysurf.fr>
1264 * configure.ac (threading): Accept 'posix95'.
1265 * configure: Regenerate.
1266 * config.gcc (i[34567]86-*-solaris2*): On Solaris up to 2.6,
1267 include sol26.h and default to posix95 threads if have_pthread_h.
1268 (sparc-*-solaris2*): Likewise.
1269 * gthr.h: Include gthr-posix95.h if _PTHREADS95 is defined.
1270 * gthr-posix95.h: New file.
1271 * config/sol26.h: New file.
1272 * doc/install.texi (--enable-threads): Document 'posix95'.
1274 2004-11-23 Ben Elliston <bje@au.ibm.com>
1276 * pointer-set.h (pointer_set_contains): Remove.
1277 * pointer-set.c (pointer_set_contains): Likewise.
1279 2004-11-22 Dale Johannesen <dalej@apple.com>
1281 * calls.c (expand_call): Do not call preserve_temp_slots.
1283 2004-11-22 Kazu Hirata <kazu@cs.umass.edu>
1285 * tree-flow.h: Remove the prototype for remove_phi_arg.
1286 Add a prototype for remove_phi_args.
1287 * tree-phinodes.c (remove_phi_arg): Remove.
1288 (remove_phi_args): New.
1289 * tree-ssa.c (ssa_remove_edge): Call remove_phi_args instead
1292 * cfg.c (unchecked_make_edge): Call execute_on_growing_pred
1293 after making an edge.
1294 (remove_edge): Call execute_on_shrinking_pred before removing
1296 (redirect_edge_succ): Call execute_on_growing_pred and
1297 execute_on_shrinking_pred.
1298 * cfghooks.c (execute_on_growing_pred): New.
1299 (execute_on_shrinking_pred): Likewise.
1300 * cfghooks.h (cfg_hooks): Add execute_on_growing_pred and
1301 execute_on_shrinking_pred.
1302 Add prototypes for execute_on_growing_pred and
1303 execute_on_shrinking_pred.
1304 * cfgrtl.c (rtl_cfg_hooks): Add NULL hooks to
1305 execute_on_growing_pred and execute_on_shrinking_pred.
1306 (cfg_layout_rtl_cfg_hook): Likewise.
1307 * tree-cfg.c (tree_cfg_hooks): Likewise.
1309 * tree-cfg.c (tree_execute_on_shrinking_pred): New.
1310 (tree_cfg_hooks): Use it.
1311 * tree-ssa.c (ssa_remove_edge): Don't call remove_phi_args.
1312 (ssa_redirect_edge): Don't call remove_phi_arg_num.
1314 * tree-phinodes.c (remove_phi_arg_num): Make it static.
1315 * tree-flow.h: Remove the corresponding prototype.
1317 * tree-ssa.c (ssa_remove_edge): Remove.
1318 * tree-flow.h: Remove the corresponding prototype.
1319 * tree-cfg.c: Replace ssa_remove_edge with remove_edge.
1320 * basic-block.h: Likewise.
1321 * tree-if-conv.c: Likewise.
1322 * tree-ssa-threadupdate.c: Likewise.
1324 2004-11-23 Ben Elliston <bje@au.ibm.com>
1326 * doc/cfg.texi (Maintaining the CFG): Use @ftable instead of
1327 @table to list the BSI methods. Use individual @findex directives
1328 instead of one with a comma-separated list of index entries.
1330 2004-11-22 Zdenek Dvorak <dvorakz@suse.cz>
1332 PR tree-optimization/18529
1333 * fold-const.c (fold_to_nonsharp_ineq_using_bound): New function.
1334 (simple_operand_p): Use STRIP_NOPS. Consider SSA names simple.
1335 (fold): Call fold_to_nonsharp_ineq_using_bound.
1336 * tree-ssa-loop-niter.c (simplify_replace_tree): New function.
1337 (number_of_iterations_cond): Fold the expressions before futher
1339 (tree_simplify_using_condition): Handle case when cond or expr is
1340 an EQ_EXPR specially.
1342 2004-11-22 Daniel Berlin <dberlin@dberlin.org>
1344 * tree-ssa.c (verify_ssa): SSA_OP_ALL_USES should be
1345 SSA_OP_ALL_USES | SSA_OP_ALL_KILLS for verification purposes.
1347 2004-11-22 David Edelsohn <edelsohn@gnu.org>
1348 Fariborz Jahanian <fjahanian@apple.com>
1350 * config/rs6000/rs6000.c (rs6000_return_in_memory): Test
1352 (function_arg_boundary): Align 8 to 16 byte vectors like SPE.
1353 Align 16 byte and larger vectors like Altivec.
1354 (function_arg_advance): Pass any 16 byte vector like Altivec vector.
1355 (function_arg): Same.
1356 (rs6000_pass_by_references): Test TARGET_ALTIVEC_ABI.
1358 2004-11-22 Andrew Pinski <pinskia@physics.uc.edu>
1361 * tree-sra.c (scalarize_init): Unshare the rhs before gimplifying
1364 2004-11-22 Richard Henderson <rth@redhat.com>
1366 * function.c (assign_parm_setup_block): Revert 11-13 change to
1367 forcably re-mode a (possibly BLKmode) hard register.
1369 2004-11-22 Eric Botcazou <ebotcazou@libertysurf.fr>
1371 * config/sparc/sparc.c (mem_min_alignment): Check MEM_ALIGN.
1373 2004-11-22 David Edelsohn <edelsohn@gnu.org>
1375 * config/rs6000/power4.md: Remove delay between dispatch and issue
1376 associated with dispatch group slots 3 and 4.
1377 * config/rs6000/power5.md: Same.
1379 2004-11-21 Jeff Law <law@redhat.com>
1381 * cfg.c (cached_make_edge): Use find_edge rather than an inlined
1383 * cfgbuild.c (make_edges): Likewise.
1384 * cfghooks.c (can_duplicate_block_p): Likewise.
1385 * cfgloop.c (loop_latch_edge): Likewise.
1386 * cfgloopmanip.c (force_single_succ_latches): Likewise.
1387 * cfgrtl.c (rtl_flow_call_edges_add): Likewise.
1388 * predict.c (predict_loops, propagate_freq): Likewise.
1389 * tracer.c (tail_duplicate): Likewise.
1390 * tree-cfg.c (disband_implicit_edges): Likewise.
1391 (tree_forwarder_block_p, tree_flow_call_edges_add): Likewise.
1393 2004-11-22 Nick Clifton <nickc@redhat.com>
1395 * sbitmap.c (sbitmap_union_of_preds): Remove redundant
1396 initialisation of 'e'.
1398 2004-11-22 Kazu Hirata <kazu@cs.umass.edu>
1400 PR rtl-optimization/18599
1401 * regrename.c (copyprop_hardreg_forward): Speed up by putting
1402 BB_VISITED flags on basic blocks as we process them.
1404 2004-11-22 Nathan Sidwell <nathan@codesourcery.com>
1407 * config/rs6000/altivec.md (VI_char): New mode attribute.
1408 (addv16qi3, addv8hi3, addv4ai3): Replace with ...
1409 (add<mode>3): ... this.
1410 (subv16qi3, subv8hi3, subv4ai3): Replace with ...
1411 (sub<mode>3): ... this.
1412 (smaxv16qi3, smaxv8hi3, smaxv4ai3): Replace with ...
1413 (smax<mode>3): ... this.
1414 (sminv16qi3, sminv8hi3, sminv4ai3): Replace with ...
1415 (smin<mode>3): ... this.
1416 (umaxv16qi3, umaxv8hi3, umaxv4ai3): Replace with ...
1417 (umax<mode>3): ... this.
1418 (uminv16qi3, uminv8hi3, uminv4ai3): Replace with ...
1419 (umin<mode>3): ... this.
1420 (andv16qi3, andv8hi3, andv4ai3): Replace with ...
1421 (and<mode>3): ... this.
1422 (iorv16qi3, iorv8hi3, iorv4ai3): Replace with ...
1423 (ior<mode>3): ... this.
1424 (xorv16qi3, xorv8hi3, xorv4ai3): Replace with ...
1425 (xor<mode>3): ... this.
1426 (andv16qi3, andv8hi3, andv4ai3): Replace with ...
1427 (and<mode>3): ... this.
1428 (iorv16qi3, iorv8hi3, iorv4ai3): Replace with ...
1429 (ior<mode>3): ... this.
1430 (altivec_vnor): Replace with ...
1431 (altivec_nor<mode>): ... this.
1432 (one_cmplv16qi2, one_cmplv8hi2, one_complv4ai2): Replace with ...
1433 (one_cmpl<mode>2): ... this.
1434 (altivec_vandc): New expander.
1435 (*andc<mode>3): New insn.
1436 * config/rs6000/rs6000.c (bdesc_2arg): Adjust for new insn names.
1438 2004-11-22 Dorit Naishlos <dorit@il.ibm.com>
1441 * tree-vectorizer.c (make_loop_iterate_ntimes): Use type of niters when
1442 creating iv instead of integer_type.
1443 (vect_build_loop_niters): Remove redundant code.
1444 (vect_transform_loop_bound): Removed (duplicates functionality of
1445 make_loop_iterate_ntimes.
1446 (vect_gen_niters_for_prolog_loop): Add documentation. Call
1447 lang_hooks.types.type_for_size to create a type of the required size.
1448 Use that type instead of integer_type. Remove redundant code.
1449 (vect_update_niters_after_peeling): Use type of niters instead of
1451 (vect_transform_loop): Unify handling of known and unknown loop bound
1452 cases. Call make_loop_iterate_ntimes instead of
1453 vect_transform_loop_bound.
1455 2004-11-22 Andrew Pinski <pinskia@physics.uc.edu>
1458 * config/rs6000/t-darwin (LIB2FUNCS_EXTRA): Move darwin-fallback.c to
1461 2004-11-22 Dorit Naishlos <dorit@il.ibm.com>
1464 * tree-vectorizer.c (vect_analyze_data_refs): Fail if memtag not found.
1466 2004-11-22 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
1468 * config.gcc: Use t-slibgcc-elf to build libgcc_s.so on
1470 * config/m32r/t-linux (SHLIB_MAPFILES): Override to use
1471 m32r/libgcc-glibc.ver.
1472 * config/m32r/libgcc-glibc.ver: Add New file.
1474 2004-11-22 Nathan Sidwell <nathan@codesourcery.com>
1476 * bitmap.h (struct bitmap_obstack): New obstack type.
1477 (struct bitmap_head_def): Replace using_obstack with obstack
1479 (bitmap_default_obstack): New.
1480 (bitmap_initialize): Make inline, does not do allocation.
1481 (bitmap_release_memory): Remove.
1482 (bitmap_obstack_initialize, bitmap_obstack_release): Declare.
1483 (bitmap_obstack_alloc, bitmap_malloc_alloc, bitmap_gc_alloc,
1484 bitmap_obstack_free, bitmap_malloc_free): Declare.
1485 (BITMAP_OBSTACK_ALLOC, BITMAP_GGC_ALLOC, BITMAP_XMALLOC): Adjust.
1486 (BITMAP_FREE): Replace with ...
1487 (BITMAP_OBSTACK_FREE): ... this.
1488 (BITMAP_XFREE): Adjust.
1489 (BITMAP_INIT_ONCE): Remove.
1490 * bitmap.c (bitmap_obstack, bitmap_obstack_init, bitmap_free: Remove.
1491 (bitmap_default_obstack): New.
1492 (bitmap_elem_to_freelist): Adjust.
1493 (bitmap_element_allocate): Adjust. Break initialization into ...
1494 (bitmap_obstack_initialize): ... here.
1495 (bitmap_release_memory): Replace with ...
1496 (bitmap_obstack_release): ... this.
1497 (bitmap_obstack_alloc, bitmap_malloc_alloc, bitmap_gc_alloc,
1498 bitmap_obstack_free, bitmap_malloc_free): New.
1499 (bitmap_ior_and_compl, bitmap_ior_and_compl_into): Use
1501 (bitmap_initialize): Move to bitmap.h.
1502 * gengtype.c (open_base_files): Add obstack.h to ifiles.
1503 * Makefile.in (BASIC_BLOCK_H, REGS_H): Add obstack.h.
1504 * basic-block.h (INIT_REG_SET): Allocate from reg_obstack.
1505 (INITIALIZE_REG_SET): Remove.
1506 (FREE_REG_SET): Use BITMAP_OBSTACK_FREE.
1507 (INIT_ONCE_REG_SET, MAX_REGNO_REG_SET): Remove.
1508 (flow_obstack): Do not declare.
1509 (reg_obstack): Declare.
1510 * regs.h: Include obstack.h.
1511 * tree-optimize.c (tree_rest_of_compilation): Initialize and
1512 release bitmap obstack here.
1513 * bb-reorder.c: #include regs, not basic-block.
1514 (fix_crossing_conditional_branches): Allocate regsets from
1516 * bt-load.c: Do not inlude bitmap.h, sbitmap.h, basic-block.h or
1518 * caller-save.c: Include regs.h earlier.
1519 * cfg.c: Do not include basic-block.h or obstack.h.
1520 (reg_obstack): Define.
1521 * cfganal.c: Include obstack.h
1522 * cfgcleanyp.c: Do not include basic-block.h. Include regs.h
1524 * cfglayout.c: Do not include obstack.h.
1525 (flow_obstack): Remove declaration.
1526 (cfg_layout_duplicate_bb): Use reg_obstack.
1527 * cfgloop.c, cfgloopanal.c, cfgloopmanip.c: Include obstack.h.
1528 * cfgrtl.c (rtl_split_block): Use reg_obstack.
1529 (force_nonfallthru_and_redirect, rtl_split_edge): Likewise.
1530 (safe_insert_insn_on_edge): Use OBSTACK_ALLOC_REG_SET, adjust.
1531 (cfg_layout_split_edge): Use reg_obstack.
1532 * cse.c: Include regs.h earlier.
1533 * ddg.c: Do not include basic-block.h.
1534 * dominance.c: Inlude obstack.h.
1535 * flow.c (update_life_info): Use OBSTACK_ALLOC_REG_SET, adjust.
1536 (calculate_global_regs_live): Likewise.
1537 (allocate_bb_life_data): Use reg_obstack.
1538 (init_propagate_block_info): Use OBSTACK_ALLOC_REGSET.
1539 * global.c: Do not include basic-block.h.
1540 (build_insn_chain): Use OBSTACK_ALLOC_REG_SET, adjust.
1541 * graph.c: Include obstack.h.
1542 * haifa-sched.c: Do not include basic-block.h.
1543 * ifcvt.c: Use OBSTACK_ALLOC_REG_SET, adjust.
1544 * local-alloc.c: Do not include basic-block.h.
1545 * loop-init.c, loop-invariant.c: Include obstack.h.
1546 * loop-iv.c: Likewise.
1547 (simplify_using_initial_values): Use OBSTACK_ALLOC_REG_SET,
1549 * loop-unroll.c, loop-unswitch.c: Inlude obstack.h.
1550 * modulo-sched.c: Do not include basic-block.h.
1551 * passes.c (rest_of_handle_final): Do not call
1552 regset_release_memory.
1553 * ra-debug.c: Include regs.h earlier. Do not include
1555 * recog.c (peephole2_optimize): Use OBSTACK_ALLOC_REG_SET, adjust.
1556 * regclass.c (init_reg_sets): Do not call INIT_ONCE_REG_SET.
1557 (allocate_reg_info): Do not call MAX_REGNO_REG_SET.
1558 (regset_release_memory): Remove.
1559 * resource.c: Do not include basic-block.h.
1560 * rtlanal.c: Do not include basic-block.h.
1561 * sbitmap.c: Include obstack.h.
1562 * sched-deps.c: Do not include basic-block.h.
1563 (reg_pending_sets_head, reg_pending_clobbers_head,
1564 reg_pending_uses_head): Remove.
1565 (init_deps_global): Use OBSTACK_ALLOC_REG_SET.
1566 * sched-ebb.c: Do not include basic-block.h.
1567 * sched-rgn.c: Likewise.
1568 * tree-if-conv.c (get_loop_body_in_if_conv_order): Use
1570 * tree-outof-ssa.c (perform_edge_inserts): Use BITMAP_XFREE.
1571 * tree-sra.c (decide_instantiations): Adjust bitmap
1573 * tree-ssa-dce.c: Include obstack.h.
1574 * tree-ssa-pre.c (grand_bitmap_obstack): Make a bitmap_obstack.
1575 (value_insert_into_set_bitmap): Remove useless bitmap_clear.
1576 (bitmap_set_new): Likewise.
1577 (init_pre): Initialize bitmap obstack.
1578 (fini_pre): Release bitmap obstack.
1579 * tree-ssanames.c (ssa_names_to_rewrite): Make static.
1580 (marked_for_rewrite_p): ssa_names_to_rewrite is never NULL.
1581 (mark_for_rewrite, unmark_for_rewrite): Likewise.
1582 (marked_ssa_names): Likewise.
1583 (init_ssanames): Use BITMAP_XMALLOC.
1584 (fini_ssanames): Use BITMAP_XFREE.
1585 * web.c: Include obstack.h
1587 2004-11-22 Nick Clifton <nickc@redhat.com>
1589 * sbitmap.c (sbitmap_union_of_preds): Set 'e' to the next edge
1590 predecessor in the first for-loop.
1592 2004-11-21 Stan Shebs <shebs@apple.com>
1594 * config/rs6000/rs6000.c: (rs6000_darwin64_function_arg): Add
1596 (function_arg): Move darwin test up, sniff mode first for
1597 efficiency, test for union type.
1599 2004-11-21 Dale Johannesen <dalej@apple.com>
1601 * config/darwin.h (JUMP_TABLES_IN_TEXT_SECTION): Define.
1603 2004-11-21 Jeff Law <law@redhat.com>
1605 * tree-ssa.c (verify_use): Fix comment.
1606 (verify_phi_args): Check that the number of incoming edges matches
1607 the number of PHI arguments. Check that each PHI argument is
1608 either an SSA_NAME or an invariant. Coalesce tests for PHIs for
1609 dead or duplicated edges. Clear e->aux earlier and avoid separate
1610 loop to clear e->aux and test for missed edges.
1611 (verify_ssa): Remove first walk over statements. Move checking
1612 of PHI args into verify_phi_args. Move checking of statements
1613 with aliased stores and V_MAY_DEFS into the remaining loop over
1614 the statements. Register defs by walking through the formal
1617 2004-11-21 Roger Sayle <roger@eyesopen.com>
1620 * dojump.c (compare_from_rtx): Clarify mode argument in function
1621 description. Correct order of mode/cmp_mode arguments in call to
1622 simplify_relational_operation. Check "tem" for COMPARISON_P.
1624 2004-11-21 Paolo Bonzini <bonzini@gnu.org>
1625 David Edelsohn <edelsohn@gnu.org>
1628 * config/rs6000/rs6000.c (rs6000_return_in_memory): Return
1629 synthetic vectors in memory.
1630 (function_arg_boundary): Align large synthetic vectors.
1631 (rs6000_pass_by_reference): Pass synthetic vectors in memory.
1633 2004-11-21 Jeff Law <law@redhat.com>
1635 * cfg.c (update_bb_profile_for_threading): Do not rescale the
1636 successor probabilities if they are not going to change. Pull
1637 division out of loop if we do need to rescale successor probabilities.
1639 * tree-ssa-threadupdate.c (redirection_data_hash): Use the
1640 index of the destination block for the hash value rather than
1643 2004-11-20 Joseph S. Myers <joseph@codesourcery.com>
1645 * c-typeck.c (build_array_ref): Don't check for index == 0. Make
1646 checks for neither argument being an array or pointer (swapping
1647 the arguments if necessary), the array argument being a pointer to
1648 or array of functions and for -Wchar-subscripts warnings upfront.
1650 2004-11-20 Jeff Law <law@redhat.com>
1652 * regrename.c (copyprop_hardreg_forward): Only search for a
1653 previously processed block if the current block only has one
1656 2004-11-20 Kazu Hirata <kazu@cs.umass.edu>
1658 * tree-ssa-threadupdate.c, tree-vectorizer.c: Fix comment
1660 * config/arm/arm.c: Follow spelling conventions.
1662 2004-11-20 Richard Earnshaw <rearnsha@arm.com>
1664 * arm.c (arm_override_options): Use arm_ld_sched rather than testing
1665 a bit in tune_flags.
1666 (const_double_needs_minipool): Likewise. Split most of the code out
1668 (arm_const_double_inline_cost): ... new function here.
1669 * arm-protos.h (arm_const_double_inline_cost): Add prototype.
1670 * arm.h (EXTRA_CONSTRAINT_STR_ARM): Add D[abc] constraints for double-
1671 word constants of length 2, 3 and 4 insns respectively.
1672 (CONSTRAINT_LEN): The 'D' prefix is a 2-letter constraint.
1673 * arm.md (arm_movdi, movdf_soft_insn): Add alternatives for D[abc]
1674 constraints. Set insn lenghts accordingly.
1676 2004-11-19 Jeff Law <law@redhat.com>
1678 * tree-ssa-threadupdate.c: Replace REDIRECTION_DATA varray with
1679 a hash table. Extensive modifications throughout to support
1682 (struct local_info): New.
1683 (struct redirection_data): Add new INCOMING_EDGES and DO_NOT_DUPLICATE
1685 (redirection_data): Now a hashtable.
1686 (redirection_data_hash, redirection_data_eq): New.
1687 (lookup_redirection_data, create_duplicates): New.
1688 (create_edge_and_update_destionation_phis): New.
1689 (fixup_template_block, redirect_edges): New.
1690 (thread_block): Use hash table traversals instead of loops over
1691 varray entries or incoming edge vectors.
1693 2004-11-19 Kazu Hirata <kazu@cs.umass.edu>
1695 * basic-block.h (edge_def): Add dest_idx.
1696 * cfg.c (unchecked_make_edge): Initialize dest_idx.
1697 (remove_edge): Simplify the disconnection of an edge from its
1699 (redirect_edge_succ): Likewise.
1700 * cfghooks.c (verify_flow_info): Check the consistency of
1701 dest_idx for each edge.
1703 2004-11-19 Aldy Hernandez <aldyh@redhat.com>
1705 * simplify-rtx.c (simplify_ternary_operation): Use
1708 2004-11-19 Kazu Hirata <kazu@cs.umass.edu>
1710 * tree-cfg.c (reinstall_phi_args): New.
1711 (tree_split_edge): Use it after redirecting an edge. Don't
1712 modify PHI_ARG_EDGE.
1714 2004-11-19 Andreas Tobler <a.tobler@schweiz.ch>
1716 * tree-vectorizer.c (slpeel_verify_cfg_after_peeling): Define only
1717 if checking is enabled.
1719 2004-11-19 Joseph S. Myers <joseph@codesourcery.com>
1721 * c-decl.c (push_scope): Remove "\n" from end of diagnostic for
1722 too many nested scopes.
1724 2004-11-19 Dorit Naishlos <dorit@il.ibm.com>
1727 * tree-vectorizer.c (slpeel_tree_peel_loop_to_edge): Peeling scheme
1728 changed to suppoer uses-after-loop and to void creating flow paths
1729 that shouldn't exist.
1730 (slpeel_update_phi_nodes_for_guard): Takes additional two arguments.
1731 Modified to fit the new peeling scheme. Avoid quadratic behavior.
1732 (slpeel_add_loop_guard): Takes additional argument.
1733 (slpeel_verify_cfg_after_peeling): New function.
1734 (vect_update_ivs_after_vectorizer): Takes additional argument. Updated
1735 documentation. Use 'exit-bb' instead of creating 'new-bb'.
1736 (rename_variables_in_bb): Don't update phis for BBs out of loop, to fit
1737 the new peeling scheme.
1738 (copy_phi_nodes): Function removed. Its functionality moved to
1739 update_phis_for_duplicate_loop.
1740 (slpeel_update_phis_for_duplicate_loop): Functionality of copy_phi_nodes
1741 moved here. Added documentation. Modified to fit the new peeling scheme.
1742 (slpeel_make_loop_iterate_ntimes): Setting loop->single_exit not not
1743 needed - done in slpeel_tree_peel_loop_to_edge.
1744 (slpeel_tree_duplicate_loop_to_edge_cfg): Debug printouts compacted.
1745 (vect_do_peeling_for_loop_bound): Add documentation. Call
1746 slpeel_verify_cfg_after_peeling. Call vect_update_ivs_after_vectorizer
1747 with additional argument.
1748 (vect_do_peeling_for_alignment): Call slpeel_verify_cfg_after_peeling.
1750 (vect_finish_stmt_generation): Avoid 80 column oveflow.
1752 2004-11-19 Dorit Naishlos <dorit@il.ibm.com>
1754 * tree-vectorizer.c (slpeel_make_loop_iterate_ntimes): Last two
1756 (slpeel_tree_peel_loop_to_edge): Call slpeel_make_loop_iterate_ntimes
1757 without last two arguments. Update single_exit of loops.
1758 (vect_update_niters_after_peeling): Removed. Its functionality was
1759 moved to vect_do_peeling_for_alignment.
1760 (vect_do_peeling_for_loop_bound): New name for function previously
1761 called vect_transform_for_unknown_loop_bound.
1762 (vect_transform_loop_bound): Call slpeel_make_loop_iterate_ntimes
1763 instead of code that duplicates the same functionality.
1764 (vect_do_peeling_for_alignment): Functionality of
1765 vect_update_niters_after_peeling moved here.
1766 (vect_transform_loop): Unify call to vect_do_peeling_for_loop_bound -
1767 previously named vect_transform_for_unknown_loop_bound - for both known
1768 and unknown loop bound cases.
1770 2004-11-19 Dorit Naishlos <dorit@il.ibm.com>
1772 * tree-vectorizer.c (slpeel_can_duplicate_loop_p): New name for function
1773 previously called verify_loop_for_duplication. All conditions compacted
1774 into one compound condition. Removed debug dumps.
1775 (vect_analyze_loop_with_symbolic_num_of_iters): Removed. Some of the
1776 functionality moved to vect_can_advance_ivs_p, and some to
1777 vect_analyze_loop_form.
1778 (vect_can_advance_ivs_p): New function. Contains functionality that was
1779 taken out of vect_analyze_loop_with_symbolic_num_of_iters.
1780 (slpeel_tree_peel_loop_to_edge): Call slpeel_can_duplicate_loop_p.
1781 (vect_analyze_operations): Call vect_can_advance_ivs_p and
1782 slpeel_can_duplicate_loop_p.
1783 (vect_get_loop_niters): Added documentation.
1784 (vect_analyze_loop_form): Check the loop entry always - not only in case
1785 of unknown loop bound. Create preheader and exit bb if necessary. Apply
1786 a check that used to take place in
1787 vect_analyze_loop_with_symbolic_num_of_iters.
1788 (vectorize_loops): Call verify_loop_closed_ssa under ENABLE_CHECKING.
1789 Remove redundant call to rewrite_into_loop_closed_ssa.
1790 (vect_compute_data_refs_alignment): Removed obsolete comment.
1792 2004-11-19 Dorit Naishlos <dorit@il.ibm.com>
1794 * tree-vectorizer.c (slpeel_tree_peel_loop_to_edge): New name for
1795 function previously called tree_duplicate_loop_to_edge.
1796 (slpeel_tree_duplicate_loop_to_edge_cfg): New name for function
1797 previously called tree_duplicate_loop_to_edge_cfg.
1798 (slpeel_update_phis_for_duplicate_loop): Prefix 'slpeel' added to
1800 (slpeel_update_phi_nodes_for_guard): Likewise.
1801 (slpeel_make_loop_iterate_ntimes): Likewise.
1802 (slpeel_add_loop_guard): Likewise.
1803 (allocate_new_names, free_new_names): Function declaration moved to top
1805 (rename_use_op, rename_def_op): Likewise.
1806 (rename_variables_in_bb, rename_variables_in_loop): Likewise.
1807 (vect_generate_tmps_on_preheader): Function declaration moved.
1808 (vect_transform_for_unknown_loop_bound): Added missing function
1811 2004-11-19 Andrew Pinski <pinskia@physics.uc.edu>
1814 * tree-flow.h (tree_on_heap): Typedef because there is already a VEC(tree).
1815 Define a VEC(tree_on_heap) for head.
1816 (register_new_def): Change second argument to be a VEC(tree_on_heap).
1817 * tree-ssa-dom.c (block_defs_stack): Change to be a VEC(tree_on_heap).
1818 (tree_ssa_dominator_optimize): Initialize block_defs_stack with
1819 the VEC(tree_on_heap) function. Also free it before returning.
1820 (dom_opt_initialize_block): Use VEC_safe_push instead of VARRAY_PUSH_TREE
1821 for block_defs_stack.
1822 (restore_currdefs_to_original_value): Use VEC_length instead of
1823 VARRAY_ACTIVE_SIZE. VEC_pop instead of VARRAY_TOP_TREE/VARRAY_POP.
1824 (dom_opt_finalize_block): Use VEC_safe_push instead of VARRAY_PUSH_TREE
1825 for block_defs_stack.
1826 * tree-into-ssa.c (block_defs_stack): Change to be a VEC(tree_on_heap).
1827 (rewrite_initialize_block): Use VEC_safe_push instead of VARRAY_PUSH_TREE
1828 for block_defs_stack.
1829 (ssa_register_new_def): Likewise.
1830 (ssa_rewrite_initialize_block): Likewise.
1831 (rewrite_finalize_block): Use VEC_length instead of
1832 VARRAY_ACTIVE_SIZE. VEC_pop instead of VARRAY_TOP_TREE/VARRAY_POP.
1833 (ssa_rewrite_finalize_block): Likewise.
1834 (register_new_def): Change second argument to be a VEC(tree_on_heap).
1835 Use VEC_safe_push instead of VARRAY_PUSH_TREE.
1836 (rewrite_blocks): Initialize block_defs_stack with
1837 the VEC(tree_on_heap) function. Also free it before returning.
1838 (rewrite_ssa_into_ssa): Likewise.
1840 2004-11-19 Fariborz Jahanian <fjahanian@apple.com>
1842 * config/darwin.c (machopic_data_defined_p): return 1 for
1843 MACHOPIC_DEFINED_FUNCTION.
1845 2004-11-19 Jeff Law <law@redhat.com>
1847 * tree-ssa.c (verify_ssa): Remove redundant checking of PHI
1850 2004-11-19 Paul Brook <paul@codesourcery.com>
1853 * varasm.c (default_assemble_integer): Allow pointer-sized values.
1856 2004-11-19 Nick Clifton <nickc@redhat.com>
1858 * config/stormy16/stormy16.c (combine_bnp): Add code to handle
1859 zero_extension and lshiftrt insns.
1860 Replace uses of XEXP(...) with either SET_DEST() or SET_SRC()
1862 * config/stormy16.stormy16.md (bclrx3, bsetx3): New patterns
1863 to handle bp and bn insn patterns with a zero_extend rtx
1866 2004-11-19 Ian Lance Taylor <ian@wasabisystems.com>
1868 * config/arm/arm.md (generic_sched): Make const.
1870 2004-11-19 Kazu Hirata <kazu@cs.umass.edu>
1872 * emit-rtl.c (classify_insn): Make it static.
1873 * rtl.h: Remove the corresponding prototype.
1875 * integrate.c (has_func_hard_reg_initial_val,
1876 get_func_hard_reg_initial_val): Make them static.
1877 * integrate.h: Remove the corresponding prototypes.
1879 2004-11-19 Ben Elliston <bje@au.ibm.com>
1881 * dwarf2asm.h (dw2_asm_output_pcel): Stub out with #if 0.
1882 (dw2_asm_output_delta_sleb128): Likewise.
1883 * dwarf2asm.c (dw2_asm_output_pcrel): Likewise.
1884 (dw2_asm_output_delta_sleb128): Likewise.
1886 2004-11-19 Adam Nemet <anemet@lnxw.com>
1888 * tree-ssa-alias.c: Fix comment.
1890 2004-11-19 Kazu Hirata <kazu@cs.umass.edu>
1892 * tree-outof-ssa.c: Fix a comment typo.
1894 2004-11-19 Ben Elliston <bje@au.ibm.com>
1896 * predict.h (predict_insn): Remove extern declaration.
1897 * predict.c (predict_insn): Make static.
1899 2004-11-19 Alan Modra <amodra@bigpond.net.au>
1901 * config/rs6000/rs6000.c (function_arg): Don't return BLKmode regs.
1903 2004-11-18 Nicolas Pitre <nico@cam.org>
1905 * config/arm/arm.c (const_double_needs_minipool): New function to
1906 determine if a CONST_DOUBLE should be pushed to the minipool.
1907 (note_invalid_constants): Use it.
1909 2004-11-18 Paul Brook <paul@codesourcery.com>
1911 * config/arm/arm.c (target_float_switch): New variable..
1912 (arm_override_options): Use TARGET_DEFAULT_FLOAT_ABI and
1913 target_float_switch.
1914 * config/arm/arm.h (target_float_switch): Declare.
1915 (ARM_FLAG_SOFT_FLOAT): Remove.
1916 (TARGET_SWITCHES): Remove hard-float and soft-float.
1917 (TARGET_OPTIONS): Add hard-float and soft-float.
1918 (TARGET_DEFAULT_FLOAT_ABI): Define.
1919 * config/arm/coff.h (TARGET_DEFAULT_FLOAT_ABI): Define
1920 (TARGET_DEFAULT): Don't use ARM_FLAG_SOFT_FLOAT.
1921 * config/arm/elf.h: Don't use ARM_FLAG_SOFT_FLOAT.
1922 * config/arm/netbsd-elf.h: Ditto.
1923 * config/arm/netbsd.h: Ditto.
1924 * config/arm/pe.h: Ditto.
1925 * config/arm/unknown-elf.h: Ditto.
1926 * config/arm/wince-pe.h: Ditto.
1927 * config/arm/linux-elf.h (TARGET_DEFAULT_FLOAT_ABI): Define.
1928 * config/arm/semi.h (TARGET_DEFAULT_FLOAT_ABI): Define.
1929 * config/arm/semiaof.h (TARGET_DEFAULT_FLOAT_ABI): Define.
1931 2004-11-18 Nathan Sidwell <nathan@codesourcery.com>
1933 * config/rs6000/altivec.md (VI, VF, V): New mode macros.
1934 (altivec_lvx_4si, altivec_lvx_8hi, altivec_lvx_16qi,
1935 altivec_lvx_4sf): Rename and replace with ...
1936 (altivec_lvx_<mode>): ... mode macro version.
1937 (altivec_stvx_4si, altivec_stvx_8hi, altivec_stvx_16qi,
1938 altivec_stvx_4sf): Rename and replace with ...
1939 (altivec_stvx_<mode>): ... mode macro version.
1940 (movv4si, movv8hi, movv16qi, movv4sf}): Replace with ...
1941 (mov<mode>): ... mode macro version.
1942 (*movv4si_internal, *movv8hi_internal1, *movv16qi_internal1,
1943 *movv4sf_internal1): Replace with ...
1944 (*mov<mode>_internal): ... mode macro version.
1945 (get_vrsave_internal, *set_vrsave_internal, *save_world,
1946 *restore_world): Unquote output statements.
1947 * config/rs6000/rs6000.c (altivec_expand_ld_builtin,
1948 altivec_expand_st_builtin): Adjust insn names.
1950 2004-11-18 Aldy Hernandez <aldyh@redhat.com>
1952 * config/rs6000/rs6000.c (rs6000_complex_function_value): Revert
1954 (rs6000_override_options): Likewise.
1955 (spe_build_register_parallel): Handle complex doubles on e500v2.
1956 (rs6000_spe_function_arg): Likewise.
1957 (function_arg): Likewise.
1958 (rs6000_function_value): Likewise.
1959 (rs6000_libcall_value): Likewise.
1961 2004-11-18 Andrew Pinski <pinskia@physics.uc.edu>
1963 * ifcvt.c (find_if_block): Move the check for the number of edges
1964 above the loops checking for complex edges.
1965 Remove the counting of edges as we use EDGE_COUNT now.
1967 2004-11-18 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.comn>
1969 * config/m32r/linux.h (TARGET_ASM_FILE_END): Set
1970 TARGET_ASM_FILE_END to file_end_indicate_exec_stack.3
1972 2004-11-18 Andreas Schwab <schwab@suse.de>
1974 * config/i386/i386.md (define_peephole2): Revert last change.
1976 2004-11-18 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.comn>
1978 * config/m32r/linux.h (TARGET_ASM_FILE_END): Set
1979 TARGET_ASM_FILE_END to file_end_indicate_exec_stack.
1981 2004-11-18 Diego Novillo <dnovillo@redhat.com>
1983 * tree-ssa-propagate.c (ssa_prop_init): Use FOR_ALL_BB instead
1986 2004-11-18 Jon Grimm <jgrimm2@us.ibm.com>
1988 * Makefile.in (macro_list): Depend on s-macro_list.
1989 (s-macro_list): New target.
1991 2004-11-18 Nathan Sidwell <nathan@codesourcery.com>
1994 * fold-const.c (RANGE_TEST_NON_SHORT_CIRCUIT): Rename to ...
1995 (LOGICAL_OP_NON_SHORT_CIRCUIT): ... here.
1996 (fold_range_test): Adjust.
1997 (fold_truthop): Use it.
1998 * config/rs6000/rs6000.h (RANGE_TEST_NON_SHORT_CIRCUIT): Rename to ...
1999 (LOGICAL_OP_NON_SHORT_CIRCUIT): ... here.
2001 2004-11-18 Uros Bizjak <uros@kss-loka.si>
2003 * configure/i386/i386.md (*fix_trunch_1): Add "&& 1" to
2004 insn split constraint.
2005 (define_peephole2): Remove unneeded "&& 1" from peephole2
2008 2004-11-18 Ben Elliston <bje@au.ibm.com>
2010 * doc/cfg.texi (Maintaining the CFG): Remove duplicated @item
2011 element for bsi_prev; use @findex instead.
2013 2004-11-18 Ben Elliston <bje@au.ibm.com>
2015 * opts.h (add_input_filename): Remove extern declaration.
2016 * opts.c (add_input_filename): Make static.
2018 2004-11-17 Mark Mitchell <mark@codesourcery.com>
2020 * config/i386/i386.c (i386_solaris_elf_named_section): Mark with
2023 2004-11-17 Zack Weinberg <zack@codesourcery.com>
2025 * defaults.h, config/darwin.h: Don't define TARGET_SUPPORTS_HIDDEN.
2026 * system.h: Poison it.
2027 * doc/tm.texi: Delete its documentation.
2029 2004-11-18 Daniel Jacobowitz <dan@codesourcery.com>
2030 Mark Mitchell <mark@codesourcery.com>
2032 * config/i386/sol2-10.h, config/i386/t-sol2-10: New files.
2033 * config/i386/i386.c (i386_solaris_elf_named_section): New
2035 * config.gcc (i[34567]86-*-solaris2*): Handle Solaris 2.10.
2036 * config/i386/sol2.h (ASM_PREFERRED_EH_DATA_FORMAT): Handle
2038 (ASM_QUAD): Don't undefine for biarch targets.
2039 * config/i386/t-sol2: Introduce multilib support.
2041 2004-11-18 Ben Elliston <bje@au.ibm.com>
2043 * cgraphunit.c: Replace "it's" with "its" and fix a typo.
2045 2004-11-18 Ben Elliston <bje@au.ibm.com>
2047 * cgraph.h: Replace "it's" with "its" throughout.
2049 2004-11-18 Ben Elliston <bje@au.ibm.com>
2051 * doc/rtl.texi (Flags): Grammar fix.
2053 2004-11-17 Kazu Hirata <kazu@cs.umass.edu>
2055 * expmed.c (alg_code): Add alg_unknown.
2056 (alg_hash_entry): New.
2057 (NUM_ALG_HASH_ENTRIES): Likewise.
2058 (alg_hash): Likewise.
2059 (synth_mult): Cache the result into alg_hash.
2061 2004-11-17 Zack Weinberg <zack@codesourcery.com>
2063 * config/rs6000/t-darwin: Augment SHLIB_MAPFILES with
2064 config/rs6000/libgcc-ppc64.ver.
2066 2004-11-17 Kazu Hirata <kazu@cs.umass.edu>
2068 * cfgrtl.c (rtl_verify_flow_info): Don't use INSN_P when
2069 checking if an unconditional return is followed by a barrier.
2071 * jump.c (condjump_p): Remove unreachable code.
2073 * basic-block.h, c-common.h, df.h, expr.h, output.h, rtl.h,
2074 tree-chrec.h, tree-flow.h, tree-scalar-evolution.h,
2075 tree-ssa-live.h, tree.h: Remove unused prototypes.
2077 2004-11-17 Jeff Law <law@redhat.com>
2079 * tree-cfg.c (edge_to_cases): Renamed from edge_to_case_leader.
2080 (edge_to_cases_elt): Renamed from edge_to_case_leader.
2081 (edge_to_cases_hash): Renamed from edge_to_case_leader_hash.
2082 (edge_to_cases_eq): Renamed from edge_to_case_leader_eq.
2083 (edge_to_cases_cleanup, recording_case_labels_p): New functions.
2084 (get_cases_for_edge): New function.
2085 (start_recording_case_labels, end_recording_case_labels): Similarly.
2086 (record_switch_edge): Don't muck with the CASE_LABEL. Instead
2087 chain equivalent CASE_LABEL_EXPRs together.
2088 (get_case_leader_for_edge, get_case_leader_for_edge_hash): Kill.
2089 (make_switch_expr_edges): Do not record edge/cases here.
2090 (cleanup_tree_cfg): Record cases around the call to thread_jumps.
2091 (split_critical_edges): Record cases around the edge splitting code.
2092 (cleanup_dead_labels): Use CASE_LABEL again.
2093 (tree_redirect_edge_and_branch): If we have a mapping from edge
2094 to cases, use it to handle redirections. Else do it the slow way.
2095 * tree.h (CASE_LEADER_OR_LABEL): Kill.
2096 (CASE_LABEL): Revert to just looking at the tree's second operand.
2097 * tree.c (get_case_label): Kill.
2099 2004-11-17 Diego Novillo <dnovillo@redhat.com>
2101 PR tree-optimization/18307
2102 * tree-ssa-alias.c (merge_pointed_to_info): ICE if 'dest' and
2103 'orig' are the same node.
2104 (collect_points_to_info_r): Do not call merge_pointed_to_info
2105 when the PHI argument is identical to the LHS.
2107 2004-11-17 Steven Bosscher <stevenb@suse.de>
2109 * tree-ssa-propagate.c (cfg_blocks_add): Assert we're not trying
2110 to insert the exit or entry block.
2111 (ssa_prop_init): Use add_control_edge to seed the algorithm.
2113 2004-11-16 Zack Weinberg <zack@codesourcery.com>
2115 * mkmap-flat.awk, mkmap-symver.awk: If the last version
2116 assigned to a symbol was '%exclude', do not emit it anywhere.
2117 If leading_underscore is true, prefix all symbols from the
2118 version scripts with a leading underscore before comparing
2119 them with nm output or emitting them. Remove support for dot
2121 * config/t-slibgcc-darwin (SHLIB_LINK): Use mkmap-flat.awk.
2122 (SHLIB_MAPFILES): Use libgcc-std.ver.
2123 (SHLIB_MKMAP_OPTS): Enable leading-underscore mode.
2124 (SHLIB_LINK): Add -Wl,-exported_symbols_list,$(SHLIB_MAP).
2125 * config/sh/t-linux: Use the normal libgcc-std.ver, plus
2126 libgcc-excl.ver and libgcc-glibc.ver.
2128 * config/sh/libgcc-excl.ver: New file.
2129 * config/sh/libgcc-std.ver, libgcc-darwin.ver: Delete.
2131 2004-11-16 Daniel Berlin <dberlin@dberlin.org>
2133 * lambda-code.c (lambda_loopnest_to_gcc_loopnest): Swap
2134 the test when the edge has the opposite meaning, not when
2135 the first argument is invariant.
2137 2004-11-16 Aldy Hernandez <aldyh@redhat.com>
2139 * config/rs6000/rs6000.c (rs6000_override_options): Split e500v2
2141 (rs6000_complex_function_value): Handle e500 v2 variant.
2143 2004-11-16 Daniel Berlin <dberlin@dberlin.org>
2145 Fix PR tree-optimization/18519
2147 * tree-optimize (execute_todo): Add case for TODO_cleanup_cfg.
2148 * tree-pass.h: Add TODO_cleanup_cfg.
2149 * tree-ssa-ccp.c (pass_ccp): Use TODO_cleanup_cfg.
2150 (ccp_finalize): Remove call to cleanup_cfg.
2151 * tree-ssa-dce.c (pass_dce): Use TODO_cleanup_cfg and TODO_dump_func.
2152 (pass_cd_dce): Ditto.
2153 (perform_tree_ssa_dce): Remove call to cleanup_cfg,
2154 dump_function_to_file.
2155 * tree-ssa-loop-ch.c (copy_loop_headers): Remove call
2157 (pass_ch): Add TODO_cleanup_cfg.
2158 * tree-ssa-loop.c (tree_ssa_loop_done): Remove call to
2160 (pass_loop_done): Add TODO_cleanup_cfg.
2161 * tree-ssa-phiopt.c (pass_phiopt): Ditto.
2162 (tree_ssa_phiopt): Remove call to cleanup_cfg.
2164 2004-11-16 Devang Patel <dpatel@apple.com>
2166 * optabs.c (vector_compare_rtx): Fix COMPARISON_CLASS_P use.
2168 2004-11-16 Kazu Hirata <kazu@cs.umass.edu>
2170 * expmed.c, ra-colorize.c: Fix comment typos.
2172 * doc/tm.texi: Fix typos.
2174 2004-11-16 Daniel Jacobowitz <dan@codesourcery.com>
2175 Mark Mitchell <mark@codesourcery.com>
2178 * config/sol2.h (TARGET_OS_CPP_BUILTINS): Define __PIC__ and
2181 2004-11-16 Ulrich Weigand <uweigand@de.ibm.com>
2183 * regmove.c (regmove_optimize): Use lowpart_subreg instead of
2184 gen_rtx_SUBREG with incorrect offset to compute SRC_SUBREG.
2186 2004-11-16 Devang Patel <dpatel@apple.com>
2188 * tree-if-conv.c (clean_predicate_lists): Update gcc_assert check.
2190 2004-11-16 Eric Christopher <echristo@redhat.com>
2192 * config/mips/mips.c: Use rtl _P predicates.
2193 * config/mips/mips.h: Ditto.
2194 * config/mips/mips.md: Ditto.
2196 2004-11-16 Fariborz Jahanian <fjahanian@apple.com>
2198 * config/rs6000/altivec.md (altivec_vandc): Canonicalize
2201 2004-11-16 Andreas Krebbel <krebbel1@de.ibm.com>
2203 * config/s390/s390.c (s390_cc_modes_compatible): New function.
2204 (TARGET_CC_MODES_COMPATIBLE): Target macro defined.
2206 2004-11-16 Kaz Kojima <kkojima@gcc.gnu.org>
2209 * config/sh/sh.c (prepare_move_operands): Emit blockage insns
2210 before and after the insns for getting GOT address in non-PIC
2211 TLS_MODEL_INITIAL_EXEC tls sequence when the first scheduling
2214 2004-11-16 Andreas Krebbel <krebbel1@de.ibm.com>
2216 * gcc/cse.c (struct change_cc_mode_args): New structure.
2217 (cse_change_cc_mode_insn): New function.
2218 (cse_change_cc_mode): Use validate_change to perfom changes.
2219 (cse_change_cc_mode_insns, cse_condition_code_reg):
2220 Call cse_change_cc_mode_insn.
2222 2004-11-16 Steven Bosscher <stevenb@suse.de>
2226 2004-11-16 Steven Bosscher <stevenb@suse.de>
2228 * config/i386/i386.c (x86_schedule): Fix typo, m_K6 intead of m_K8.
2230 2004-11-15 Dale Johannesen <dalej@apple.com>
2232 * tree-flow.h (add_referenced_temp_var): Remove name from prototype.
2234 2004-11-15 Dale Johannesen <dalej@apple.com>
2236 * profile.c (compute_branch_probabilities): Prevent
2237 crash with EH in RTL-based profiling.
2239 2004-11-16 Kazu Hirata <kazu@cs.umass.edu>
2241 * tree-cfg.c (verify_expr): Replace TREE_OPERAND with
2243 * tree-if-conv.c (tree_if_convert_cond_expr): Likewise.
2244 * tree-ssa-dom.c (thread_across_edge): Likewise.
2245 * tree-vectorizer.c (vect_transform_loop_bound): Replace
2246 TREE_OPERAND with COND_EXPR_COND, COND_EXPR_THEN, or
2249 * tree-cfg.c (bsi_commit_edge_inserts): Remove an argument.
2250 (tree_flow_call_edges_add): Update the call to
2251 bsi_commit_edge_inserts.
2252 * lambda-code.c (lambda_loopnest_to_gcc_loopnest): Likewise.
2253 * profile.c (branch_prob): Likewise.
2254 * tree-mudflap.c (mf_decl_cache_locals): Likewise.
2255 * tree-sra.c (scalarize_function): Likewise.
2256 * tree-ssa-loop-im.c (loop_commit_inserts): Likewise.
2257 * tree-ssa-pre.c (fini_pre): Likewise.
2258 * tree-flow.h: Update the prototype for
2259 bsi_commit_edge_inserts.
2261 2004-11-15 Eric Christopher <echristo@redhat.com>
2263 * sched-deps.c (set_sched_group_p): Delete.
2264 (delete_all_dependencies): New function.
2265 (fixup_sched_groups): Use. New function.
2266 (sched_analyze_insn): Use.
2268 2004-11-15 Joseph S. Myers <joseph@codesourcery.com>
2270 * c-common.c (binary_op_error): Don't allow LROTATE_EXPR,
2271 RROTATE_EXPR or unknown code.
2272 * c-typeck.c (build_binary_op): Don't allow RROTATE_EXPR,
2273 LROTATE_EXPR, MAX_EXPR, MIN_EXPR, UNORDERED_EXPR, ORDERED_EXPR,
2274 UNLT_EXPR, UNLE_EXPR, UNGT_EXPR, UNGE_EXPR, UNEQ_EXPR, LTGT_EXPR
2277 2004-11-15 Joseph S. Myers <joseph@codesourcery.com>
2280 * c-decl.c (grokdeclarator): Call check_bitfield_type_and_width
2281 after processing the declarator.
2283 2004-11-15 Aldy Hernandez <aldyh@redhat.com>
2285 * config/rs6000/altivec.md ("altivec_vsplth"): Rewrite with
2287 (altivec_vspltb): Same.
2288 (altivec_vspltw): Same.
2289 (altivec_vspltisb): Same.
2290 (altivec_vspltish): Same.
2291 (altivec_vspltisw): Same.
2292 (altivec_vspltisw_v4sf): Same.
2293 (define_constants): Remove UNSPEC_VSPLTISB, UNSPEC_VSPLTISW,
2295 Move "End of vector xor's" comment to the right place.
2297 2004-11-15 Steve Ellcey <sje@cup.hp.com>
2299 * config/ia64/ia64.md (*movtf_internal): Use destination_operand
2300 instead of nonimmediate_operand.
2302 2004-11-15 Mark Mitchell <mark@codesourcery.com>
2304 * config/i386/sol2.h (ASM_OUTPUT_CALL): Use print_operand.
2305 * config/sparc/sol2.h (ASM_OUTPUT_CALL): Likewise.
2306 * config/sol2.c (solaris_output_init_fini): Update calls to
2307 ASM_OUTPUT_CALL. Include "rtl.h".
2309 2004-11-15 Mark Mitchell <mark@codesourcery.com>
2311 * config/sol2-c.c (cmn_err_char_table): Add "p".
2313 2004-11-15 Mark Mitchell <mark@codesourcery.com>
2315 * config/sparc/sol2.h (SUPPORTS_INIT_PRIORITY): Remove.
2316 * config/sol2.h (SUPPORTS_INIT_PRIORITY): Define here.
2318 2004-11-15 Mark Mitchell <mark@codesourcery.com>
2320 * config/t-slibgcc-sld (SHLIB_LINK): Make symlinks entirely
2321 within the multilib directory.
2323 2004-11-15 Nick Clifton <nickc@redhat.com>
2325 * config/stormy16/stormy16.h (TARGET_CPU_CPP_BUILTINS): Add
2326 builtin assert of cpu=xstormy16.
2328 2004-11-15 Nathan Sidwell <nathan@codesourcery.com>
2330 * tree-ssa-pre.c (bitmap_print_value_set): Fix uninitialized
2333 2004-11-14 Richard Henderson <rth@redhat.com>
2336 * calls.c (struct arg_data): Add parallel_value.
2337 (precompute_register_parameters): Set it.
2338 (load_register_parameters): Use it.
2339 (store_one_arg): Also set it here.
2341 2004-11-14 Zdenek Dvorak <dvorakz@suse.cz>
2343 PR tree-optimization/18431
2344 * fold-const.c (associate_trees): Do not produce x + 0.
2345 (fold_widened_comparison, fold_sign_changed_comparison): New functions.
2347 * tree-ssa-loop-niter.c (upper_bound_in_type, lower_bound_in_type):
2349 * tree.c (upper_bound_in_type, lower_bound_in_type): Here.
2350 * tree.h (upper_bound_in_type, lower_bound_in_type): Declare.
2352 2004-11-14 Eric Botcazou <ebotcazou@libertysurf.fr>
2354 * doc/rtl.texi (SUBREG): Adjust BYTENUM value in example.
2356 2004-11-14 Kazu Hirata <kazu@cs.umass.edu>
2358 * cfgrtl.c, global.c, tree-ssa-copy.c, tree-ssa-loop-ivopts.c,
2359 value-prof.c: Fix comment typos.
2361 2004-11-14 Stan Shebs <shebs@apple.com>
2363 Basic ABI changes for passing structs by value in 64-bit Darwin.
2364 * config/rs6000/rs6000.c (rs6000_darwin64_abi): New flag.
2365 (rs6000_override_options): Set it for 64-bit Darwin.
2366 (rs6000_parse_abi_options): Add testing options to change it.
2367 (rs6000_return_in_memory): Test whether the type is one
2368 that can be passed in registers.
2369 (darwin64_function_arg_advance): New.
2370 (function_arg_advance): Call it, plus add recursion depth
2371 argument and test when counting off arguments.
2372 (rs6000_darwin64_function_arg): New.
2373 (function_arg): Call it.
2374 (setup_incoming_varargs): Add argument to function_arg_advance.
2375 (rs6000_darwin64_function_value): New.
2376 (rs6000_function_value): Call it.
2377 * config/rs6000/rs6000.h (FUNCTION_ARG_ADVANCE): Pass depth arg.
2378 * config/rs6000/rs6000-protos.h: Update decl of
2379 function_arg_advance.
2381 2004-11-14 Andrew Pinski <pinskia@physics.uc.edu>
2384 * c-common.c (c_common_nodes_and_builtins): Ask the back-end if we
2385 support TImode before adding __int128_t and __uint128_t types.
2387 2004-11-14 Dorit Naishlos <dorit@il.ibm.com>
2390 * tree-vectorizer.c (make_loop_iterate_ntimes): Set loop->nb_iterations.
2391 (vect_transform_loop_bound): Set loop->nb_iterations.
2393 2004-11-14 Dorit Naishlos <dorit@il.ibm.com>
2394 Andrew Pinski <pinskia@physics.uc.edu>
2397 * tree-vectorize.c (vect_build_loop_niters): Do not insert
2398 NULL into the instruction stream. Initialize new_bb to NULL.
2399 (vect_update_ivs_after_vectorizer): Likewise.
2400 (vect_gen_niters_for_prolog_loop): Likewise.
2402 2004-11-14 Zdenek Dvorak <dvorakz@suse.cz>
2404 PR tree-optimization/18431
2405 * tree-flow.h (stmt_references_memory_p): Declare.
2406 * tree-ssa-loop-im.c (stmt_cost): Use stmt_references_memory_p.
2407 * tree-ssa.c (stmt_references_memory_p): New function.
2409 2004-11-14 Andreas Schwab <schwab@suse.de>
2411 * Makefile.in (lambda-code.o, tree-loop-linear.o): Depend on
2414 2004-11-14 Kazu Hirata <kazu@cs.umass.edu>
2416 * c-common.c (walk_stmt_tree): Remove.
2417 * c-common.h: Remove the corresponding prototype.
2419 * emit-rtl.c (push_to_full_sequence): Remove.
2420 * rtl.h: Remove the corresponding prototype.
2422 * cselib.c, expr.c: Fix comment typos.
2424 2004-11-13 Richard Henderson <rth@redhat.com>
2426 * calls.c (precompute_register_parameters): Force all PARALLELs
2427 into pseudo registers.
2428 (load_register_parameters): Copy PARALLELs into hard registers.
2429 * function.c (assign_parm_setup_block): Copy PARALLELS into
2430 pseudo registers. Do emit_group_store in conversion_insns.
2431 * expr.c (emit_group_load_1): Rename from emit_group_load, take
2432 tmps as an argument. Move final copy loop ...
2433 (emit_group_load): ... here. New function.
2434 (emit_group_load_into_temps, emit_group_move_into_temps): New.
2435 * expr.h: Declare them.
2437 2004-11-14 Kazu Hirata <kazu@cs.umass.edu>
2439 * tree-cfg.c, tree-if-conv.c, tree-ssa-loop-ivopts.c,
2440 tree-ssa-loop-manip.c, tree-vectorizer.c: Replace TREE_CHAIN
2441 with PHI_CHAIN where appropriate.
2443 2004-11-13 Dale Johannesen <dalej@apple.com>
2445 * tree-flow.h (bsi_commit_one_edge_insert): Remove name from prototype.
2446 (tree_block_label): Ditto.
2447 (flush_pending_stmts): Ditto.
2448 (insert_edge_copies): Ditto.
2449 (expr_invariant_in_loop_p): Ditto.
2450 (TDF_USE_OPS): Parenthesize definition.
2451 (TDF_USE_VOPS): Ditto.
2453 2004-11-13 David Edelsohn <edelsohn@gnu.org>
2455 * config/rs6000/aix51.h (ASM_CPU_SPEC): Add 970 and G5.
2456 * config/rs6000/aix52.h (ASM_CPU_SPEC): Same.
2458 * config/rs6000/t-aix52 (BOOT_LDFLAGS): Define.
2460 2004-11-14 Joseph Myers <joseph@codesourcery.com>
2462 * config/i386/i386.c (override_options): Move loop to set default
2463 tuning to correct place.
2465 2004-11-13 Zak Kipling <zak@transversal.com>
2468 * config/i386/i386.c (classify_argument): Fix infinite loop when
2469 passing object with 3 or more base classes by value.
2471 2004-11-13 Eric Botcazou <ebotcazou@libertysurf.fr>
2473 * doc/md.texi (constraints) <% modifier>: Mention that it is
2474 useless when the two alternatives are strictly identical.
2476 2004-11-13 Richard Henderson <rth@redhat.com>
2478 * expmed.c (extract_split_bit_field): Temporarily disable call to
2479 extract_force_align_mem_bit_field.
2481 2004-11-13 Kazu Hirata <kazu@cs.umass.edu>
2483 * bitmap.c, bitmap.h, expmed.c, tree-cfg.c: Fix comment
2486 * c-cppbuiltin.c, cgraph.c, domwalk.h, except.c, gimplify.c,
2487 lambda-code.c, postreload.c, predict.c, tree-sra.c,
2488 tree-ssa-loop-manip.c, tree.c: Fix comment typos.
2490 2004-11-13 Kelley Cook <kcook@gcc.gnu.org>
2492 * doc/install.texi (automake): Correctly document that everything now
2493 will use automake 1.9.3.
2495 2004-11-13 Hans-Peter Nilsson <hp@bitrange.com>
2498 * config/mmix/mmix.c (mmix_function_outgoing_value): Handle
2499 TImode. Sorry for other non-complex larger-than-64-bit modes.
2500 * config/mmix/mmix.h (MIN_UNITS_PER_WORD): Do not define.
2502 2004-11-13 Kelley Cook <kcook@gcc.gnu.org>
2504 * doc/install.texi (automake): Document that everything now uses 1.9.
2506 2004-11-13 Bernd Schmidt <bernd.schmidt@analog.com>
2508 * cse.c (cse_insn): Stores in a libcall sequence can invalidate
2511 2004-11-13 Kazu Hirata <kazu@cs.umass.edu>
2513 * tree.h: Fix comment typos.
2515 2004-11-13 Steven Bosscher <stevenb@suse.de>
2517 * cse.c (CHEAP_REGNO): Redefine using REGNO_PTR_FRAME_P and
2518 HARD_REGISTER_NUM_P.
2520 * cselib.c (new_cselib_val): Make comment correct and more detailed.
2521 * flow.c (mark_set_1): Likewise.
2523 * except.c (duplicate_eh_region_1, duplicate_eh_region_2,
2524 duplicate_eh_regions): Remove.
2525 * except.h (duplicate_eh_regions): Remove prototype.
2526 * integrate.c (get_label_from_map, copy_rtx_and_substitute,
2527 global_const_equiv_varray): Remove.
2528 * integrate.h (get_label_from_map, copy_rtx_and_substitute,
2529 global_const_equiv_varray, set_label_in_map): Remove prototypes,
2530 extern declaration, and #define.
2531 (MAYBE_EXTEND_CONST_EQUIV_VARRAY, SET_CONST_EQUIV_DATA): Remove.
2532 (struct inline_remap): Remove.
2533 * varray.c (struct element): Remove entry for const_equiv_data.
2534 * varray.h (struct const_equiv_data): Remove.
2535 (enum varray_data_enum) <VARRAY_DATA_CONST_EQUIV>: Remove.
2536 (union varray_data_tag) <const_equiv>: Remove.
2537 (VARRAY_CONST_EQUIV_INIT, VARRAY_CONST_EQUIV,
2538 VARRAY_PUSH_CONST_EQUIV, VARRAY_TOP_CONST_EQUIV): Remove.
2540 * regstack.c (record_label_references): Remove unused function.
2542 * rtl.def (VALUE): Update comment.
2543 (LABEL_REF): Remove unused operand 2.
2544 * rtl.h (struct rtx_def): Update for removed accessor macros.
2545 (XCADVFLAGS, INSN_DEAD_CODE_P, LINE_NUMBER, CONTAINING_INSN,
2546 REG_LOOP_TEST_P): Remove.
2547 (ADDR_DIFF_VEC_FLAGS, CSELIB_VAL_PTR, LABEL_NEXTREF): Add comments.
2548 * web.c (entry_register): Don't copy REG_LOOP_TEST_P.
2549 * doc/rtl.texi (INSN_DEAD_CODE_P, REG_LOOP_TEST_P): Remove.
2551 2004-11-13 James A. Morrison <phython@gcc.gnu.org>
2552 Eric Botcazou <ebotcazou@libertysurf.fr>
2555 * config/sparc/sparc.c (sparc_rtx_costs): Handle the NAND vector
2557 * config/sparc/sparc.md (V64I): New macro for 64-bit modes.
2558 (V32I): New macro for 32-bit modes.
2559 (anddi3, anddi_sp32, anddi_sp64, and_not_di_sp32, and_not_di_sp64,
2560 iordi3, iordi3_sp32, iordi_sp64, or_not_di_sp32, or_not_di_sp64,
2561 xordi3, xordi3_sp32, xordi3_sp64, {AND, IOR, XOR} DI splitter,
2562 xor_not_di_sp32, xordi_not_di_sp64, one_cmpldi2, one_cmpldi_sp32,
2563 one_cmpldi_sp64): Use V64I instead of DI.
2564 (andsi3, andsi_sp32, andsi_sp64, and_not_si, iorsi3, or_not_si,
2565 xorsi3, xor_not_si, one_cmplsi2): Use V32I instead of SI.
2566 (addv2si3, addv4hi3, addv2hi3): Remove % modifier.
2567 (nandv64i_vis, nandv32i_vis): New patterns.
2569 2004-11-12 Mike Stump <mrs@apple.com>
2571 * Makefile.in: Add html support.
2572 * java/Make-lang.in: Likewise.
2573 * fortran/Make-lang.in: Likewise.
2574 * treelang/Make-lang.in: Likewise.
2575 * doc/install.texi: Likewise.
2576 * doc/makefile.texi: Likewise.
2577 * doc/sourcebuild.texi: Likewise.
2579 2004-11-13 Kazu Hirata <kazu@cs.umass.edu>
2581 * tree-ssa-loop-manip.c: Fix a comment typo.
2583 2004-11-12 Mike Stump <mrs@apple.com>
2585 * doc/cppinternals.texi (Index): Fix html generation with makeinfo by
2586 renaming this node to Concept Index.
2587 * doc/gccint.texi (Index): Likewise. Also minor formatting tweaks
2588 to more closely match gcc.texi.
2590 2004-11-12 Jeff Law <law@redhat.com>
2592 * tree-cfg.c (hashtab.h): Include.
2593 (struct edge_to_case_leader_elt): New structure.
2594 (edge_to_case_leader): New.
2595 (edge_to_case_leader_hash): New hashtable hasing function.
2596 (edge_to_case_leader_eq): New hashtable equality function.
2597 (record_switch_edge): New function.
2598 (get_case_leader_for_edge, get_case_leader_for_edge): New functions.
2599 (make_switch_expr_edges): Build the edge-to-case-leader
2600 hash table. Tear down the hash table when we're done.
2601 (cleanup_dead_labels): Use CASE_LEADER_OR_LABEL instead of
2603 (tree_node_can_be_shared): Allow sharing of CASE_LABEL_EXPR nodes.
2604 (tree_redirect_edge_and_branch, case SWITCH_EXPR): Update
2605 to use new concept of case leaders to reduce overhead of
2606 redirecting outgoing edges from switch statements.
2607 * tree.c (get_case_label): New function.
2608 * tree.h (CASE_LABEL): Define in terms of get_case_label.
2609 (CASE_LEADER_OR_LABEL): Define.
2611 2004-11-12 Ziemowit Laski <zlaski@apple.com>
2613 * varasm.c (output_addressed_constants): For CONST_DECLs,
2614 output the initializer if present.
2616 2004-11-12 Ziemowit Laski <zlaski@apple.com>
2618 * config/rs6000/darwin.h: Fix confusing typo in comment.
2620 2004-11-12 Devang Patel <dpatel@apple.com>
2622 * optabs.c (vector_compare_rtx): Use COMPARISON_CLASS_P.
2624 2004-11-12 Devang Patel <dpatel@apple.com>
2626 * tree-if-conv.c (clean_predicate_lists): Use loop header
2629 2004-11-12 Richard Henderson <rth@redhat.com>
2632 * config/i386/i386.h (TARGET_96_ROUND_53_LONG_DOUBLE): New.
2633 * config/i386/freebsd.h (SUBTARGET_OVERRIDE_OPTIONS): Remove.
2634 (TARGET_96_ROUND_53_LONG_DOUBLE): New.
2635 * config/i386/i386-modes.def (XF): Use it.
2637 2004-11-11 Geoffrey Keating <geoffk@apple.com>
2639 * Makefile.in (macro_list): Use move-if-change to avoid spurious
2642 2004-11-12 Mark Mitchell <mark@codesourcery.com>
2645 * passes.c (rest_of_decl_compilation): Do not look at DECL_RTL
2646 when deciding whether to pass a variable to
2647 cgraph_varpool_finalize_decl or assemble_variable.
2648 * toplev.c (check_global_declarations): Do not clear DECL_RTL.
2650 2004-11-12 Kazu Hirata <kazu@cs.umass.edu>
2652 * tree-vectorizer.c: Fix a comment typo.
2654 2004-11-12 Bernd Schmidt <bernd.schmidt@analog.com>
2656 * genconfig.c (walk_insn_part): Look at match_dups inside a label_ref.
2658 2004-11-12 Diego Novillo <dnovillo@redhat.com>
2660 * tree-scalar-evolution.c (analyzable_condition): Remove
2661 superfluous TREE_THIS_VOLATILE checks on SSA_NAMEs.
2663 2004-11-12 Ralf Corsepius <ralf.corsepius@rtems.org>
2665 * config/rs6000/t-rtems (MULTILIB_NEW_EXCEPTIONS_ONLY):
2666 Remove m505/roe multilib variant.
2668 2004-11-12 Eric Botcazou <ebotcazou@libertysurf.fr>
2670 * expr.c (emit_group_load) <CONCAT>: Use extract_bit_field
2671 to load from the stack.
2673 2004-11-12 Richard Henderson <rth@redhat.com>
2675 * toplev.c (floor_log2): Rename from floor_log2_wide, use CLZ_HWI.
2676 (exact_log2): Rename from exact_log2_wide, use CTZ_HWI.
2677 * toplev.h (FL2T__): Remove.
2678 (CLZ_HWI): Rename from FL2T_CLZ__.
2680 (floor_log2): Simplify.
2683 2004-11-12 Sebastian Pop <pop@cri.ensmp.fr>
2685 * tree-data-ref.c (analyze_subscript_affine_affine): Correctly
2686 compute the first overlapping iterations.
2688 2004-11-12 Sebastian Pop <pop@cri.ensmp.fr>
2691 * tree-data-ref.c (estimate_niter_from_size_of_data): Ensure
2692 that arguments of EXACT_DIV_EXPR are INTEGER_CST.
2694 2004-11-12 Steven Bosscher <stevenb@suse.de>
2696 PR tree-optimization/18419
2697 * tree-ssa.c (walk_use_def_chains_1): Make the visited map a
2698 pointer set instead of a bitmap.
2699 (walk_use_def_chains): Create, pass and clean up that pointer_set.
2701 * tree-ssa-alias.c (struct alias_info): Make the ssa_names_visited
2703 (init_alias_info): Allocate and zero it here.
2704 (delete_alias_info): Delete it here.
2705 (collect_points_to_info_for): Use it.
2707 2004-11-11 Kazu Hirata <kazu@cs.umass.edu>
2709 * alias.c (record_alias_subset, addr_side_effect_eval):
2711 * alias.h: Remove the prototype for record_alias_subset.
2712 * expr.h: Remove the commented-out prototype for
2713 record_alias_subset.
2714 * rtl.h: Remove the prototype for addr_side_effect_eval.
2716 * cfglayout.c (choose_inner_scope): Make it static.
2717 * rtl.h: Remove the corresponding prototype.
2719 * cfgloopmanip.c (update_single_exits_after_duplication,
2720 unloop): Make them static.
2721 * cfgloop.h: Remove the corresponding prototypes.
2723 * c-typeck.c (c_size_in_bytes, record_maybe_used_decl):
2725 * c-tree.h: Remove the corresponding prototypes.
2727 * explow.c (round_push): Make it static.
2728 * expr.h: Remove the corresponding prototype.
2730 * varasm.c (get_named_section_flags, decl_tls_model): Make
2732 * output.h: Remove the prototype for get_named_section_flags.
2733 * tree.h: Remove the prototype for decl_tls_model.
2735 2004-11-11 Kazu Hirata <kazu@cs.umass.edu>
2737 * function.c (expand_function_end): Remove an "if" statement
2738 that always triggers.
2739 * stmt.c (expand_null_return_1): Likewise.
2741 2004-11-11 James E. Wilson <wilson@specifixinc.com>
2743 * config/ia64/ia64.h (HARD_REGNO_NREGS): Handle XCmode.
2744 (HARD_REGNO_MODE_OK, MODES_TIEABLE_P, SECONDARY_MEMORY_NEEDED,
2745 CLASS_MAX_NREGS): Likewise.
2747 2004-11-11 Zdenek Dvorak <dvorakz@suse.cz>
2749 PR tree-optimization/17742
2750 * tree-scalar-evolution.c (follow_ssa_edge_in_rhs): Handle
2751 MINUS_EXPR correctly.
2753 2004-11-11 Sebastian Pop <pop@cri.ensmp.fr>
2755 * tree-scalar-evolution.c (follow_ssa_edge_in_condition_phi):
2756 Give up as soon as the evolution is known not computable.
2758 2004-11-11 Nathan Sidwell <nathan@codesourcery.com>
2761 * config/rs6000/rs6000.c (mask64_2_operand): Stub to call
2762 mask64_1or2_operand.
2763 (mask64_1or2_operand): Broken out of mask64_2_operand, add flag
2764 to spot rlwinm opportunities.
2765 (and64_2_operand): Use mask_1or2_operand.
2766 * config/rs6000/rs6000.md (anddi3): Use rlwinm when possible.
2768 2004-11-11 Dorit Naishlos <dorit@il.ibm.com>
2770 * tree-vectorizer.c (update_phi_nodes_for_guard): Call reverse_phis.
2771 (vect_update_ivs_after_vectorizer): Update function documentation.
2772 Avoid quadratic behavior and direct write to PHI_ARG_DEF.
2774 2004-11-11 Kazu Hirata <kazu@cs.umass.edu>
2776 * config/arm/arm.c: Fix a comment typo.
2778 2004-11-11 Nathan Sidwell <nathan@codesourcery.com>
2780 * bitmap.h (nBITMAP_WORD_BITS): Remove.
2781 (BITMAP_WORD_BITS): Force unsigned by use of 1u.
2782 (BITMAP_ELEMENT_WORDS, BITMAP_ELEMENT_ALL_BITS): Remove
2784 (bitmap_first_set_bit): Return unsigned, use ctzl.
2785 (bitmap_last_set_bit): Remove.
2786 * bitmap.c (bitmap_element_zerop, bitmap_copy): Make iterator
2788 (bitmap_first_set_bit): Return unsigned, require non-empty bitmap,
2789 remove special case code for two word elements.
2790 (bitmap_last_set_bit): Remove.
2791 * ra-build.c (livethrough_conflicts_bb): Replace unnecessary use of
2792 bitmap_first_set_bit with bitmap_empty_p.
2793 * tree-outof-ssa.c (analyze_edges_for_bb): Likewise.
2794 * tree-ssa-pre.c (bitmap_print_value): Use simple flag rather than
2795 bitmap_last_bit_set.
2797 2004-11-11 Nathan Sidwell <nathan@codesourcery.com>
2800 * config/rs6000/rs6000.md: Add DF & SF reg move peepholes.
2803 * config/rs6000/rs6000.c (rs6000_generate_compare): Generate an
2804 unsigned equality compare when we know the operands are unsigned.
2806 2004-11-10 Peter S. Mazinger <ps.m@gmx.net>
2808 * config/mips/linux.h (LINUX_TARGET_OS_CPP_BUILTINS): Define
2809 __PIC__ and __pic__ only if TARGET_ABICALLS.
2810 (SUBTARGET_CPP_SPECS): Don't define or undefine __PIC__ and __pic__.
2811 (SUBTARGET_ASM_SPECS): Don't pass -non_shared to assembler; pass
2812 -KPIC only if not -mno-abicalls.
2814 * config/alpha/linux.h, config/arm/linux-elf.h, config/pa/pa-linux.h
2815 * config/sparc/linux.h, config/sparc/linux64.h
2816 (TARGET_OS_CPP_BUILTINS): Define __PIC__ and __pic__ if flag_pic.
2818 * config/arm/linux-gas.h (CPP_SPEC): Don't define __PIC__ or __pic__.
2819 * config/pa/pa/linux.h (CPP_SPEC): Likewise.
2820 * config/sparc/linux.h (CPP_SUBTARGET_SPEC): Likewise.
2821 * config/sparc/linux64.h (CPP_SUBTARGET_SPEC): Likewise.
2823 2004-11-11 Paul Brook <paul@codesourcery.com>
2825 * config/arm/arm.c (arm_compute_save_reg0_reg12_mask): Save PIC
2826 register if current_function_uses_pic_offset_table is set.
2828 2004-11-10 David Edelsohn <edelsohn@gnu.org>
2830 * config/rs6000/rs6000.md (define_attr "type"): Add two and three.
2831 Change multi-instruction sequences to new attribute.
2832 * config/rs6000/{40x.md,440.md,603.md,6xx.md,
2833 7450.md,7xx.md,8540.md,mpc.md,power4.md,power5.md,
2834 rios1.md,rios2.md,rs64.md}: Add descriptions for two and three.
2836 2004-11-10 Daniel Berlin <dberlin@dberlin.org>
2838 * tree-data-ref.c (build_classic_dist_vector): If either loop
2839 is outside of the nest we asked about, the dependence can't
2841 (build_classic_dir_vector): Ditto.
2843 2004-11-10 Zdenek Dvorak <dvorakz@suse.cz>
2845 * tree-ssa-loop-ivopts.c (get_address_cost): Add address elements in
2847 (force_var_cost): Determine cost of addition and multiplication more
2849 (get_computation_cost_at): Add cost for computing address elements to
2852 * fold-const.c (fold): Attempt to use ptr_difference_const whenever
2853 one of the arguments of MINUS_EXPR is an address.
2854 (split_address_to_core_and_offset): New function.
2855 (ptr_difference_const): Handle case when one of the operands is a
2857 * tree-ssa-loop-ivopts.c (determine_base_object): Fold &*addr.
2858 (ptr_difference_cost): Pass addresses instead of objects to
2859 ptr_difference_const.
2861 2004-11-10 Nathan Sidwell <nathan@codesourcery.com>
2863 * tree.c (tree_check_failed): Emit general error if the list of
2864 node types is empty.
2866 2004-11-10 Eric Botcazou <ebotcazou@libertysurf.fr>
2868 * config/sparc/sparc.c (function_arg_union_value): New 'slotno'
2869 argument. When the union is passed in the 6th slot, build a
2870 PARALLEL with only one element.
2871 (function_arg): Adjust call to function_arg_union_value.
2872 (function_value): Likewise.
2874 2004-11-10 Fariborz Jahanian <fjahanian@apple.com>
2876 PR tree-optimization/17892
2877 * tree-ssa-dom.c (unsafe_associative_fp_binop): Add test for
2878 MINUS_EXPR operator.
2880 2004-11-10 James A. Morrison <phython@gcc.gnu.org>
2883 config/sparc/sparc.md (addsi3, subsi3): Set "fptype" attribute.
2884 (addv2si, addv4hi, addv2hi, subv2si, subv4hi, subv2hi): New patterns.
2886 2004-11-10 Steven Bosscher <stevenb@suse.de>
2888 * basic-block.h (XMALLOC_REG_SET, XFREE_REG_SET): New.
2889 (struct basic_block_def): Remove local_set and cond_local_set
2890 fields. Update comment for global_live_at_start.
2891 * flow.c (calculate_global_regs_live): Allocate local_sets and
2892 cond_local_sets here as arrays of bitmaps previously stored in
2893 bb->local_set and bb->cond_local_set. Use xmalloc instead of
2894 obstack allocated bitmaps.
2896 2004-11-09 H.J. Lu <hongjiu.lu@intel.com>
2899 * config/ia64/unwind-ia64.h (_Unwind_FindTableEntry): Mark it
2902 * unwind-dw2.c (_Unwind_FindTableEntry): Removed.
2904 2004-11-09 Jeff Law <law@redhat.com>
2906 * cfganal.c (flow_dfs_compute_reverse_execute): Accept new
2907 argument holding last unvisited block. Start search for
2908 unvisited blocks at LAST_UNVISITED rather than EXIT_BLOCK.
2909 (connect_infinite_loops_to_exit): Supply last unvisited block
2910 to flow_dfs_compute_reverse_execute.
2912 2004-10-22 Aldy Hernandez <aldyh@redhat.com>
2914 * config/rs6000/rs6000.md (fix_truncdfsi2): Handle e500
2916 (floatunssidf2): Same.
2918 ("extendsfdf2"): New expander.
2919 (*extendsfdf2_fpr): Rename.
2920 (*truncdfsf2_fpr): Same.
2921 (*negdf2_fpr): Same.
2922 (*absdf2_fpr): Same.
2923 (*nabsdf2_fpr): Same.
2924 (*adddf3_fpr): Same.
2925 (*subdf3_fpr): Same.
2926 (*muldf3_fpr): Same.
2927 (*divdf3_fpr): Same.
2929 * config/rs6000/spe.md ("spe_extendsfdf2"): Remove FIXME comment.
2930 ("spe_fix_truncdfsi2"): Same.
2931 (spe_floatunssidf2): Same.
2932 (spe_floatsidf2): Same.
2934 2004-11-09 Joseph S. Myers <joseph@codesourcery.com>
2937 * c-common.c (fname_decl): Don't use line number of decl in
2940 2004-11-09 Ulrich Weigand <uweigand@de.ibm.com>
2942 * config/s390/s390-protos.h (s390_pool_operand): Remove.
2943 * config/s390/s390.c (s390_pool_operand): Likewise.
2944 (s390_extra_constraint_str): Handle 'B' constraints.
2945 * config/s390/s390.h (CONSTRAINT_LEN): Handle 'B' constraints.
2946 * config/s390/s390.md: Document 'B' constraints.
2947 ("*cmpdi_cct", "*cmpsi_cct"): Use 'B' constraint instead of
2948 s390_pool_operand to prevent insns with two literal pool
2949 references. Make pattern commutative.
2950 ("*cmpdi_ccu", "*cmpsi_ccu", "*cmphi_ccu", "*cmpqi_ccu"): Use
2951 'B' constraint instead of s390_pool_operand.
2953 2004-11-09 Kazu Hirata <kazu@cs.umass.edu>
2955 * tree-cfg.c (create_bb): Remove unnecessary memset.
2957 2004-11-09 Kazu Hirata <kazu@cs.umass.edu>
2959 * tree-ssa-threadupdate.c (copy_phis_to_block): Remove.
2960 (thread_block): Call flush_pending_stmt instead of
2963 2004-11-09 Kazu Hirata <kazu@cs.umass.edu>
2965 * loop-iv.c (iv_number_of_iterations): Make it static.
2966 * cfgloop.h: Remove the corresponding prototype.
2968 2004-11-09 Kazu Hirata <kazu@cs.umass.edu>
2970 * function.c (combine_temp_slots, assign_parms,
2971 expand_pending_sizes): Make them static.
2972 * tree.h: Remove the corresponding prototypes.
2974 2004-11-09 Kazu Hirata <kazu@cs.umass.edu>
2976 * emit-rtl.c (copy_most_rtx): Remove.
2977 * rtl.h: Remove the corresponding prototype.
2979 2004-11-09 Kazu Hirata <kazu@cs.umass.edu>
2981 * cfgloop.c (flow_loops_update): Remove.
2982 * cfgloop.h: Remove the corresponding prototype.
2984 2004-11-09 Kazu Hirata <kazu@cs.umass.edu>
2986 * conflict.c (mark_reg, conflict_graph_compute): Remove.
2987 * basic-block.h: Remove the prototype for
2988 conflict_graph_compute.
2990 2004-11-09 Kazu Hirata <kazu@cs.umass.edu>
2992 * tree-if-conv.c (add_to_dst_predicate_list): Change the
2993 second argument to basic_block.
2994 (tree_if_convert_cond_expr): Update call sites.
2996 2004-11-09 Kazu Hirata <kazu@cs.umass.edu>
2998 * fold-const.c (pedantic_non_lvalue): Make it static.
2999 * tree.h: Remove the corresponding prototype.
3001 2004-11-09 Kazu Hirata <kazu@cs.umass.edu>
3003 * optabs.c (prepare_operand): Make it static.
3004 * optabs.h: Remove the corresponding prototype.
3006 2004-11-09 Kazu Hirata <kazu@cs.umass.edu>
3008 * reload1.c (reloads_conflict, gen_reload): Make them static.
3009 * reload.h: Remove the corresponding prototypes.
3011 2004-11-09 Kazu Hirata <kazu@cs.umass.edu>
3013 * reload.c (refers_to_mem_for_reload_p,
3014 refers_to_regno_for_reload_p): Make them static.
3015 * reload.h: Remove the corresponding prototypes.
3017 2004-11-09 James A. Morrison <phython@gcc.gnu.org>
3018 Eric Botcazou <ebotcazou@libertysurf.fr>
3021 * doc/md.texi (SPARC constraints): Document 'Y' constraint.
3022 * config/sparc/sparc-modes.def: Add vector modes of 4 and 8 bytes.
3023 * config/sparc/sparc.c (sparc_vector_mode_supported_p): New function.
3024 (TARGET_VECTOR_MODE_SUPPORTED_P): Set to sparc_vector_mode_supported_p.
3025 (fp_zero_operand): Accept MODE_VECTOR_INT modes.
3026 (input_operand): Accept CONST_VECTOR with MODE_VECTOR_INT modes.
3027 (sparc_cannot_force_const_mem): Return false for CONST_VECTOR.
3028 (sparc_init_modes): Set sparc_mode_class to SF_MODE or DF_MODE for
3029 MODE_VECTOR_INT modes.
3030 (sparc_extra_constraint_check): Add new constraint 'Y'.
3031 * config/sparc/sparc.h: Define UNITS_PER_SIMD_WORD to 8 for TARGET_VIS.
3032 * config/sparc/sparc.md (V32): New mode macro for 32-bit modes.
3033 (V64): New mode macro for 64-bit modes.
3034 (movsf): Use V32 for mode instead of SF.
3035 (movsf_insn_vis): Use V32 for mode instead of SF. Add 'Y' constraint
3036 alongside 'G' constraint.
3037 (movdf): Use V64 for mode instead of DF.
3038 (movdf_insn_v9only_vis, modf_insn_sp64_vis): Use V64 for mode instead
3039 of DF. Add 'Y' constraint alongside 'G' constraint.
3040 (multi-isn and misaligned mems DFmode splitters): Use V64 for mode
3043 2004-11-09 Ulrich Weigand <uweigand@de.ibm.com>
3045 * config/s390/s390.c (s390_select_ccmode): Return CCAPmode for
3046 integer NEG and ABS.
3047 * config/s390/s390.md ("*negdi2_64"): Fix op_type attribute.
3048 ("*negdi2_31"): Reimplement using a splitter.
3049 ("*negdi2_cc", "*negdi2_cconly"): New insns.
3050 ("*negdi2_sign", "*negdi2_sign_cc"): Likewise.
3051 ("*negsi2_cc", "*negsi2_cconly"): Likewise.
3052 ("*negdf2_cc", "*negdf2_cconly"): Likewise.
3053 ("*negsf2_cc", "*negsf2_cconly"): Likewise.
3054 ("*absdi2_cc", "*absdi2_cconly"): New insns.
3055 ("*absdi2_sign", "*absdi2_sign_cc"): Likewise.
3056 ("*abssi2_cc", "*abssi2_cconly"): Likewise.
3057 ("*absdf2_cc", "*absdf2_cconly"): Likewise.
3058 ("*abssf2_cc", "*abssf2_cconly"): Likewise.
3059 ("*negabsdi2_cc", "*negabsdi2_cconly"): New insns.
3060 ("*negabsdi2_sign", "*negabsdi2_sign_cc"): Likewise.
3061 ("*negabssi2_cc", "*negabssi2_cconly"): Likewise.
3062 ("*negabsdf2_cc", "*negabsdf2_cconly"): Likewise.
3063 ("*negabssf2_cc", "*negabssf2_cconly"): Likewise.
3065 2004-11-09 Ulrich Weigand <uweigand@de.ibm.com>
3067 * config/s390/s390.c (s390_canonicalize_comparison): Reverse condition
3068 when eliminating an UNSPEC_CMPINT.
3069 (s390_secondary_input_reload_class): Fix test for CC register reload.
3070 (s390_secondary_output_reload_class): Likewise.
3071 (s390_expand_cmpmem): Swap operands. Use gen_cmpint.
3072 * config/s390/s390.md ("*cmpint_si", "*cmpint_di"): Remove.
3073 ("cmpint", "*cmpint_cc", "*cmpint_sign", "*cmpint_sign_cc"): New
3074 insn patterns with splitters.
3076 2004-11-09 David Edelsohn <edelsohn@gnu.org>
3078 * config/rs6000/rs6000.c (rs6000_rtx_costs): Add EQ, GTU, and LTU.
3079 * config/rs6000/rs6000.md (sCC): Split GTU and LTU patterns.
3081 2004-11-09 Kazu Hirata <kazu@cs.umass.edu>
3083 * tree-phinodes.c (phi_reverse): New.
3084 * tree-cfg.c (tree_make_forwarder_block, tree_duplicate_bb):
3086 * tree-flow.h: Add a prototype for phi_reverse.
3088 2004-11-09 Kazu Hirata <kazu@cs.umass.edu>
3090 * tree-ssa-loop-ivopts.c: Fix a comment typo.
3092 2004-11-09 James A. Morrison <phython@gcc.gnu.org>
3095 * config/host-linux.c (TRY_EMPTY_VM_SPACE): Add __sparc__
3098 2004-11-09 Joseph S. Myers <joseph@codesourcery.com>
3100 * builtins.c, c-common.c, c-decl.c, c-format.c: Say "argument"
3101 instead of "arg" in diagnostics.
3103 2004-11-09 Joseph S. Myers <joseph@codesourcery.com>
3105 * builtins.c, c-common.c, c-decl.c, c-format.c, c-format.h,
3106 c-parse.in, c-pch.c, c-pragma.c, collect2.c, final.c, gcc.c,
3107 gcov.c, opts.c, pretty-print.h, protoize.c, reg-stack.c, rtl.c,
3108 tlink.c, config/alpha/alpha.c, config/arc/arc.c, config/arm/arm.c,
3109 config/avr/avr.c, config/c4x/c4x.c, config/darwin.c,
3110 config/frv/frv.c, config/h8300/h8300.c, config/i386/i386.c,
3111 config/i386/winnt.c, config/ia64/ia64.c, config/ip2k/ip2k.c,
3112 config/iq2000/iq2000.c, config/m32r/m32r.c,
3113 config/m68hc11/m68hc11.c, config/m68k/m68k.c, config/m68k/m68k.h,
3114 config/mcore/mcore.c, config/mips/mips.c, config/mmix/mmix.c,
3115 config/ns32k/ns32k.c, config/rs6000/host-darwin.c,
3116 config/rs6000/rs6000.c, config/s390/s390.c, config/sh/sh.c,
3117 config/sh/symbian.c, config/stormy16/stormy16.c,
3118 config/v850/v850.c: Avoid "`" as left quote, using "'" or %q, %<
3119 and %> as appropriate. Use %' as apostrophe in diagnostics where
3120 applicable. Use %< and %> in place of '' quotes where applicable.
3121 Use %qs in place of %<%s%>. Consistently quote __builtin function
3124 2004-11-09 Hans-Peter Nilsson <hp@bitrange.com>
3126 * gdbinit.in (pbb, pbm): New macros.
3128 2004-11-08 Jeff Law <law@redhat.com>
3130 * cfg.c (redirect_edge_succ_nodup): Use find_edge rather than
3131 implementing it inline.
3133 * cfganal.c (find_edge): Search pred->succs or succ->preds,
3134 whichever is shorter.
3136 2004-11-08 Kazu Hirata <kazu@cs.umass.edu>
3138 * passes.c (rest_of_handle_jump): Remove dead code.
3140 2004-11-08 Kazu Hirata <kazu@cs.umass.edu>
3142 * tree-cfg.c (thread_jumps): Speed up by keeping a pointer to
3143 the last used element in the worklist.
3145 2004-11-08 Kazu Hirata <kazu@cs.umass.edu>
3147 * tree-inline.c (remap_save_expr): Make it static.
3148 * tree-inline.h: Remove the corresponding prototype.
3150 2004-11-08 Kazu Hirata <kazu@cs.umass.edu>
3152 * tree-ssa-loop-niter.c (upper_bound_in_type,
3153 lower_bound_in_type): Make them static.
3154 * tree.h: Remove the corresponding prototypes.
3156 2004-11-08 Kazu Hirata <kazu@cs.umass.edu>
3158 * tree-ssa-live.c (tpa_init, pop_best_coalesce): Make them
3160 * tree-ssa-live.h: Remove the corresponding prototypes.
3162 2004-11-08 Kazu Hirata <kazu@cs.umass.edu>
3164 * tree-if-conv.c (tree_if_conversion): Make it static.
3165 * tree-flow.h: Remove the corresponding prototype.
3167 2004-11-08 Kazu Hirata <kazu@cs.umass.edu>
3169 * tree-ssa-operands.c (build_ssa_operands): Make it static.
3170 * tree-flow.h: Remove the corresponding prototype.
3172 2004-11-08 Andrew Pinski <pinskia@physics.uc.edu>
3175 * tree-inline.c (copy_body_r): Change "t = t" to empty
3176 statement instead of "t".
3178 2004-11-08 Kazu Hirata <kazu@cs.umass.edu>
3180 * modulo-sched.c (create_partial_schedule,
3181 free_partial_schedule, reset_partial_schedule,
3182 ps_add_node_check_conflicts, rotate_partial_schedule): Make
3185 2004-11-08 Richard Henderson <rth@redhat.com>
3187 * expmed.c (extract_force_align_mem_bit_field): Correct handling at
3190 2004-11-08 Kazu Hirata <kazu@cs.umass.edu>
3192 * sched-deps.c (add_insn_mem_dependence): Make it static.
3193 * sched-int.h: Remove the corresponding prototypes.
3195 2004-11-08 Kazu Hirata <kazu@cs.umass.edu>
3197 * flow.c (allocate_bb_life_data): Make it static.
3198 * basic-block.h: Remove the corresponding prototype.
3200 2004-11-08 Kazu Hirata <kazu@cs.umass.edu>
3202 * calls.c (split_complex_values, split_complex_types): Make
3204 * expr.h: Remove the corresponding prototypes.
3206 2004-11-08 Richard Earnshaw <rearnsha@arm.com>
3208 * arm.c (arm_handle_notshared_attribute): Wrap declaration and use
3209 with #if TARGET_DLLIMPORT_DECL_ATTRIBUTES.
3211 2004-11-08 Kazu Hirata <kazu@cs.umass.edu>
3213 * tree-if-conv.c (tree_if_convert_cond_expr): Remove two "if"
3214 statements that always trigger.
3216 2004-11-08 Kazu Hirata <kazu@cs.umass.edu>
3218 * tree-cfg.c, tree-if-conv.c, tree-into-ssa.c,
3219 tree-scalar-evolution.c, tree-ssa-loop-im.c,
3220 tree-ssa-loop-ivopts.c, tree-ssa-loop-manip.c, tree-ssa.c,
3221 tree-vectorizer.c: Replace TREE_CHAIN with PHI_CHAIN where
3224 2004-11-08 Ben Elliston <bje@au.ibm.com>
3226 * cgraph.h (cgraph_calls_p): Remove.
3227 * cgraph.c (cgraph_calls_p): Likewise.
3229 * varray.h (varray_copy): Remove.
3230 * varray.c (varray_copy): Likewise.
3232 2004-11-07 Andrew Pinski <pinskia@physics.uc.edu>
3235 * config/darwin.c (machopic_indirect_data_reference):
3236 Call gen_macho_high and gen_macho_low instead of
3237 checking the mode and calling gen_macho_high_di directly.
3238 * config/rs6000/rs6000.c (rs6000_emit_move): Likewise.
3239 * config/rs6000/rs6000.md: Move most of TARGET_MACHO expand/insns
3241 (movdf_low, movsf_low, movsf_low_st, movsi_low, macho_correct_pic,
3242 load_macho_picbase, macho_low, macho_high): Removed.
3243 (builtin_setjmp_receiver): Call gen_macho_high and
3244 gen_macho_low instead of checking the mode and calling
3245 gen_macho_high_di directly.
3246 * config/rs6000/darwin.md (load_macho_picbase_di): Use the MD constant.
3247 (movdf_low_si, movsf_low_si, movsf_low_st_si, movsi_low_st):
3248 Moved from rs6000.md.
3249 (macho_high): New expander.
3250 (macho_high_si): Renamed version of macho_high from rs6000.md.
3251 (macho_low): New expander.
3252 (macho_low_si): Renamed version of macho_low from rs6000.md.
3253 (load_macho_picbase): New expander.
3254 (load_macho_picbase_si): Renamed version of load_macho_picbase
3256 (macho_correct_pic): New expander.
3257 (macho_correct_pic_si): Renamed version of macho_correct_pic
3260 2004-11-07 Joseph S. Myers <joseph@codesourcery.com>
3262 * c-decl.c (finish_struct): Use complete sentences for diagnostic
3263 for structures or unions with no members or named members.
3265 2004-11-07 Joseph S. Myers <joseph@codesourcery.com>
3267 * c-typeck.c (build_unary_op): Replace unreachable diagnostic for
3268 taking address of bit-field by assertion.
3270 2004-11-06 Ulrich Weigand <uweigand@de.ibm.com>
3272 * config/s390/s390.md (attribute "op_type"): Default to "NN".
3273 (attribute "atype"): Default to "agen".
3274 (attribute "length"): Default to 6.
3275 (define_asm_attibutes): Remove.
3276 ("movti", "*movdi_64", "*movdi_31", "*movsi_zarch", "*movsi_esa",
3277 "*movhi", "*movqi", "*movdf_64", "*movdf_31", "movsf",
3278 "*clc", "*mvc", "*nc", "*oc", "*xc", "*xc_zero"):
3279 Do not set type attribute to "cs" where already default.
3280 ("*cmpint_si", "*cmpint_di", "fix_truncdfsi2_ibm", "floatsidf2_ibm",
3282 Do not set type attribute to "other" where already default.
3283 ("movti", "*movdi_64", "*movdi_31", "*movdf_31",
3284 "*strlendi", "*strlensi",
3285 "*movmem_long_64", "*movmem_long_31",
3286 "*clrmem_long_64", "*clrmem_long_31",
3287 "*cmpmem_long_64", "*cmpmem_long_31",
3288 "*cmpint_si", "*cmpint_di",
3289 "addti3", "*adddi3_31z", "*adddi3_31",
3290 "subti3", "*subdi3_31z", "*subdi3_31", "*negdi2_31",
3291 "*sconddi", "*scondsi", "*sconddi_neg", "*scondsi_neg",
3292 "fix_truncdfsi2_ibm", "floatsidf2_ibm", "extendsfdf2_ibm",
3293 "*pool_entry", "pool_align", "pool_section_start",
3294 "pool_section_end", "main_pool", "reload_base_31", "pool"):
3295 Do not set op_type attribute to "NN" where already default.
3296 ("*extractqi", "*extracthi", "*zero_extendhisi2_31",
3297 "*zero_extendqisi2_31", "*zero_extendqihi2_31",
3298 "fix_truncdfsi2_ibm", "floatsidf2_ibm"):
3299 Do not set atype attribute to "agen" where already default.
3300 ("*movmem_short", "*clrmem_short", "*cmpmem_short"): Don't set op_type.
3302 2004-11-06 Richard Sandiford <rsandifo@redhat.com>
3304 * config/mips/t-iris6 (tp-bit.c): Fix target filename.
3306 2004-11-06 Richard Sandiford <rsandifo@redhat.com>
3309 * config/mips/mips.h (TARGET_CPU_CPP_BUILTINS): Don't define the
3310 R3000 and R4000 macros on IRIX.
3312 2004-11-06 Andreas Schwab <schwab@suse.de>
3315 * config/rs6000/altivec.h: Replace bool by __bool and pixel by
3318 2004-11-06 Kazu Hirata <kazu@cs.umass.edu>
3320 * tree-ssa-copyrename.c (rename_ssa_copies): Make it static.
3322 2004-11-06 Ulrich Weigand <uweigand@de.ibm.com>
3324 * config/s390/2064.md ("z_int", "z_agen"): Ensure the condition
3325 matches no insns already matched by other reservations.
3326 * config/s390/2084.md ("x_int", "x_agen"): Ensure the condition
3327 matches no insns already matched by other reservations.
3328 ("x_ss"): Remove, replace by ...
3329 ("x_cs"): ... this new reservation. Check type instead of op_type.
3330 Update bypasses to use x_cs instead of x_ss.
3331 ("x_nn"): Remove, replace by ...
3332 ("x_other"): ... this new reservation. Check type instead of op_type.
3333 Add x_other and x_branch to bypasses.
3334 ("x_vs"): New reservation.
3335 * config/s390/s390.md (attribute "type"): Default according to op_type.
3336 ("*execute"): Set type to "cs".
3338 2004-11-06 Kazu Hirata <kazu@cs.umass.edu>
3340 * fold-const.c (non_lvalue): Don't construct NON_LVALUE_EXPR
3341 if we are in GIMPLE.
3343 2004-11-06 Hans-Peter Nilsson <hp@bitrange.com>
3345 PR rtl-optimization/17933
3346 * rtlanal.c (dead_or_set_regno_p): Break out common code to...
3347 (covers_regno_p): New function. Handle SETs of PARALLEL,
3348 and defer the rest to...
3349 (covers_regno_no_parallel_p): New function.
3351 2004-11-06 Eric Botcazou <ebotcazou@libertysurf.fr>
3353 * config/sparc/sparc.c (function_arg_record_value_1): Skip
3354 fields with zero length.
3355 (function_arg_record_value_2): Likewise.
3356 (function_arg_record_value_3): Use smallest_mode_for_size
3357 instead of mode_for_size.
3358 (function_arg_union_value): Return naked register for unions
3361 2004-11-06 Eric Botcazou <ebotcazou@libertysurf.fr>
3363 * config/sparc/sparc.c (scan_record_type): Handle vector types.
3364 (function_arg_slotno): Handle vector types specially.
3365 (function_arg_record_value_1): Split fields with vector type and
3366 BLKmode into their subparts.
3367 (function_arg_record_value_2): Likewise. Be prepared to handle
3368 more than 2 registers per field.
3369 (function_arg_union_value): Increment regno inside the loop.
3370 (function_arg_vector_value): New function.
3371 (function_arg): Use it to split fields with vector type and
3372 BLKmode into their subparts and build a PARALLEL. Treat
3373 other vector types like floats.
3374 (function_value): Likewise.
3375 (sparc_pass_by_reference): Handle vector types.
3376 (sparc_return_in_memory): Likewise.
3378 2004-11-06 Kazu Hirata <kazu@cs.umass.edu>
3380 * tree-cfg.c (find_taken_edge_cond_expr): Remove an "if"
3381 statement that never triggers.
3383 2004-11-06 Ulrich Weigand <uweigand@de.ibm.com>
3385 * config/s390/2064.md ("z_o2", "z_o3"): Remove.
3386 * config/s390/2084.md ("x_o2", "x_o3"): Remove.
3387 ("x_fdivd"): Use also for fsqrtd type.
3388 ("x_fdivs"): Use also for fsqrts type.
3389 * config/s390/s390.md (attribute "type"): Remove "o2" and "o3" types.
3390 ("fix_truncdfsi2_ieee"): Set type to "ftoi".
3391 ("fix_truncdfsi2_ibm"): Set type to "other".
3392 ("floatdidf2", "floatdisf2"): Do not clobber CC.
3393 ("floatsidf2", "floatsidf2_ieee"): Likewise.
3394 ("floatsisf2", "floatsisf2_ieee"): Likewise.
3395 ("truncdfsf2", "truncdfsf2_ieee"): Only allow "register_operand".
3396 ("truncdfsf2_ibm"): Only allow "nonimmediate_operand". Use LER
3398 ("extendsfdf2_ibm"): Do not set atype. Set type to "floads".
3399 ("sqrtdf2"): Set type to "fsqrtd".
3400 ("sqrtsf2"): Set type to "fsqrts".
3402 2004-11-06 Kazu Hirata <kazu@cs.umass.edu>
3404 * tree-phinodes.c (remove_all_phi_nodes_for): Speed up using a
3405 pointer to the last PHI node in the new PHI chain.
3407 2004-11-06 Kaz Kojima <kkojima@gcc.gnu.org>
3409 * config/sh/sh.c (prepare_move_operands): Emit a use of r12
3410 for non-PIC TLS_MODEL_INITIAL_EXEC case.
3412 2004-11-06 Kazu Hirata <kazu@cs.umass.edu>
3414 * expmed.c: Fix a comment typo.
3416 2004-11-06 Aaron W. LaFramboise <aaronavay62@aaronwl.com>
3419 * config/i386/cygming.h
3420 [HAVE_GAS_WEAK] (ASM_WEAKEN_LABEL): Macro defined.
3422 2004-11-06 Kazu Hirata <kazu@cs.umass.edu>
3424 * config/sh/sh4a.md: Fix copyright.
3426 2004-11-06 Kazu Hirata <kazu@cs.umass.edu>
3428 * config/rs6000/darwin.md, config/sh/sh4a.md: Replace GNU CC
3431 2004-11-05 David Edelsohn <edelsohn@gnu.org>
3433 * config/rs6000/rs6000.md (scc patterns): Replace subfc with subf
3434 when carry not used. Suggested by Torbjorn Granlund.
3436 * config/rs6000/rs6000.c (rs6000_emit_move): Don't force_reg
3437 operand[1] unnecessarily. Suggested by Eric Christopher.
3438 (rs6000_adjust_cost): Increase latency of store to wider load.
3439 (rs6000_rtx_costs): mulli only allows 16-bit constants.
3441 2004-11-05 Stan Shebs <shebs@apple.com>
3443 * config/rs6000/rs6000.c (machopic_output_stub): Output
3444 ldu instead of lwzu for 64-bit stubs.
3446 2004-11-05 Richard Henderson <rth@redhat.com>
3448 * config/alpha/alpha.c (alpha_expand_unaligned_load): Special case
3450 (alpha_expand_unaligned_store): Likewise.
3452 2004-11-05 Richard Henderson <rth@redhat.com>
3454 * expmed.c (extract_force_align_mem_bit_field): New.
3455 (extract_split_bit_field): Call it.
3457 2004-11-05 Richard Henderson <rth@redhat.com>
3459 * ia64.md (UNSPEC_SHRP): New.
3460 (dshift_count_operand): New.
3461 (ashrti3, ashrti3_internal, lshrti3, lshrti3_internal, shrp): New.
3462 * ia64.c (rtx_needs_barrier): Handle UNSPEC_SHRP.
3464 2004-11-05 Joseph S. Myers <joseph@codesourcery.com>
3466 * c-typeck.c (output_init_element): Return early if value is