OSDN Git Service

9fb043b4e62463745099050a8319939c6f35512c
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
1 2004-11-25  Richard Henderson  <rth@redhat.com>
2
3         * dwarf2out.c (dwarf2out_stack_adjust): Add after_p argument.  Save
4         args_size adjustments for calls even with cfa as stack pointer.
5         Search calls for stack adjustments after the insn is issued.
6         (dwarf2out_frame_debug): Add after_p argument; pass it on.
7         * dwarf2out.h (dwarf2out_frame_debug): Update to match.
8         * final.c (final_start_function, final_scan_insn): Likewise.
9
10 2004-11-25  Richard Henderson  <rth@redhat.com>
11
12         PR c++/6764
13         * reload1.c (set_initial_eh_label_offset): New.
14         (set_initial_label_offsets): Use it.
15
16 2004-11-25  Kaz Kojima  <kkojima@gcc.gnu.org>
17
18         * config/sh/sh.c (sh_output_mi_thunk): Initialize bitmap obstacks
19         before calling life_analysis and release them after.
20
21 2004-11-25  Kazu Hirata  <kazu@cs.umass.edu>
22
23         * tree-ssa-forwprop.c (substitute_single_use_vars): Remove
24         duplicate code.
25
26 2004-11-25  Andrew Pinski <pinskia@physics.uc.edu>
27
28         * bitmap.h (BITMAP_XMALLOC): Use BITMAP_ALLOC and not
29         BITMAP_OBSTACK_ALLOC.
30         (BITMAP_XFREE): Use BITMAP_FREE and not BITMAP_OBSTACK_FREE.
31
32 2004-11-25  Andrew Pinski <pinskia@physics.uc.edu>
33
34         parts of PR rtl-opt/18463, rtl-opt/17647
35         * cse.c (canon_for_address): New function.
36         (find_best_addr): Call canon_for_address before getting the
37         address's cost when checking if we should take that address.
38
39 2004-11-25  Kazu Hirata  <kazu@cs.umass.edu>
40
41         * tree-phinodes.c (add_phi_arg): Take "tree" instead of
42         "tree *" as the first argument.
43         * tree-flow.h: Update the prototype of add_phi_arg.
44         * lambda-code.c, tree-cfg.c, tree-into-ssa.c,
45         tree-ssa-loop-ivopts.c, tree-ssa-loop-manip.c, tree-ssa-pre.c,
46         tree-ssa-threadupdate.c, tree-ssa.c, tree-tailcall.c,
47         tree-vectorizer.c: Update all call sites of add_phi_arg.
48
49 2004-11-25  Nathan Sidwell  <nathan@codesourcery.com>
50
51         * bitmap.c (bitmap_malloc_alloc, bitmap_malloc_free): Remove.
52         * bitmap.h (bitmap_malloc_alloc, bitmap_malloc_free): Remove.
53         (BITMAP_XMALLOC): Forward to BITMAP_OBSTACK_ALLOC.
54         (BITMAP_XFREE): Forward to BITMAP_OBSTACK_FREE.
55
56 2004-11-25  Andrew MacLeod  <amacleod@redhat.com>
57
58         PR tree-optimization/18587
59         * tree-flow-inline.h (mark_call_clobbered, mark_non_addressable): Flag
60         call clobbered caches as invalid.
61         * tree-ssa-operands.c (ssa_call_clobbered_cache_valid): New.  Flag 
62         indicating whether the call clobbered operand cache is valid.
63         (ssa_ro_call_cache_valid): New.  Flag indicating whether the
64         pure/const call operand cache is valid.
65         (clobbered_v_may_defs, clobbered_vuses, ro_call_vuses): New.  Cached 
66         list of operands for cached call virtual operands.
67         (clobbered_aliased_loads, clobbered_aliased_stores, 
68         ro_call_aliased_load): New.  flags caching whether alias bits are
69         to be set in call stmt's.
70         (fini_ssa_operands): Remove call operand caches if present.
71         (get_expr_operands, get_asm_expr_operands,
72         get_indirect_ref_operands): Pass stmt annotation to add_stmt_operand.
73         (get_call_expr_operands): Add call clobbered variables first.
74         (add_stmt_operand): Take stmt annotation rather than stmt as a param.
75         (add_call_clobber_ops, add_call_read_ops): Use the call operand cache
76         if it is valid, otherise fill the cache.
77         * tree-ssa-operands.h (ssa_clobbered_cache_valid): Declare extern.
78         * tree-flow.h (struct var_ann_d): Add in_vuse_list and
79         in_v_may_def_list bits.
80         * tree-ssa-operands.c (cleanup_v_may_defs): New.  Clear the
81         in_list bits for the v_may_def elements and empty the operand
82         build array
83         (finalize_ssa_vuses): Use cleanup_v_may_defs and remove redundant
84         VUSES by checking the in_v_may_def_list bit.
85         (append_v_may_def, append_vuse): Use the in_list bit rather than 
86         scanning the array for duplicates.
87
88 2004-11-25  Ulrich Weigand  <uweigand@de.ibm.com>
89
90         * config/s390/s390.c (s390_short_displacement): UNSPEC_GOTNTPOFF
91         displacements are not short.
92
93 2004-11-25  Ulrich Weigand  <uweigand@de.ibm.com>
94
95         * config/s390/s390.c (legitimize_pic_address): Use s390_load_address
96         to load addresses.
97
98 2004-11-25  Mark Mitchell  <mark@codesourcery.com>
99
100         PR c++/18001
101         * c-common.h (lvalue_use): Move here from c-ctypeck.c.
102         (lvalue_or_else): Declare.
103         * c-common.c (lvalue_or_else): Move here from c-typeck.c.
104         * c-typeck.c (lvalue_use): Remove.
105         (lvalue_or_else): Remove.
106
107         PR c++/18556
108         * toplev.c (check_global_declarations): Set DECL_IGNORED_P on
109         unemitted variables with static storage duration.
110
111 2004-11-25  Gerald Pfeifer  <gerald@pfeifer.com>
112
113         * tree-cfg.c (tree_verify_flow_info): Do not terminate error()
114         message with \n.
115
116 2004-11-25  Nathan Sidwell  <nathan@codesourcery.com>
117
118         * config/rs6000/altivec.md (VIshort): New mode macro.
119         (altivec_vaddubs, altivec_vadduhs, altivec_vadduws): Replace
120         with ...
121         (altivec_vaddu<VI_char>s): ... this.
122         (altivec_vaddsbs, altivec_vaddshs, altivec_vaddsws): Replace
123         with ...
124         (altivec_vadds<VI_char>s): ... this.
125         (altivec_vsububs, altivec_vsubuhs, altivec_vsubuws): Replace
126         with ...
127         (altivec_vsubu<VI_char>s): ... this.
128         (altivec_vsubsbs, altivec_vsubshs, altivec_vsubsws): Replace
129         with ...
130         (altivec_vsubs<VI_char>s): ... this.
131         (altivec_vavgub, altivec_vavguh, altivec_vavguw): Replace
132         with ...
133         (altivec_vavgu<VI_char>): ... this.
134         (altivec_vavgsb, altivec_vavgsh, altivec_vavgsw): Replace
135         with ...
136         (altivec_vavgs<VI_char>): ... this.
137         (altivec_vmsumubm, altivec_vmsumuhm): Replace with ...
138         (altivec_vmsumu<VI_char>m): ... this.
139         (altivec_vmsummbm, altivec_vmsummhm): Replace
140         with ...
141         (altivec_vmsumm<VI_char>m): ... this.
142         (altivec_vandc): Remove.
143         (*andc<mode>3): Renamed to ...
144         (andc<mode>3): ... here. Swap operand 1 and 2 numbering.
145         (altivec_vrlb, altivec_vrlh, altivec_vrlw): Replace
146         with ...
147         (altivec_vrl<VI_char>): ... this.
148         (altivec_vslb, altivec_vslh, altivec_vslw): Replace
149         with ...
150         (altivec_vsl<VI_char>): ... this.
151         (altivec_vsrb, altivec_vsrh, altivec_vsrw): Replace
152         with ...
153         (altivec_vsr<VI_char>): ... this.
154         (altivec_vsrab, altivec_vsrah, altivec_vsraw): Replace
155         with ...
156         (altivec_vsra<VI_char>): ... this.
157         (altivec_vsum4sbs, altivec_vsum4shs): Replace with ...
158         (altivec_vsum4s<VI_char>s): ... this.
159         (altivec_vperm_4si, altivec_vperm_8hi, altivec_vperm_16qi): Replace
160         with ...
161         (altivec_vperm_<mode>): ... this.
162         (altivec_vsel_4sf): Rename to ...
163         (altivec_vsel_v4sf): ... here.
164         (altivec_vsel_4si, altivec_vsel_8hi, altivec_vsel_16qi): Replace
165         with ...
166         (altivec_vsel_<mode>): ... this.
167         (altivec_vsldoi_4si, altivec_vsldoi_8hi,
168         altivec_vsldoi_16qi): Rename to ...
169         (altivec_vsldoi_v4si, altivec_vsldoi_v8hi,
170         altivec_vsldoi_v16qi): ... here.
171         (altivec_vsldoi_4sf): Rename to ...
172         (altivec_vsldoi_v4sf): ... here.
173         (altivec_predicate_v4si, altivec_predicate_v8hi,
174         altivec_predicate_v16qi): Replace with ...
175         (altivec_predicate_<mode>): ... this.
176         (altivec_lvebx, altivec_lvehx, altivec_lvewx): Replace
177         with ...
178         (altivec_lve<VI_char>x): ... this.
179         (altivec_stvebx, altivec_stvehx, altivec_stvewx): Replace
180         with ...
181         (altivec_stve<VI_char>x): ... this.
182         (absv16qi2, absv8hi2, absv4si2): Replace
183         with ...
184         (abs<mode>2): ... this.
185         (altivec_abss_v16qi, altivec_abss_v8hi, altivec_abss_v4si): Replace
186         with ...
187         (altivec_abss_<mode>): ... this.
188         (vec_realign_load_v16qi, vec_realign_load_v8hi,
189         vec_realign_load_v4si): Replace with ...
190         (vec_realign_load_<mode>): ... this.
191         * config/rs6000/rs6000.c (bdesc_3arg, bdesc_2arg): Update tweaked
192         insn names.
193         (rs6000_expand_ternop_builtin): Likewise.
194
195 2004-11-25  Andrew Haley  <aph@redhat.com>
196
197         * gcc.c (process_command): Don't supply -v to linker.
198
199 2004-11-25  Joseph S. Myers  <joseph@codesourcery.com>
200
201         * config/rs6000/darwin.h (SUBTARGET_OVERRIDE_OPTIONS): Use %qs
202         instead of `%s' in diagnostic.
203
204 2004-11-25  Nathan Sidwell  <nathan@codesourcery.com>
205
206         * basic-block.h (OBSTACK_ALLOC_REG_SET): Adjust.
207         (FREE_REG_SET): Adjust.
208         * bitmap.c (bitmap_obstack_free): Cope with NULL bitmap.
209         * bitmap.h (BITMAP_OBSTACK_ALLOC): Rename to ...
210         (BITMAP_ALLOC): ... here.
211         (BITMAP_OBSTACK_FREE): Rename to ...
212         (BITMAP_FREE): Don't check for NULL bitmap here.
213         * tree-ssa-pre.c (value_insert_into_set_bitmap,
214         bitmap_set_new): Use new names.
215
216         * bt-load.c (migrate_btr_defs): Remove unneeded NULL check.
217         * df.c (df_free): Likewise.
218         * ra-build.c (ra_build_free, ra_build_free_all): Likewise.
219         * tree-ssa-loop-ivopts.c (set_use_iv_cost): Likewise.
220
221         * basic-block.h (OBSTACK_ALLOC_REG_SET): Rename to ...
222         (ALLOC_REG_SET): ... here.
223         (FREE_REG_SET): Adjust.
224         (XMALLOC_REG_SET, XFREE_REG_SET): Remove.
225         * bb-reorder.c (fix_crossing_conditional_branches): Adjust.
226         * cfglayout.c (cfg_layout_duplicate_bb): Adjust.
227         * cfgrtl.c (rtl_split_block, rtl_split_edge,
228         safe_insert_insn_on_edge, cfg_layout_split_edge): Adjust.
229         * flow.c (update_life_info, calculate_global_regs_live,
230         allocate_bb_life_data, init_propagate_block_info): Adjust.
231         * global.c (build_insn_chain): Adjust.
232         * ifcvt.c (dead_or_predicable): Adjust.
233         * loop-iv.c (simplify_using_initial_values): Adjust.
234         * recog.c (peephole2_optimize): Adjust.
235         * sched-deps.c (init_deps_global): Adjust.
236
237 2004-11-25  Ralf Corsepius <ralf.corsepius@rtems.org>
238
239         * config.gcc (avr-*-rtems*): Fix typo.
240
241 2004-11-25  J"orn Rennecke <joern.rennecke@st.com>
242
243         * sh.c (sh_output_mi_thunk): Do not call regset_release_memory.
244
245 2004-11-24  Jeff Law  <law@redhat.com>
246
247         * tree-ssa-alias.c (compute_flow_insensitive_aliasing): Reduce
248         the number of queries to random elements in the ai->written_vars
249         bitmap.
250
251 2004-11-24  Roger Sayle  <roger@eyesopen.com>
252
253         * config/i386/i386.c (override_options): Disable x87 fancy math
254         intrinsics if -mfpmath= doesn't include 387 (default on x86_64).
255
256 2004-11-24  Roger Sayle  <roger@eyesopen.com>
257
258         * configure.ac: Tweak test for HAVE_DECL_LDGETNAME to avoid a
259         system header conflict on AIX 5.2.
260         * configure: Regenerate.
261
262 2004-11-24  Kazu Hirata  <kazu@cs.umass.edu>
263
264         * tree-outof-ssa.c (coalesce_abnormal_edges): Use e->dest_idx
265         instead of calling phi_arg_from_edge.
266
267         * tree-phinodes.c (remove_phi_args): Replace phi_arg_from_edge
268         with e->dest_idx.
269
270 2004-11-24  Ben Elliston  <bje@au.ibm.com>
271
272         * config/i386/i386.h (ASM_OUTPUT_DWARF_ADDR_CONST): Remove.
273         * config/i386/i386.c (i386_dwarf_output_addr_const): Likewise.
274         * config/i386/i386-protos.h (i386_dwarf_output_addr_const):
275         Likewise.
276         
277 2004-11-24  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
278
279         * tree-sra.c (sra_walk_modify_expr): Handle RHS first, then LHS.
280
281         * tree-inline.c (copy_body_r): Explicitly copy a constant if the
282         type will be remapped.
283
284 2004-11-24  Steven Bosscher  <stevenb@suse.de>
285
286         * c-opts.c (c_common_post_options): Don't clear
287         flag_inline_functions.
288         * dojump.c (clear_pending_stack_adjust): Remove check on
289         flag_inline_functions, it's always true.
290         * config/alpha/alpha.md (movdi_er_maybe_g): Remove splitter
291         that can never trigger.
292         * config/c4x/c4x.h (TARGET_CPU_CPP_BUILTINS): Don't look at
293         flag_inline_trees, now that flag_inline_functions is never
294         cleared.
295         * config/pdp11/pdp11.h (OPTIMIZATION_OPTIONS): Don't set
296         flag_inline_functions at optimization levels greater than
297         or equal to 3.  This is already done by default.
298
299 2004-11-24  Kazu Hirata  <kazu@cs.umass.edu>
300
301         * tree-outof-ssa.c (eliminate_build): Use g->e->dest_idx
302         instead to find the PHI argument.  Do not take I as an
303         argument.
304         (eliminate_phi): Adjust the call to eliminate_build.  Do not
305         take I as an argument.
306         (rewrite_trees): Adjust the call to eliminate_phi.
307
308 2004-11-24  Richard Sandiford  <rsandifo@redhat.com>
309
310         * optabs.h (force_expand_binop): Declare.
311         * optabs.c (force_expand_binop): Export.
312         * stmt.c (shift_return_value): Delete.
313         (expand_return): Don't call it.
314         * expr.h (shift_return_value): Declare.
315         * calls.c (shift_returned_value): Delete in favor of...
316         (shift_return_value): ...this new function.  Leave the caller to check
317         for non-BLKmode values passed in the msb of a register.  Take said mode
318         and a shift direction as argument.  Operate on the hard function value,
319         not a pseudo.
320         (expand_call): Adjust accordingly.
321         * function.c (expand_function_start): If a non-BLKmode return value
322         is padded at the last significant end of the return register, use the
323         return value's natural mode for the DECL_RESULT, not the mode of the
324         padded register.
325         (expand_function_end): Shift the same sort of return values left by
326         the appropriate amount.
327
328 2004-11-24  Matt Austern  <austern@apple.com>
329
330         * recog.c (recog_memoized_1): Remove.
331         * recog.h (recog_memoized_1): Remove declaration.
332         (recog_memoized): Change from macro to inline function.
333         
334 2004-11-24  Devang Patel  <dpatel@apple.com>
335
336         PR/18555
337         * gcc.h (DEFAULT_WORD_SWITCH_TAKES_ARG): Add isysroot.
338         * config/darwin-c.c (darwin_register_frameworks): Use sysroot.
339
340 2004-11-24  Devang Patel  <dpatel@apple.com>
341
342         * gcc.c (process_command): Supply -v to linker.
343         
344 2004-11-24  David Edelsohn  <edelsohn@gnu.org>
345             Paolo Bonzini  <bonzini@gnu.org>
346
347         * config/rs6000/rs6000.c (rs6000_return_in_memory): Allow Altivec
348         vector modes without ALTIVEC_ABI.  Use GCC vector instead of
349         synthetic vector.
350         (rs6000_pass_by_reference): Split conditional into pieces.  Use
351         GCC vector instead of synthetic vector.
352
353 2004-11-24  Aldy Hernandez  <aldyh@redhat.com>
354
355         * tree.c (recompute_tree_invarant_for_addr_expr): The address of a
356         thread-local variable is invariant.
357
358 2004-11-24  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
359
360         * tree-pretty-print.c (dump_generic_node, case POINTER_TYPE):
361         Handle TYPE_REF_CAN_ALIAS_ALL.
362         (print_declaration): Print array dimensions like dump_generic_node.
363
364         * fold-const.c (operand_equal_p): Remove kludge allowing ARG0 and
365         ARG1 to be null; instead define OP_SAME and OP_SAME_NULL and use them.
366
367 2004-11-24  Nathan Sidwell  <nathan@codesourcery.com>
368
369         * bitmap.c (INLINE): Do not define.
370         (bitmap_elem_to_freelist, bitmap_element_free,
371         bitmap_element_allocate, bitmap_clear, bitmap_element_zerop,
372         bitmap_element_link, bitmap_find_bit): Use inline keyword/macro.
373
374 2004-11-24  Kazu Hirata  <kazu@cs.umass.edu>
375
376         * tree-ssa-dom.c (cprop_into_successor_phis): Remove code to
377         find the index of a PHI argument.  Use e->dest_idx instead.
378         Replace hint with index.
379
380         * tree-ssa-dom.c (cprop_into_successor_phis): Replace index
381         with indx.
382
383 2004-11-24  Diego Novillo  <dnovillo@redhat.com>
384
385         * tree-ssa-alias.c (merge_pointed_to_info): Fix comment
386         regarding PT_MALLOC.
387
388 2004-11-24  Joseph Myers  <joseph@codesourcery.com>
389
390         * config/i386/i386.c (optimization_options): Use
391         SUBTARGET_OPTIMIZATION_OPTIONS.
392         * config/i386/sol2-10.h (SUBTARGET_OPTIMIZATION_OPTIONS): Define.
393         (TARGET_SUBTARGET_DEFAULT): Don't include
394         MASK_OMIT_LEAF_FRAME_POINTER.
395
396 2004-11-24  Mark Mitchell  <mark@codesourcery.com>
397
398         * config/i386/sol2.h (X86_FILE_START_VERSION_DIRECTIVE): 
399         Define to false.
400
401 2004-11-24  Joseph Myers  <joseph@codesourcery.com>
402
403         * config/i386/t-sol2-10 (MULTILIB_DIRNAMES, MULTILIB_OSDIRNAMES):
404         Use amd64 instead of 64.
405
406 2004-11-24  Mark Mitchell  <mark@codesourcery.com>
407             Joseph Myers  <joseph@codesourcery.com>
408
409         * crtstuff.c (IN_LIBGCC2): Define it.
410         (EH_FRAME_SECTION_CONST): Check EH_TABLES_CAN_BE_READ_ONLY
411         instead of HAVE_LD_RO_RW_SECTION_MIXING.
412         * defaults.h (EH_TABLES_CAN_BE_READ_ONLY): New macro.
413         * dwarf2out.c (named_section_eh_frame_section): Check
414         EH_TABLES_CAN_BE_READ_ONLY.
415         * except.c (default_exception_section): Likewise.
416         * config/i386/sol2.h (EH_TABLES_CAN_BE_READ_ONLY): Define.
417         * doc/tm.texi (EH_TABLES_CAN_BE_READ_ONLY): Document.
418
419 2004-11-24  Kazu Hirata  <kazu@cs.umass.edu>
420
421         * tree-ssa-pre.c (phi_translate): Use find_edge to find the
422         index of a PHI argument.
423
424         * tree-ssa-loop-manip.c (lv_adjust_loop_header_phi): Use
425         find_edge to find the index of a PHI argument.
426
427 2004-11-24  Steven Bosscher  <stevenb@suse.de>
428
429         * expr.c (expand_expr_real_1): Remove cases for EXIT_BLOCK_EXPR 
430         and LABELED_BLOCK_EXPR.
431         * gimplify.c (gimplify_labeled_block_expr): Remove.
432         (gimplify_exit_block_expr): Remove.
433         (gimplify_expr): Don't call them.
434         * tree-inline.c (copy_body_r): Don't handle EXIT_BLOCK_EXPR
435         and LABELED_BLOCK_EXPR.
436         (estimate_num_insns_1): Likewise.
437         (walk_tree): Likewise.
438         * tree-pretty-print.c (dump_generic_node): Don't handle
439         EXIT_BLOCK_EXPR and LABELED_BLOCK_EXPR.
440         * tree.def (EXIT_BLOCK_EXPR): Moved to java-tree.def.
441         (LABELED_BLOCK_EXPR): Likewise.
442         * tree.h (LABELED_BLOCK_LABEL): Moved to java-tree.h.
443         (LABELED_BLOCK_BODY): Likewise.
444         (EXIT_BLOCK_LABELED_BLOCK): Likewise.
445         (EXIT_BLOCK_RETURN): Removed.
446
447 2004-11-24  Steven Bosscher  <stevenb@suse.de>
448
449         * cfgrtl.c (rtl_delete_block): Fix comment.
450         * emit-rtl.c (remove_unnecessary_notes): Die if we see BLOCK_BEG
451         or BLOCK_END insn notes.
452         * jump.c (squeeze_notes): Likewise.
453         * haifa-sched.c (reemit_notes): Don't "re-emit" EH_REGION_BEG and
454         EH_REGION_END notes, we never have them to begin with.
455         * sched-deps.c (sched_analyze_insn): When updating loop notes,
456         verify that we have indeed only recorded loop notes.
457         (sched_analyze): Die if we see EH_REGION_BEG or EH_REGION_END notes.
458         Only record loop notes.
459
460         * cfgexpand.c (tree_expand_cfg): Fix comment.
461
462         * passes.c (rest_of_compilation): Don't do a second call to
463         convert_from_eh_region_ranges from here, it's already called
464         from cfgexpand.c.
465         * except.c (resolve_fixup_regions): Remove.
466         (remove_fixup_regions): Remove.
467         (convert_from_eh_region_ranges_1): Remove.
468         (convert_from_eh_region_ranges): Remove the case where EH is
469         not already lowered at the tree level.  We always lower there.
470
471 2004-11-24  Paolo Bonzini  <bonzini@gnu.org>
472
473         PR c++/16882
474         * tree.c (make_vector_type): Move qualifiers to the vector type,
475         use the inner type's main variant and build a main variant for
476         the vector type if necessary.
477         (type_hash_eq): Check a vector type's TYPE_VECTOR_SUBPARTS.
478
479 2004-11-24  Eric Botcazou  <ebotcazou@libertysurf.fr>
480
481         * target.h (late_rtl_prologue_epilogue): Remove.
482         * target-def.h (TARGET_LATE_RTL_PROLOGUE_EPILOGUE): Remove.
483         * system.h: Poison TARGET_LATE_RTL_PROLOGUE_EPILOGUE.
484         * passes.c (rest_of_handle_prologue_epilogue): Remove and move
485         remaining bits to...
486         (rest_of_handle_flow2): ...here.
487         (rest_of_compilation): Remove call to rest_of_handle_prologue_epilogue.
488         * doc/tm.texi (TARGET_LATE_RTL_PROLOGUE_EPILOGUE): Remove.
489
490 2004-11-23  Mark Mitchell  <mark@codesourcery.com>
491
492         * hwint.h (HOST_LONG_LONG_FORMAT): New macro.  Use it throughout.
493         * config/i386/xm-mingw32.h (HOST_LONG_LONG_FORMAT): Define.
494         * doc/hostconfig.texi (HOST_LONG_LONG_FORMAT): Document.
495
496 2004-11-24  Daniel Jacobowitz  <dan@codesourcery.com>
497
498         * config/i386/i386.c (override_options): Move
499         SUBTARGET_OVERRIDE_OPTIONS before defaulting
500         flag_omit_frame_pointer.
501
502 2004-11-23  Richard Henderson  <rth@redhat.com>
503
504         * rtl.h (validate_subreg): Declare.
505         * emit-rtl.c (validate_subreg): New.
506         (gen_rtx_SUBREG): Use it.
507         * simplify-rtx.c (simplify_subreg): Likewise.
508         (simplify_gen_subreg): Likewise.  Remove duplicate asserts.
509         * expr.c (emit_move_insn_1): Tidy complex move code.  Use memory
510         fallback whenever gen_realpart/gen_imagpart would not be able to
511         create SUBREGs.
512
513 2004-11-23  Richard Henderson  <rth@redhat.com>
514
515         * expmed.c (extract_bit_field): Use simplify_gen_subreg instead of
516         hard-coding avoiding calls to gen_rtx_SUBREG.  Split complex return
517         modes to CONCAT.
518
519 2004-11-23  Diego Novillo  <dnovillo@redhat.com>
520
521         PR tree-optimization/18618
522         * tree-into-ssa.c (DEF_VEC_MALLOC_P(basic_block)): Declare.
523         (insert_phi_nodes_for): Change third argument to VEC(basic_block).
524         * tree-ssa-dom.c (avail_exprs_stack): Change type to VEC(tree_on_heap).
525         Update all users.
526         (stmts_to_rescan): Likewise.
527         (const_and_copies_stack): Likewise.
528         (nonzero_vars_stack): Likewise.
529         (vrp_variables_stack): Likewise.
530
531 2004-11-23  Richard Henderson  <rth@redhat.com>
532
533         * cse.c (record_jump_cond_subreg): New.
534         (record_jump_cond): Use it instead of gen_lowpart.
535
536 2004-11-23  Daniel Jacobowitz  <dan@codesourcery.com>
537             Joseph Myers  <joseph@codesourcery.com>
538
539         * config/sol2-c.c (solaris_register_pragmas): Use
540         c_register_pragma_with_expansion.
541         * config/sol2.h (HANDLE_PRAGMA_PACK_WITH_EXPANSION): Define.
542         * c-pragma.c (c_register_pragma): Update call to
543         cpp_register_pragma.
544         (c_register_pragma_with_expansion): New function.
545         (init_pragma): Honor HANDLE_PRAGMA_PACK_WITH_EXPANSION.
546         * c-pragma.h (c_register_pragma_with_expansion): New prototype.
547         * doc/extend.texi (Solaris Pragmas): Mention macro expansion for
548         #pragma align.
549         * doc/tm.texi (c_register_pragma_with_expansion,
550         HANDLE_PRAGMA_PACK_WITH_EXPANSION): Document.
551
552 2004-11-23  Richard Henderson  <rth@redhat.com>
553
554         * combine.c (gen_lowpart_for_combine): Factor out mode of x as well
555         as mode sizes into local temporaries.  Unify failure path.
556
557 2004-11-23  Richard Henderson  <rth@redhat.com>
558
559         * emit-rtl.c, rtl.h (subreg_hard_regno): Remove.
560         * caller-save.c (mark_set_regs): Use subreg_regno instead.
561         * final.c (alter_subreg): Likewise.
562         * local-alloc.c (reg_is_born): Likewise.
563
564 2004-11-23  Richard Henderson  <rth@redhat.com>
565
566         * simplify-rtx.c (simplify_subreg): Use subreg_regno_offset directly
567         instead of using a SUBREG temporary.
568
569 2004-11-23  Kazu Hirata  <kazu@cs.umass.edu>
570
571         * tree-cfg.c (tree_forwarder_block_p): Speed up by reordering
572         two checks.
573
574 2004-11-23  Zack Weinberg  <zack@codesourcery.com>
575
576         * function.h (struct function): Remove calls_longjmp.
577         (current_function_calls_longjmp): Delete.
578         * tree.h (ECF_LONGJMP): Delete.
579         (ECF_SIBCALL, ECF_PURE, ECF_SP_DEPRESSED, ECF_ALWAYS_RETURN)
580         (ECF_LIBCALL_BLOCK): Everybody slide down one.
581         (ECF_CONST, ECF_NORETURN, ECF_SIBCALL): Clarify comments.
582         * builtins.c (expand_builtin_longjmp): Don't set
583         current_function_calls_longjmp.
584         * calls.c (special_function_p): Mark longjmp and siglongjmp
585         with ECF_NORETURN, not ECF_LONGJMP.
586         (emit_call_1, expand_call, emit_library_call_value_1):
587         Don't check for ECF_LONGJMP.
588         * tree-cfg.c (make_exit_edges, is_ctrl_altering_stmt)
589         (need_fake_edge_p): Likewise.
590
591         * config/avr/avr.h, config/ip2k/ip2k.h: Don't define NON_SAVING_SETJMP.
592         * system.h: Poison NON_SAVING_SETJMP.
593         * function.c (use_register_for_decl)
594         * gcse.c (compute_hash_table_work, compute_store_table)
595         * postreload-gcse.c (record_opr_changes)
596         * reload.c (find_equiv_reg)
597         * reload1.c (reload)
598         * config/i386/i386.c (ix86_can_use_return_insn_p):
599         Remove code conditional on NON_SAVING_SETJMP.
600         * doc/tm.texi: Delete documentation of NON_SAVING_SETJMP.
601
602         * config/i386/sysv3.h: Delete file.
603         * config/i386/i386.c (ix86_svr3_asm_out_constructor): Delete.
604
605 2004-11-23  Dorit Naishlos  <dorit@il.ibm.com>
606
607         * tree-vectorizer.c (vect_analyze_operations): Don't vectorize if
608         the vectorization factor is greater than the iteration count.
609         (vect_gen_niters_for_prolog_loop): No need to calculate min if the
610         iteration count is known.
611
612         (vect_build_symbol_bound): Removed. Its functionality moved to
613         vect_generate_tmps_on_preheader.
614         (vect_generate_tmps_on_preheader): Moved content of
615         vect_build_symbol_bound here instead of calling it.  Changed some
616         variables names.
617
618         (vect_build_loop_niters): We don't expect a new_bb to be generated -
619         use gcc_assert.
620         (vect_gen_niters_for_prolog_loop): Likewise.
621         (vect_gen_niters_for_prolog_loo): Likewise.
622
623         (slpeel_make_loop_iterate_ntimes): Use buildN instead of build.
624         (slpeel_add_loop_guard): Likewise.
625         (slpeel_tree_peel_loop_to_edge): Likewise.
626         (vect_do_peeling_for_alignment): Likewise.
627
628         (vect_get_first_index): Missing space.
629
630 2004-11-23  Ulrich Weigand  <uweigand@de.ibm.com>
631
632         * config/s390/s390.md ("*iordi3"): Mark commutative.
633         ("*iorsi3_zarch", "*iorsi3_esa"): Likewise.
634
635 2004-11-23  Kazu Hirata  <kazu@cs.umass.edu>
636
637         * tree-phinode.c (resize_phi_node): Abort when LEN is strictly
638         greater than PHI_ARG_CAPACITY.
639         (reserve_phi_args_for_new_edge): Initialize the new PHI
640         argument to NULL_TREE.  Increment PHI_NUM_ARGS.
641         (add_phi_arg): Add a PHI argument to the slot given by
642         E->dest_idx.
643         (remove_phi_arg_num): Do not write to PHI_ARG_EDGE.
644         * tree-flow-inline (phi_arg_from_edge): Return E->dest_idx.
645         * tree-ssa.c (ssa_redirect_edge): Check for a missing PHI
646         argument by looking at PHI_ARG_DEF.
647         (verify_phi_args): Check for a missing PHI argument.  Remove
648         the check for duplicate PHI arguments.
649         * tree.h (PHI_ARG_EDGE): Redefine in terms of EDGE_PRED.
650         (phi_arg_d): Remove e.
651
652         * tree-cfg.c (tree_try_redirect_by_replacing_jump): Speed up
653         by restricting to the case with two outgoing edges.
654
655 2004-11-23  Andreas Krebbel  <krebbel1@de.ibm.com>
656
657         * config/s390/s390.c (s390_backchain_string): Removed.
658         (s390_return_addr_rtx, s390_back_chain_rtx, s390_frame_info)
659         (s390_emit_prologue, s390_va_start, s390_gimplify_va_arg):
660         Changed users of TARGET_BACKCHAIN, TARGET_NO_BACKCHAIN and
661         TARGET_KERNEL_BACKCHAIN to reflect the new options.
662         * config/s390/s390.h (MASK_BACKCHAIN, MASK_PACKED_STACK): New macros.
663         (TARGET_KERNEL_BACKCHAIN): Removed.
664         (TARGET_BACKCHAIN): Former triple state option change to a target flag.
665         (TARGET_PACKED_STACK): New macro.
666         (TARGET_SWITCHES): New switches added.
667         (TARGET_OPTIONS): "backchain", "no-backchain" and "kernel-backchain"
668         removed.
669         (DYNAMIC_CHAIN_ADDRESS): Use TARGET_PACKED_STACK.
670         * config/s390/s390.md ("allocate_stack", "restore_stack_block")
671         ("save_stack_nonlocal", "restore_stack_nonlocal"): Modified to reflect
672         the change in target switch semantics.
673         * config/s390/tpf.h (TARGET_DEFAULT_BACKCHAIN): Removed.
674         (TARGET_DEFAULT): MASK_BACKCHAIN added.
675         * doc/invoke.texi: Added documentation for the new/changed options.
676
677 2004-11-23  Uros Bizjak  <uros@kss-loka.si>
678
679         PR rtl-optimization/18614
680         * simplify-rtx.c (simplify_binary_operation): Do not
681         simplify inner elements of constant arguments of
682         VEC_CONCAT insn.
683
684 2004-11-23  Eric Botcazou  <ebotcazou@libertysurf.fr>
685
686         * gthr-solaris.h (__gthread_recursive_mutex_init_function): Use
687         0 instead of NULL.
688
689 2004-11-23  Kazu Hirata  <kazu@cs.umass.edu>
690
691         * tree-phinode.c (make_phi_node): Use a new variable,
692         capacity, to receive the return value of ideal_phi_node_len.
693
694 2004-11-23  Eric Botcazou  <ebotcazou@libertysurf.fr>
695
696         * gthr-solaris.h (__gthread_recursive_mutex_t): New type.
697         (__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION): Define to
698         __gthread_recursive_mutex_init_function.
699         (__gthread_key_create): Properly cast -1.
700         (__gthread_recursive_mutex_init_function): New function.
701         (__gthread_recursive_mutex_lock): Rewrite.
702         (__gthread_recursive_mutex_trylock): Likewise.
703         (__gthread_recursive_mutex_unlock): Likewise.
704
705 2004-11-23  Ralf Corsepius <ralf.corsepius@rtems.org>
706
707         * config/c4x/t-rtems: New.
708         * config.gcc: Reflect having added c4x/t-rtems.
709
710 2004-11-23  Dorit Naishlos <dorit@il.ibm.com>
711
712         PR tree-opt/18403
713         PR tree-opt/18505
714         * tree-vectorizer.c (vect_create_data_ref_ptr): Use
715         lang_hooks.types.type_for_size instead of integer_type_node for the
716         type of ptr_update.
717
718 2004-11-23  Ralf Corsepius <ralf.corsepius@rtems.org>
719
720         * config.gcc (h8300-*-rtems*): Use h8300/t-rtems.
721
722 2004-11-23  Ralf Corsepius <ralf.corsepius@rtems.org>
723
724         * config/arm/t-rtems: New.
725         * config.gcc: Reflect having added arm/t-rtems.
726
727 2004-11-23  Kazu Hirata  <kazu@cs.umass.edu>
728
729         * tree-cfg.c (tree_execute_on_growing_pred): New.
730         (tree_cfg_hooks): Add tree_execute_on_growing_pred.
731         * tree-flow.h: Add a prototype for
732         reserve_phi_args_for_new_edge.
733         * tree-phinodes.c (reserve_phi_args_for_new_edge): New.
734         (add_phi_arg): Don't resize a PHI array.
735
736 2004-11-23  Ralf Corsepius <ralf.corsepius@rtems.org>
737
738         * config.gcc: Add avr-*-rtems*.
739         * config/avr/t-rtems: New.
740         * config/avr/rtems.h: New.
741
742 2004-11-22  Daniel Berlin  <dberlin@dberlin.org>
743
744         * df.c (dataflow_set_a_op_b): Remove reslt parameter, since it's
745         always the same as op1.  Use bitmap_ior_into and bitmap_and_into.
746         Add comment to function.
747
748 2004-11-22  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
749
750         PR pch/14940
751         * config/host-linux.c (TRY_EMPTY_VM_SPACE): Define for __hppa__.
752
753         PR rtl-optimization/14838
754         * emit-rtl.c (get_first_nonnote_insn): Don't assume first insn is a
755         note.
756         (get_last_nonnote_insn): Don't assume last insn is a note.
757
758 2004-11-22  Roger Sayle  <roger@eyesopen.com>
759
760         * fold-const.c (nondestructive_fold_binary_to_constant): Rename
761         to fold_binary_to_constant.
762         (nondestructive_fold_unary_to_constant): Likewise, rename to
763         fold_unary_to_constant.
764         (fold_relational_hi_lo): Update call to fold_binary_to_constant.
765         * tree.h (nondestructive_fold_binary_to_constant): Update prototype.
766         (nondestructive_fold_unary_to_constant): Likewise.
767         * tree-ssa-ccp.c (ccp_fold): Update calls to fold_unary_to_constant
768         and fold_binary_to_constant.
769         * tree-ssa-loop-niter.c (EXEC_BINARY, EXEC_UNARY): Delete macros.
770         (inverse, number_of_iterations_cond): Replace uses of EXEC_BINARY
771         and EXEC_UNARY with calls to fold_*nary_to_constant.
772         * tree-ssa-loop-ivopts.c (EXEC_BINARY, EXEC_UNARY): Delete macros.
773         (idx_find_step): Replace uses of EXEC_BINARY with calls to
774         fold_binary_to_constant.
775
776 2004-11-22  Nick Clifton  <nickc@redhat.com>
777
778         * sbitmap.c (sbitmap_union_of_preds): Remove redundant
779         initialisation of 'e'.
780
781 2004-11-22  Roger Sayle  <roger@eyesopen.com>
782
783         * config/i386/i386.h (TARGET_USE_FANCY_MATH_387): New macro.
784         * config/i386/i386.c (override_options):  Set MASK_NO_FANCY_MATH_387
785         automatically for targets without TARGET_80387.
786         * config/i386/i386.md (sqrtsf2, sqrtsf2_1, sqrtsf2_i387, sqrtdf2,
787         sqrtdf2_1, sqrtdf2_i387, *sqrtextendsfdf2, sqrtxf2,
788         *sqrtextenddfxf2, *sqrtextendsfxf2, fpremxf4, fmodsf3, fmoddf3,
789         fmodxf3, fprem1xf4, dremsf3, dremdf3, dremxf3, *sindf2, *sinsf2,
790         *sinextendsfdf2, *sinxf2, *cosdf2, *cossf2, *cosextendsfdf2,
791         *cosxf2, sincosdf3, sincossf3, *sincosextendsfdf3, sincosxf3,
792         *tandf3_1, tandf2, *tansf3_1, tansf2, *tanxf3_1, tanxf2,
793         atan2df3_1, atan2df3, atandf2, atan2sf3_1, atan2sf3, atansf2,
794         atan2xf3_1, atan2xf3, atanxf2, asindf2, asinsf2, asinxf2,
795         acosdf2, acossf2, acosxf2, fyl2x_xf3, logsf2, logdf2, logxf2,
796         log10sf2, log10df2, log10xf2, log2sf2, log2df2, log2xf2,
797         fyl2xp1_xf3, log1psf2, log1pdf2, log1pxf2, *fxtractxf3, logbsf2,
798         logbdf2, logbxf2, ilogbsi2, *f2xm1xf2, *fscalexf4, expsf2,
799         expdf2, expxf2, exp10sf2, exp10df2, exp10xf2, exp2sf2, exp2df2,
800         exp2xf2, expm1df2, expm1sf2, expm1xf2, frndintxf2, rintdf2,
801         rintsf2, rintxf2, frndintxf2_floor, floordf2, floorsf2,
802         floorxf2, frndintxf2_ceil, ceildf2, ceilsf2, ceilxf2,
803         frndintxf2_trunc, btruncdf2, btruncsf2, btruncxf2,
804         frndintxf2_mask_pm, nearbyintdf2, nearbyintsf2, nearbyintxf2):
805         Simplify conditionals using TARGET_USE_FANCY_MATH_387.
806
807 2004-11-22  Dale Johannesen  <dalej@apple.com>
808
809         * config/darwin.h (JUMP_TABLES_IN_TEXT_SECTION):  Conditionalize
810         properly and comment.
811
812 2004-11-22  James A. Morrison  <phython@gcc.gnu.org
813
814         * config/sparc/sparc.c: Include insn-codes.h and langhooks.h.
815         (sparc_init_builtins): New function.
816         (sparc_init_vis_builtins): Create builtin functions for VIS
817         instructions.
818         (sparc_expand_builtin): Expand builtin functions for VIS instructions.
819         (TARGET_INIT_BUILTINS): Define to sparc_init_builtins.
820         (TARGET_EXPAND_BUILTIN): Define to sparc_expand_builtin.
821         (def_builtin): New macro for creating builtin functions.
822         (P): New mode macro for pointer types.
823         (UNSPEC_FPACK16, UNSPEC_FPACK32, UNSPEC_FPACKFIX, UNSPEC_FEXPAND,
824         UNSPEC_FPMERGE, UNSPEC_MUL16AL, UNSPEC_MUL8UL, UNSPEC_MULDUL,
825         UNSPEC_ALIGNDATA, UNSPEC_ALIGNADDR, UNSPEC_PDIST): New constants.
826         (fpack16_vis, fpackfix_vis, fpack32_vis, fexpand_vis, fpmerge_vis,
827         fmul8x16_vis, fmul8x16au_vis, fmul8x16al_vis, fmul8sux16_vis,
828         fmul8ulx16_vis, fmuld8sux16_vis, fmuld8ulx16_vis, pdist_vis,
829         faligndata<V64:mode>_vis, alignaddr<P:mode>_vis): New patterns.
830
831 2004-11-22  Devang Patel  <dpatel@apple.com>
832
833         * tree-if-conv.c (clean_predicate_lists): Clean all basic blocks.
834
835 2004-11-22  Devang Patel  <dpatel@apple.com>
836
837         * tree-if-conv.c (if_convertable_phi_p): Rename to ...
838         (if_convertible_phi_p): ... new name.
839         (if_convertable_modify_expr_p): Rename to ...
840         (if_convertible_modify_expr_p): ... new name.
841         (if_convertable_stmt_p): Rename to ...
842         (if_convertible_stmt_p): ... new name.
843         (if_convertable_bb_p): Rename to ...
844         (if_convertible_bb_p): ... new name.
845         (if_convertable_loop_p): Rename to ...
846         (if_convertible_loop_p): ... new name.
847
848 2004-11-22  Eric Botcazou  <ebotcazou@libertysurf.fr>
849
850         PR target/18444
851         * configure.ac (threading): Accept 'posix95'.
852         * configure: Regenerate.
853         * config.gcc (i[34567]86-*-solaris2*): On Solaris up to 2.6,
854         include sol26.h and default to posix95 threads if have_pthread_h.
855         (sparc-*-solaris2*): Likewise.
856         * gthr.h: Include gthr-posix95.h if _PTHREADS95 is defined.
857         * gthr-posix95.h: New file.
858         * config/sol26.h: New file.
859         * doc/install.texi (--enable-threads): Document 'posix95'.
860
861 2004-11-23  Ben Elliston  <bje@au.ibm.com>
862
863         * pointer-set.h (pointer_set_contains): Remove.
864         * pointer-set.c (pointer_set_contains): Likewise.
865
866 2004-11-22  Dale Johannesen  <dalej@apple.com>
867
868         * calls.c (expand_call): Do not call preserve_temp_slots.
869
870 2004-11-22  Kazu Hirata  <kazu@cs.umass.edu>
871
872         * tree-flow.h: Remove the prototype for remove_phi_arg.
873         Add a prototype for remove_phi_args.
874         * tree-phinodes.c (remove_phi_arg): Remove.
875         (remove_phi_args): New.
876         * tree-ssa.c (ssa_remove_edge): Call remove_phi_args instead
877         of remove_phi_arg.
878
879         * cfg.c (unchecked_make_edge): Call execute_on_growing_pred
880         after making an edge.
881         (remove_edge): Call execute_on_shrinking_pred before removing
882         an edge.
883         (redirect_edge_succ): Call execute_on_growing_pred and
884         execute_on_shrinking_pred.
885         * cfghooks.c (execute_on_growing_pred): New.
886         (execute_on_shrinking_pred): Likewise.
887         * cfghooks.h (cfg_hooks): Add execute_on_growing_pred and
888         execute_on_shrinking_pred.
889         Add prototypes for execute_on_growing_pred and
890         execute_on_shrinking_pred.
891         * cfgrtl.c (rtl_cfg_hooks): Add NULL hooks to
892         execute_on_growing_pred and execute_on_shrinking_pred.
893         (cfg_layout_rtl_cfg_hook): Likewise.
894         * tree-cfg.c (tree_cfg_hooks): Likewise.
895
896         * tree-cfg.c (tree_execute_on_shrinking_pred): New.
897         (tree_cfg_hooks): Use it.
898         * tree-ssa.c (ssa_remove_edge): Don't call remove_phi_args.
899         (ssa_redirect_edge): Don't call remove_phi_arg_num.
900
901         * tree-phinodes.c (remove_phi_arg_num): Make it static.
902         * tree-flow.h: Remove the corresponding prototype.
903
904         * tree-ssa.c (ssa_remove_edge): Remove.
905         * tree-flow.h: Remove the corresponding prototype.
906         * tree-cfg.c: Replace ssa_remove_edge with remove_edge.
907         * basic-block.h: Likewise.
908         * tree-if-conv.c: Likewise.
909         * tree-ssa-threadupdate.c: Likewise.
910
911 2004-11-23  Ben Elliston  <bje@au.ibm.com>
912
913         * doc/cfg.texi (Maintaining the CFG): Use @ftable instead of
914         @table to list the BSI methods.  Use individual @findex directives
915         instead of one with a comma-separated list of index entries.
916
917 2004-11-22  Zdenek Dvorak  <dvorakz@suse.cz>
918
919         PR tree-optimization/18529
920         * fold-const.c (fold_to_nonsharp_ineq_using_bound): New function.
921         (simple_operand_p): Use STRIP_NOPS.  Consider SSA names simple.
922         (fold): Call fold_to_nonsharp_ineq_using_bound.
923         * tree-ssa-loop-niter.c (simplify_replace_tree): New function.
924         (number_of_iterations_cond): Fold the expressions before futher
925         processing.
926         (tree_simplify_using_condition): Handle case when cond or expr is
927         an EQ_EXPR specially.
928
929 2004-11-22 Daniel Berlin  <dberlin@dberlin.org>
930
931         * tree-ssa.c (verify_ssa): SSA_OP_ALL_USES should be
932         SSA_OP_ALL_USES | SSA_OP_ALL_KILLS for verification purposes.
933
934 2004-11-22  David Edelsohn  <edelsohn@gnu.org>
935             Fariborz Jahanian  <fjahanian@apple.com>
936
937         * config/rs6000/rs6000.c (rs6000_return_in_memory): Test
938         TARGET_ALTIVEC_ABI.
939         (function_arg_boundary): Align 8 to 16 byte vectors like SPE.
940         Align 16 byte and larger vectors like Altivec.
941         (function_arg_advance): Pass any 16 byte vector like Altivec vector.
942         (function_arg): Same.
943         (rs6000_pass_by_references): Test TARGET_ALTIVEC_ABI.
944
945 2004-11-22  Andrew Pinski  <pinskia@physics.uc.edu>
946
947         PR tree-opt/18572
948         * tree-sra.c (scalarize_init): Unshare the rhs before gimplifying
949         it.
950
951 2004-11-22  Richard Henderson  <rth@redhat.com>
952
953         * function.c (assign_parm_setup_block): Revert 11-13 change to
954         forcably re-mode a (possibly BLKmode) hard register.
955
956 2004-11-22  Eric Botcazou  <ebotcazou@libertysurf.fr>
957
958         * config/sparc/sparc.c (mem_min_alignment): Check MEM_ALIGN.
959
960 2004-11-22  David Edelsohn  <edelsohn@gnu.org>
961
962         * config/rs6000/power4.md: Remove delay between dispatch and issue
963         associated with dispatch group slots 3 and 4.
964         * config/rs6000/power5.md: Same.
965
966 2004-11-21  Jeff Law  <law@redhat.com>
967
968         * cfg.c (cached_make_edge): Use find_edge rather than an inlined
969         variant.
970         * cfgbuild.c (make_edges): Likewise.
971         * cfghooks.c (can_duplicate_block_p): Likewise.
972         * cfgloop.c (loop_latch_edge): Likewise.
973         * cfgloopmanip.c (force_single_succ_latches): Likewise.
974         * cfgrtl.c (rtl_flow_call_edges_add): Likewise.
975         * predict.c (predict_loops, propagate_freq): Likewise.
976         * tracer.c (tail_duplicate): Likewise.
977         * tree-cfg.c (disband_implicit_edges): Likewise.
978         (tree_forwarder_block_p, tree_flow_call_edges_add): Likewise.
979
980 2004-11-22  Nick Clifton  <nickc@redhat.com>
981
982         * sbitmap.c (sbitmap_union_of_preds): Remove redundant
983         initialisation of 'e'.
984
985 2004-11-22  Kazu Hirata  <kazu@cs.umass.edu>
986
987         PR rtl-optimization/18599
988         * regrename.c (copyprop_hardreg_forward): Speed up by putting
989         BB_VISITED flags on basic blocks as we process them.
990
991 2004-11-22  Nathan Sidwell  <nathan@codesourcery.com>
992
993         PR target/18531
994         * config/rs6000/altivec.md (VI_char): New mode attribute.
995         (addv16qi3, addv8hi3, addv4ai3): Replace with ...
996         (add<mode>3): ... this.
997         (subv16qi3, subv8hi3, subv4ai3): Replace with ...
998         (sub<mode>3): ... this.
999         (smaxv16qi3, smaxv8hi3, smaxv4ai3): Replace with ...
1000         (smax<mode>3): ... this.
1001         (sminv16qi3, sminv8hi3, sminv4ai3): Replace with ...
1002         (smin<mode>3): ... this.
1003         (umaxv16qi3, umaxv8hi3, umaxv4ai3): Replace with ...
1004         (umax<mode>3): ... this.
1005         (uminv16qi3, uminv8hi3, uminv4ai3): Replace with ...
1006         (umin<mode>3): ... this.
1007         (andv16qi3, andv8hi3, andv4ai3): Replace with ...
1008         (and<mode>3): ... this.
1009         (iorv16qi3, iorv8hi3, iorv4ai3): Replace with ...
1010         (ior<mode>3): ... this.
1011         (xorv16qi3, xorv8hi3, xorv4ai3): Replace with ...
1012         (xor<mode>3): ... this.
1013         (andv16qi3, andv8hi3, andv4ai3): Replace with ...
1014         (and<mode>3): ... this.
1015         (iorv16qi3, iorv8hi3, iorv4ai3): Replace with ...
1016         (ior<mode>3): ... this.
1017         (altivec_vnor): Replace with ...
1018         (altivec_nor<mode>): ... this.
1019         (one_cmplv16qi2, one_cmplv8hi2, one_complv4ai2): Replace with ...
1020         (one_cmpl<mode>2): ... this.
1021         (altivec_vandc): New expander.
1022         (*andc<mode>3): New insn.
1023         * config/rs6000/rs6000.c (bdesc_2arg): Adjust for new insn names.
1024
1025 2004-11-22  Dorit Naishlos  <dorit@il.ibm.com>
1026
1027         PR tree-opt/18536
1028         * tree-vectorizer.c (make_loop_iterate_ntimes): Use type of niters when
1029         creating iv instead of integer_type.
1030         (vect_build_loop_niters): Remove redundant code.
1031         (vect_transform_loop_bound): Removed (duplicates functionality of
1032         make_loop_iterate_ntimes.
1033         (vect_gen_niters_for_prolog_loop): Add documentation. Call
1034         lang_hooks.types.type_for_size to create a type of the required size.
1035         Use that type instead of integer_type. Remove redundant code.
1036         (vect_update_niters_after_peeling): Use type of niters instead of
1037         integer_type.
1038         (vect_transform_loop): Unify handling of known and unknown loop bound
1039         cases. Call make_loop_iterate_ntimes instead of
1040         vect_transform_loop_bound.
1041
1042 2004-11-22  Andrew Pinski  <pinskia@physics.uc.edu>
1043
1044         PR target/18217
1045         * config/rs6000/t-darwin (LIB2FUNCS_EXTRA): Move darwin-fallback.c to
1046         (LIB2ADDEH): Here.
1047
1048 2004-11-22  Dorit Naishlos  <dorit@il.ibm.com>
1049
1050         PR tree-opt/18544
1051         * tree-vectorizer.c (vect_analyze_data_refs): Fail if memtag not found.
1052
1053 2004-11-22 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
1054
1055         * config.gcc: Use t-slibgcc-elf to build libgcc_s.so on
1056         m32r*linux.
1057         * config/m32r/t-linux (SHLIB_MAPFILES): Override to use
1058         m32r/libgcc-glibc.ver.
1059         * config/m32r/libgcc-glibc.ver: Add New file.
1060
1061 2004-11-22  Nathan Sidwell  <nathan@codesourcery.com>
1062
1063         * bitmap.h (struct bitmap_obstack): New obstack type.
1064         (struct bitmap_head_def): Replace using_obstack with obstack
1065         pointer.
1066         (bitmap_default_obstack): New.
1067         (bitmap_initialize): Make inline, does not do allocation.
1068         (bitmap_release_memory): Remove.
1069         (bitmap_obstack_initialize, bitmap_obstack_release): Declare.
1070         (bitmap_obstack_alloc, bitmap_malloc_alloc, bitmap_gc_alloc,
1071         bitmap_obstack_free, bitmap_malloc_free): Declare.
1072         (BITMAP_OBSTACK_ALLOC, BITMAP_GGC_ALLOC, BITMAP_XMALLOC): Adjust.
1073         (BITMAP_FREE): Replace with ...
1074         (BITMAP_OBSTACK_FREE): ... this.
1075         (BITMAP_XFREE): Adjust.
1076         (BITMAP_INIT_ONCE): Remove.
1077         * bitmap.c (bitmap_obstack, bitmap_obstack_init, bitmap_free: Remove.
1078         (bitmap_default_obstack): New.
1079         (bitmap_elem_to_freelist): Adjust.
1080         (bitmap_element_allocate): Adjust. Break initialization into ...
1081         (bitmap_obstack_initialize): ... here.
1082         (bitmap_release_memory): Replace with ...
1083         (bitmap_obstack_release): ... this.
1084         (bitmap_obstack_alloc, bitmap_malloc_alloc, bitmap_gc_alloc,
1085         bitmap_obstack_free, bitmap_malloc_free): New.
1086         (bitmap_ior_and_compl, bitmap_ior_and_compl_into): Use
1087         bitmap_initialize.
1088         (bitmap_initialize): Move to bitmap.h.
1089         * gengtype.c (open_base_files): Add obstack.h to ifiles.
1090         * Makefile.in (BASIC_BLOCK_H, REGS_H): Add obstack.h.
1091         * basic-block.h (INIT_REG_SET): Allocate from reg_obstack.
1092         (INITIALIZE_REG_SET): Remove.
1093         (FREE_REG_SET): Use BITMAP_OBSTACK_FREE.
1094         (INIT_ONCE_REG_SET, MAX_REGNO_REG_SET): Remove.
1095         (flow_obstack): Do not declare.
1096         (reg_obstack): Declare.
1097         * regs.h: Include obstack.h.
1098         * tree-optimize.c (tree_rest_of_compilation): Initialize and
1099         release bitmap obstack here.
1100         * bb-reorder.c: #include regs, not basic-block.
1101         (fix_crossing_conditional_branches): Allocate regsets from
1102         reg_obstack.
1103         * bt-load.c: Do not inlude bitmap.h, sbitmap.h, basic-block.h or
1104         obstack.h.
1105         * caller-save.c: Include regs.h earlier.
1106         * cfg.c: Do not include basic-block.h or obstack.h.
1107         (reg_obstack): Define.
1108         * cfganal.c: Include obstack.h
1109         * cfgcleanyp.c: Do not include basic-block.h. Include regs.h
1110         earlier.
1111         * cfglayout.c: Do not include obstack.h.
1112         (flow_obstack): Remove declaration.
1113         (cfg_layout_duplicate_bb): Use reg_obstack.
1114         * cfgloop.c, cfgloopanal.c, cfgloopmanip.c: Include obstack.h.
1115         * cfgrtl.c (rtl_split_block): Use reg_obstack.
1116         (force_nonfallthru_and_redirect, rtl_split_edge): Likewise.
1117         (safe_insert_insn_on_edge): Use OBSTACK_ALLOC_REG_SET, adjust.
1118         (cfg_layout_split_edge): Use reg_obstack.
1119         * cse.c: Include regs.h earlier.
1120         * ddg.c: Do not include basic-block.h.
1121         * dominance.c: Inlude obstack.h.
1122         * flow.c (update_life_info): Use OBSTACK_ALLOC_REG_SET, adjust.
1123         (calculate_global_regs_live): Likewise.
1124         (allocate_bb_life_data): Use reg_obstack.
1125         (init_propagate_block_info): Use OBSTACK_ALLOC_REGSET.
1126         * global.c: Do not include basic-block.h.
1127         (build_insn_chain): Use OBSTACK_ALLOC_REG_SET, adjust.
1128         * graph.c: Include obstack.h.
1129         * haifa-sched.c: Do not include basic-block.h.
1130         * ifcvt.c: Use OBSTACK_ALLOC_REG_SET, adjust.
1131         * local-alloc.c: Do not include basic-block.h.
1132         * loop-init.c, loop-invariant.c: Include obstack.h.
1133         * loop-iv.c: Likewise.
1134         (simplify_using_initial_values): Use OBSTACK_ALLOC_REG_SET,
1135         adjust.
1136         * loop-unroll.c, loop-unswitch.c: Inlude obstack.h.
1137         * modulo-sched.c: Do not include basic-block.h.
1138         * passes.c (rest_of_handle_final): Do not call
1139         regset_release_memory.
1140         * ra-debug.c: Include regs.h earlier. Do not include
1141         basic-block.h.
1142         * recog.c (peephole2_optimize): Use OBSTACK_ALLOC_REG_SET, adjust.
1143         * regclass.c (init_reg_sets): Do not call INIT_ONCE_REG_SET.
1144         (allocate_reg_info): Do not call MAX_REGNO_REG_SET.
1145         (regset_release_memory): Remove.
1146         * resource.c: Do not include basic-block.h.
1147         * rtlanal.c: Do not include basic-block.h.
1148         * sbitmap.c: Include obstack.h.
1149         * sched-deps.c: Do not include basic-block.h.
1150         (reg_pending_sets_head, reg_pending_clobbers_head,
1151         reg_pending_uses_head): Remove.
1152         (init_deps_global): Use OBSTACK_ALLOC_REG_SET.
1153         * sched-ebb.c: Do not include basic-block.h.
1154         * sched-rgn.c: Likewise.
1155         * tree-if-conv.c (get_loop_body_in_if_conv_order): Use
1156         BITMAP_XFREE.
1157         * tree-outof-ssa.c (perform_edge_inserts): Use BITMAP_XFREE.
1158         * tree-sra.c (decide_instantiations): Adjust bitmap
1159         initialization.
1160         * tree-ssa-dce.c: Include obstack.h.
1161         * tree-ssa-pre.c (grand_bitmap_obstack): Make a bitmap_obstack.
1162         (value_insert_into_set_bitmap): Remove useless bitmap_clear.
1163         (bitmap_set_new): Likewise.
1164         (init_pre): Initialize bitmap obstack.
1165         (fini_pre): Release bitmap obstack.
1166         * tree-ssanames.c (ssa_names_to_rewrite): Make static.
1167         (marked_for_rewrite_p): ssa_names_to_rewrite is never NULL.
1168         (mark_for_rewrite, unmark_for_rewrite): Likewise.
1169         (marked_ssa_names): Likewise.
1170         (init_ssanames): Use BITMAP_XMALLOC.
1171         (fini_ssanames): Use BITMAP_XFREE.
1172         * web.c: Include obstack.h
1173
1174 2004-11-22  Nick Clifton  <nickc@redhat.com>
1175
1176         * sbitmap.c (sbitmap_union_of_preds): Set 'e' to the next edge
1177         predecessor in the first for-loop.
1178
1179 2004-11-21  Stan Shebs  <shebs@apple.com>
1180
1181         * config/rs6000/rs6000.c: (rs6000_darwin64_function_arg): Add
1182         UNION_TYPE case.
1183         (function_arg): Move darwin test up, sniff mode first for
1184         efficiency, test for union type.
1185
1186 2004-11-21  Dale Johannesen  <dalej@apple.com>
1187
1188         * config/darwin.h (JUMP_TABLES_IN_TEXT_SECTION):  Define.
1189
1190 2004-11-21  Jeff Law  <law@redhat.com>
1191
1192         * tree-ssa.c (verify_use): Fix comment.
1193         (verify_phi_args): Check that the number of incoming edges matches
1194         the number of PHI arguments.  Check that each PHI argument is
1195         either an SSA_NAME or an invariant.  Coalesce tests for PHIs for
1196         dead or duplicated edges.  Clear e->aux earlier and avoid separate
1197         loop to clear e->aux and test for missed edges.
1198         (verify_ssa): Remove first walk over statements.  Move checking
1199         of PHI args into verify_phi_args.  Move checking of statements
1200         with aliased stores and V_MAY_DEFS into the remaining loop over
1201         the statements.  Register defs by walking through the formal
1202         SSA_NAME table.
1203
1204 2004-11-21  Roger Sayle  <roger@eyesopen.com>
1205
1206         PR middle-end/18520
1207         * dojump.c (compare_from_rtx): Clarify mode argument in function
1208         description.  Correct order of mode/cmp_mode arguments in call to
1209         simplify_relational_operation.  Check "tem" for COMPARISON_P.
1210
1211 2004-11-21  Paolo Bonzini  <bonzini@gnu.org>
1212             David Edelsohn  <edelsohn@gnu.org>
1213
1214         PR target/17836
1215         * config/rs6000/rs6000.c (rs6000_return_in_memory): Return
1216         synthetic vectors in memory.
1217         (function_arg_boundary): Align large synthetic vectors.
1218         (rs6000_pass_by_reference): Pass synthetic vectors in memory.
1219
1220 2004-11-21  Jeff Law  <law@redhat.com>
1221
1222         * cfg.c (update_bb_profile_for_threading): Do not rescale the
1223         successor probabilities if they are not going to change.  Pull
1224         division out of loop if we do need to rescale successor probabilities.
1225
1226         * tree-ssa-threadupdate.c (redirection_data_hash): Use the
1227         index of the destination block for the hash value rather than
1228         hashing a pointer.
1229
1230 2004-11-20  Joseph S. Myers  <joseph@codesourcery.com>
1231
1232         * c-typeck.c (build_array_ref): Don't check for index == 0.  Make
1233         checks for neither argument being an array or pointer (swapping
1234         the arguments if necessary), the array argument being a pointer to
1235         or array of functions and for -Wchar-subscripts warnings upfront.
1236
1237 2004-11-20  Jeff Law  <law@redhat.com>
1238
1239         * regrename.c (copyprop_hardreg_forward): Only search for a
1240         previously processed block if the current block only has one
1241         predecessor.
1242
1243 2004-11-20  Kazu Hirata  <kazu@cs.umass.edu>
1244
1245         * tree-ssa-threadupdate.c, tree-vectorizer.c: Fix comment
1246         typos.
1247         * config/arm/arm.c: Follow spelling conventions.
1248
1249 2004-11-20  Richard Earnshaw  <rearnsha@arm.com>
1250
1251         * arm.c (arm_override_options): Use arm_ld_sched rather than testing
1252         a bit in tune_flags.
1253         (const_double_needs_minipool): Likewise.  Split most of the code out
1254         into ...
1255         (arm_const_double_inline_cost): ... new function here.
1256         * arm-protos.h (arm_const_double_inline_cost): Add prototype.
1257         * arm.h (EXTRA_CONSTRAINT_STR_ARM): Add D[abc] constraints for double-
1258         word constants of length 2, 3 and 4 insns respectively.
1259         (CONSTRAINT_LEN): The 'D' prefix is a 2-letter constraint.
1260         * arm.md (arm_movdi, movdf_soft_insn): Add alternatives for D[abc]
1261         constraints.  Set insn lenghts accordingly.
1262
1263 2004-11-19  Jeff Law  <law@redhat.com>
1264
1265         * tree-ssa-threadupdate.c: Replace REDIRECTION_DATA varray with
1266         a hash table.  Extensive modifications throughout to support
1267         that change.
1268         (struct el): New.
1269         (struct local_info): New.
1270         (struct redirection_data): Add new INCOMING_EDGES and DO_NOT_DUPLICATE
1271         fields.
1272         (redirection_data): Now a hashtable.
1273         (redirection_data_hash, redirection_data_eq): New.
1274         (lookup_redirection_data, create_duplicates): New.
1275         (create_edge_and_update_destionation_phis): New.
1276         (fixup_template_block, redirect_edges): New.
1277         (thread_block): Use hash table traversals instead of loops over
1278         varray entries or incoming edge vectors.
1279
1280 2004-11-19  Kazu Hirata  <kazu@cs.umass.edu>
1281
1282         * basic-block.h (edge_def): Add dest_idx.
1283         * cfg.c (unchecked_make_edge): Initialize dest_idx.
1284         (remove_edge): Simplify the disconnection of an edge from its
1285         destination.
1286         (redirect_edge_succ): Likewise.
1287         * cfghooks.c (verify_flow_info): Check the consistency of
1288         dest_idx for each edge.
1289
1290 2004-11-19  Aldy Hernandez  <aldyh@redhat.com>
1291
1292         * simplify-rtx.c (simplify_ternary_operation): Use
1293         gen_int_mode.
1294
1295 2004-11-19  Kazu Hirata  <kazu@cs.umass.edu>
1296
1297         * tree-cfg.c (reinstall_phi_args): New.
1298         (tree_split_edge): Use it after redirecting an edge.  Don't
1299         modify PHI_ARG_EDGE.
1300
1301 2004-11-19  Andreas Tobler  <a.tobler@schweiz.ch>
1302
1303         * tree-vectorizer.c (slpeel_verify_cfg_after_peeling): Define only
1304         if checking is enabled.
1305
1306 2004-11-19  Joseph S. Myers  <joseph@codesourcery.com>
1307
1308         * c-decl.c (push_scope): Remove "\n" from end of diagnostic for
1309         too many nested scopes.
1310
1311 2004-11-19  Dorit Naishlos  <dorit@il.ibm.com>
1312
1313         PR tree-opt/18181
1314         * tree-vectorizer.c (slpeel_tree_peel_loop_to_edge): Peeling scheme
1315         changed to suppoer uses-after-loop and to void creating flow paths
1316         that shouldn't exist.
1317         (slpeel_update_phi_nodes_for_guard): Takes additional two arguments.
1318         Modified to fit the new peeling scheme. Avoid quadratic behavior.
1319         (slpeel_add_loop_guard): Takes additional argument.
1320         (slpeel_verify_cfg_after_peeling): New function.
1321         (vect_update_ivs_after_vectorizer): Takes additional argument. Updated
1322         documentation. Use 'exit-bb' instead of creating 'new-bb'.
1323         (rename_variables_in_bb): Don't update phis for BBs out of loop, to fit
1324         the new peeling scheme.
1325         (copy_phi_nodes): Function removed. Its functionality moved to
1326         update_phis_for_duplicate_loop.
1327         (slpeel_update_phis_for_duplicate_loop): Functionality of copy_phi_nodes
1328         moved here. Added documentation. Modified to fit the new peeling scheme.
1329         (slpeel_make_loop_iterate_ntimes): Setting loop->single_exit not not
1330         needed - done in slpeel_tree_peel_loop_to_edge.
1331         (slpeel_tree_duplicate_loop_to_edge_cfg): Debug printouts compacted.
1332         (vect_do_peeling_for_loop_bound): Add documentation. Call
1333         slpeel_verify_cfg_after_peeling. Call vect_update_ivs_after_vectorizer
1334         with additional argument.
1335         (vect_do_peeling_for_alignment): Call slpeel_verify_cfg_after_peeling.
1336
1337         (vect_finish_stmt_generation): Avoid 80 column oveflow.
1338
1339 2004-11-19  Dorit Naishlos  <dorit@il.ibm.com>
1340
1341         * tree-vectorizer.c (slpeel_make_loop_iterate_ntimes): Last two
1342         arguments removed.
1343         (slpeel_tree_peel_loop_to_edge): Call slpeel_make_loop_iterate_ntimes
1344         without last two arguments. Update single_exit of loops.
1345         (vect_update_niters_after_peeling): Removed. Its functionality was
1346         moved to vect_do_peeling_for_alignment.
1347         (vect_do_peeling_for_loop_bound): New name for function previously
1348         called vect_transform_for_unknown_loop_bound.
1349         (vect_transform_loop_bound): Call slpeel_make_loop_iterate_ntimes
1350         instead of code that duplicates the same functionality.
1351         (vect_do_peeling_for_alignment): Functionality of
1352         vect_update_niters_after_peeling moved here.
1353         (vect_transform_loop): Unify call to vect_do_peeling_for_loop_bound -
1354         previously named vect_transform_for_unknown_loop_bound - for both known
1355         and unknown loop bound cases.
1356
1357 2004-11-19  Dorit Naishlos  <dorit@il.ibm.com>
1358
1359         * tree-vectorizer.c (slpeel_can_duplicate_loop_p): New name for function
1360         previously called verify_loop_for_duplication. All conditions compacted
1361         into one compound condition. Removed debug dumps.
1362         (vect_analyze_loop_with_symbolic_num_of_iters): Removed. Some of the
1363         functionality moved to vect_can_advance_ivs_p, and some to
1364         vect_analyze_loop_form.
1365         (vect_can_advance_ivs_p): New function. Contains functionality that was
1366         taken out of vect_analyze_loop_with_symbolic_num_of_iters.
1367         (slpeel_tree_peel_loop_to_edge): Call slpeel_can_duplicate_loop_p.
1368         (vect_analyze_operations): Call vect_can_advance_ivs_p and
1369         slpeel_can_duplicate_loop_p.
1370         (vect_get_loop_niters): Added documentation.
1371         (vect_analyze_loop_form): Check the loop entry always - not only in case
1372         of unknown loop bound. Create preheader and exit bb if necessary. Apply
1373         a check that used to take place in
1374         vect_analyze_loop_with_symbolic_num_of_iters.
1375         (vectorize_loops): Call verify_loop_closed_ssa under ENABLE_CHECKING.
1376         Remove redundant call to rewrite_into_loop_closed_ssa.
1377         (vect_compute_data_refs_alignment): Removed obsolete comment.
1378
1379 2004-11-19  Dorit Naishlos  <dorit@il.ibm.com>
1380
1381         * tree-vectorizer.c (slpeel_tree_peel_loop_to_edge): New name for
1382         function previously called tree_duplicate_loop_to_edge.
1383         (slpeel_tree_duplicate_loop_to_edge_cfg): New name for function
1384         previously called tree_duplicate_loop_to_edge_cfg.
1385         (slpeel_update_phis_for_duplicate_loop): Prefix 'slpeel' added to
1386         function name.
1387         (slpeel_update_phi_nodes_for_guard): Likewise.
1388         (slpeel_make_loop_iterate_ntimes): Likewise.
1389         (slpeel_add_loop_guard): Likewise.
1390         (allocate_new_names, free_new_names): Function declaration moved to top
1391         of file.
1392         (rename_use_op, rename_def_op): Likewise.
1393         (rename_variables_in_bb, rename_variables_in_loop): Likewise.
1394         (vect_generate_tmps_on_preheader): Function declaration moved.
1395         (vect_transform_for_unknown_loop_bound): Added missing function
1396         declaration.
1397
1398 2004-11-19  Andrew Pinski  <pinskia@physics.uc.edu>
1399
1400         PR tree-opt/18507
1401         * tree-flow.h (tree_on_heap): Typedef because there is already a VEC(tree).
1402         Define a VEC(tree_on_heap) for head.
1403         (register_new_def): Change second argument to be a VEC(tree_on_heap).
1404         * tree-ssa-dom.c (block_defs_stack): Change to be a VEC(tree_on_heap).
1405         (tree_ssa_dominator_optimize): Initialize block_defs_stack with
1406         the VEC(tree_on_heap) function.  Also free it before returning.
1407         (dom_opt_initialize_block): Use VEC_safe_push instead of VARRAY_PUSH_TREE
1408         for block_defs_stack.
1409         (restore_currdefs_to_original_value): Use VEC_length instead of
1410         VARRAY_ACTIVE_SIZE. VEC_pop instead of VARRAY_TOP_TREE/VARRAY_POP.
1411         (dom_opt_finalize_block): Use VEC_safe_push instead of VARRAY_PUSH_TREE
1412         for block_defs_stack.
1413         * tree-into-ssa.c (block_defs_stack): Change to be a VEC(tree_on_heap).
1414         (rewrite_initialize_block): Use VEC_safe_push instead of VARRAY_PUSH_TREE
1415         for block_defs_stack.
1416         (ssa_register_new_def): Likewise.
1417         (ssa_rewrite_initialize_block): Likewise.
1418         (rewrite_finalize_block): Use VEC_length instead of
1419         VARRAY_ACTIVE_SIZE. VEC_pop instead of VARRAY_TOP_TREE/VARRAY_POP.
1420         (ssa_rewrite_finalize_block): Likewise.
1421         (register_new_def): Change second argument to be a VEC(tree_on_heap).
1422         Use VEC_safe_push instead of VARRAY_PUSH_TREE.
1423         (rewrite_blocks): Initialize block_defs_stack with
1424         the VEC(tree_on_heap) function.  Also free it before returning.
1425         (rewrite_ssa_into_ssa): Likewise.
1426
1427 2004-11-19  Fariborz Jahanian <fjahanian@apple.com>
1428
1429         * config/darwin.c (machopic_data_defined_p): return 1 for
1430         MACHOPIC_DEFINED_FUNCTION.
1431
1432 2004-11-19  Jeff Law  <law@redhat.com>
1433
1434         * tree-ssa.c (verify_ssa): Remove redundant checking of PHI
1435         arguments.
1436
1437 2004-11-19  Paul Brook  <paul@codesourcery.com>
1438
1439         PR target/17735
1440         * varasm.c (default_assemble_integer): Allow pointer-sized values.
1441         Expand comment.
1442
1443 2004-11-19  Nick Clifton  <nickc@redhat.com>
1444
1445         * config/stormy16/stormy16.c (combine_bnp): Add code to handle
1446         zero_extension and lshiftrt insns.
1447         Replace uses of XEXP(...) with either SET_DEST() or SET_SRC()
1448         where appropriate.
1449         * config/stormy16.stormy16.md (bclrx3, bsetx3): New patterns
1450         to handle bp and bn insn patterns with a zero_extend rtx
1451         inside them.
1452
1453 2004-11-19  Ian Lance Taylor  <ian@wasabisystems.com>
1454
1455         * config/arm/arm.md (generic_sched): Make const.
1456
1457 2004-11-19  Kazu Hirata  <kazu@cs.umass.edu>
1458
1459         * emit-rtl.c (classify_insn): Make it static.
1460         * rtl.h: Remove the corresponding prototype.
1461
1462         * integrate.c (has_func_hard_reg_initial_val,
1463         get_func_hard_reg_initial_val): Make them static.
1464         * integrate.h: Remove the corresponding prototypes.
1465
1466 2004-11-19  Ben Elliston  <bje@au.ibm.com>
1467
1468         * dwarf2asm.h (dw2_asm_output_pcel): Stub out with #if 0.
1469         (dw2_asm_output_delta_sleb128): Likewise.
1470         * dwarf2asm.c (dw2_asm_output_pcrel): Likewise.
1471         (dw2_asm_output_delta_sleb128): Likewise.
1472
1473 2004-11-19  Adam Nemet  <anemet@lnxw.com>
1474
1475         * tree-ssa-alias.c: Fix comment.
1476
1477 2004-11-19  Kazu Hirata  <kazu@cs.umass.edu>
1478
1479         * tree-outof-ssa.c: Fix a comment typo.
1480
1481 2004-11-19  Ben Elliston  <bje@au.ibm.com>
1482
1483         * predict.h (predict_insn): Remove extern declaration.
1484         * predict.c (predict_insn): Make static.
1485
1486 2004-11-19  Alan Modra  <amodra@bigpond.net.au>
1487
1488         * config/rs6000/rs6000.c (function_arg): Don't return BLKmode regs.
1489
1490 2004-11-18  Nicolas Pitre <nico@cam.org>
1491
1492         * config/arm/arm.c (const_double_needs_minipool): New function to
1493         determine if a CONST_DOUBLE should be pushed to the minipool.
1494         (note_invalid_constants): Use it.
1495
1496 2004-11-18  Paul Brook  <paul@codesourcery.com>
1497
1498         * config/arm/arm.c (target_float_switch): New variable..
1499         (arm_override_options): Use TARGET_DEFAULT_FLOAT_ABI and
1500         target_float_switch.
1501         * config/arm/arm.h (target_float_switch): Declare.
1502         (ARM_FLAG_SOFT_FLOAT): Remove.
1503         (TARGET_SWITCHES): Remove hard-float and soft-float.
1504         (TARGET_OPTIONS): Add hard-float and soft-float.
1505         (TARGET_DEFAULT_FLOAT_ABI): Define.
1506         * config/arm/coff.h (TARGET_DEFAULT_FLOAT_ABI): Define
1507         (TARGET_DEFAULT): Don't use ARM_FLAG_SOFT_FLOAT.
1508         * config/arm/elf.h: Don't use ARM_FLAG_SOFT_FLOAT.
1509         * config/arm/netbsd-elf.h: Ditto.
1510         * config/arm/netbsd.h: Ditto.
1511         * config/arm/pe.h: Ditto.
1512         * config/arm/unknown-elf.h: Ditto.
1513         * config/arm/wince-pe.h: Ditto.
1514         * config/arm/linux-elf.h (TARGET_DEFAULT_FLOAT_ABI): Define.
1515         * config/arm/semi.h (TARGET_DEFAULT_FLOAT_ABI): Define.
1516         * config/arm/semiaof.h (TARGET_DEFAULT_FLOAT_ABI): Define.
1517
1518 2004-11-18  Nathan Sidwell  <nathan@codesourcery.com>
1519
1520         * config/rs6000/altivec.md (VI, VF, V): New mode macros.
1521         (altivec_lvx_4si, altivec_lvx_8hi, altivec_lvx_16qi,
1522         altivec_lvx_4sf): Rename and replace with ...
1523         (altivec_lvx_<mode>): ... mode macro version.
1524         (altivec_stvx_4si, altivec_stvx_8hi, altivec_stvx_16qi,
1525         altivec_stvx_4sf): Rename and replace with ...
1526         (altivec_stvx_<mode>): ... mode macro version.
1527         (movv4si, movv8hi, movv16qi, movv4sf}): Replace with ...
1528         (mov<mode>): ... mode macro version.
1529         (*movv4si_internal, *movv8hi_internal1, *movv16qi_internal1,
1530         *movv4sf_internal1): Replace with ...
1531         (*mov<mode>_internal): ... mode macro version.
1532         (get_vrsave_internal, *set_vrsave_internal, *save_world,
1533         *restore_world): Unquote output statements.
1534         * config/rs6000/rs6000.c (altivec_expand_ld_builtin,
1535         altivec_expand_st_builtin): Adjust insn names.
1536
1537 2004-11-18  Aldy Hernandez  <aldyh@redhat.com>
1538
1539         * config/rs6000/rs6000.c (rs6000_complex_function_value): Revert
1540         previous change.
1541         (rs6000_override_options): Likewise.
1542         (spe_build_register_parallel): Handle complex doubles on e500v2.
1543         (rs6000_spe_function_arg): Likewise.
1544         (function_arg): Likewise.
1545         (rs6000_function_value): Likewise.
1546         (rs6000_libcall_value): Likewise.
1547
1548 2004-11-18  Andrew Pinski  <pinskia@physics.uc.edu>
1549
1550         * ifcvt.c (find_if_block): Move the check for the number of edges
1551         above the loops checking for complex edges.
1552         Remove the counting of edges as we use EDGE_COUNT now.
1553
1554 2004-11-18  Kazuhiro Inaoka <inaoka.kazuhiro@renesas.comn>
1555
1556         * config/m32r/linux.h (TARGET_ASM_FILE_END): Set
1557         TARGET_ASM_FILE_END to file_end_indicate_exec_stack.3
1558
1559 2004-11-18  Andreas Schwab  <schwab@suse.de>
1560
1561         * config/i386/i386.md (define_peephole2): Revert last change.
1562
1563 2004-11-18  Kazuhiro Inaoka <inaoka.kazuhiro@renesas.comn>
1564
1565         * config/m32r/linux.h (TARGET_ASM_FILE_END): Set
1566         TARGET_ASM_FILE_END to file_end_indicate_exec_stack.
1567
1568 2004-11-18  Diego Novillo  <dnovillo@redhat.com>
1569
1570         * tree-ssa-propagate.c (ssa_prop_init): Use FOR_ALL_BB instead
1571         of FOR_EACH_BB.
1572
1573 2004-11-18  Jon Grimm <jgrimm2@us.ibm.com>
1574
1575         * Makefile.in (macro_list): Depend on s-macro_list.
1576         (s-macro_list): New target.
1577
1578 2004-11-18  Nathan Sidwell  <nathan@codesourcery.com>
1579
1580         PR target/17107
1581         * fold-const.c (RANGE_TEST_NON_SHORT_CIRCUIT): Rename to ...
1582         (LOGICAL_OP_NON_SHORT_CIRCUIT): ... here.
1583         (fold_range_test): Adjust.
1584         (fold_truthop): Use it.
1585         * config/rs6000/rs6000.h (RANGE_TEST_NON_SHORT_CIRCUIT): Rename to ...
1586         (LOGICAL_OP_NON_SHORT_CIRCUIT): ... here.
1587
1588 2004-11-18  Uros Bizjak  <uros@kss-loka.si>
1589
1590         * configure/i386/i386.md (*fix_trunch_1): Add "&& 1" to
1591         insn split constraint.
1592         (define_peephole2): Remove unneeded "&& 1" from peephole2
1593         constraints.
1594
1595 2004-11-18  Ben Elliston  <bje@au.ibm.com>
1596
1597         * doc/cfg.texi (Maintaining the CFG): Remove duplicated @item
1598         element for bsi_prev; use @findex instead.
1599
1600 2004-11-18  Ben Elliston  <bje@au.ibm.com>
1601
1602         * opts.h (add_input_filename): Remove extern declaration.
1603         * opts.c (add_input_filename): Make static.
1604
1605 2004-11-17  Mark Mitchell  <mark@codesourcery.com>
1606
1607         * config/i386/i386.c (i386_solaris_elf_named_section): Mark with
1608         ATTRIBUTE_UNUSED.
1609
1610 2004-11-17  Zack Weinberg  <zack@codesourcery.com>
1611
1612         * defaults.h, config/darwin.h: Don't define TARGET_SUPPORTS_HIDDEN.
1613         * system.h: Poison it.
1614         * doc/tm.texi: Delete its documentation.
1615
1616 2004-11-18  Daniel Jacobowitz  <dan@codesourcery.com>
1617             Mark Mitchell  <mark@codesourcery.com>
1618
1619         * config/i386/sol2-10.h, config/i386/t-sol2-10: New files.
1620         * config/i386/i386.c (i386_solaris_elf_named_section): New
1621         function.
1622         * config.gcc (i[34567]86-*-solaris2*): Handle Solaris 2.10.
1623         * config/i386/sol2.h (ASM_PREFERRED_EH_DATA_FORMAT): Handle
1624         64-bit.
1625         (ASM_QUAD): Don't undefine for biarch targets.
1626         * config/i386/t-sol2: Introduce multilib support.
1627
1628 2004-11-18  Ben Elliston  <bje@au.ibm.com>
1629
1630         * cgraphunit.c: Replace "it's" with "its" and fix a typo.
1631
1632 2004-11-18  Ben Elliston  <bje@au.ibm.com>
1633
1634         * cgraph.h: Replace "it's" with "its" throughout.
1635
1636 2004-11-18  Ben Elliston  <bje@au.ibm.com>
1637
1638         * doc/rtl.texi (Flags): Grammar fix.
1639
1640 2004-11-17  Kazu Hirata  <kazu@cs.umass.edu>
1641
1642         * expmed.c (alg_code): Add alg_unknown.
1643         (alg_hash_entry): New.
1644         (NUM_ALG_HASH_ENTRIES): Likewise.
1645         (alg_hash): Likewise.
1646         (synth_mult): Cache the result into alg_hash.
1647
1648 2004-11-17  Zack Weinberg  <zack@codesourcery.com>
1649
1650         * config/rs6000/t-darwin: Augment SHLIB_MAPFILES with
1651         config/rs6000/libgcc-ppc64.ver.
1652
1653 2004-11-17  Kazu Hirata  <kazu@cs.umass.edu>
1654
1655         * cfgrtl.c (rtl_verify_flow_info): Don't use INSN_P when
1656         checking if an unconditional return is followed by a barrier.
1657
1658         * jump.c (condjump_p): Remove unreachable code.
1659
1660         * basic-block.h, c-common.h, df.h, expr.h, output.h, rtl.h,
1661         tree-chrec.h, tree-flow.h, tree-scalar-evolution.h,
1662         tree-ssa-live.h, tree.h: Remove unused prototypes.
1663
1664 2004-11-17  Jeff Law  <law@redhat.com>
1665
1666         * tree-cfg.c (edge_to_cases): Renamed from edge_to_case_leader.
1667         (edge_to_cases_elt): Renamed from edge_to_case_leader.
1668         (edge_to_cases_hash): Renamed from edge_to_case_leader_hash.
1669         (edge_to_cases_eq): Renamed from edge_to_case_leader_eq.
1670         (edge_to_cases_cleanup, recording_case_labels_p): New functions.
1671         (get_cases_for_edge): New function.
1672         (start_recording_case_labels, end_recording_case_labels): Similarly.
1673         (record_switch_edge): Don't muck with the CASE_LABEL.  Instead
1674         chain equivalent CASE_LABEL_EXPRs together.
1675         (get_case_leader_for_edge, get_case_leader_for_edge_hash): Kill.
1676         (make_switch_expr_edges): Do not record edge/cases here.
1677         (cleanup_tree_cfg): Record cases around the call to thread_jumps.
1678         (split_critical_edges): Record cases around the edge splitting code.
1679         (cleanup_dead_labels): Use CASE_LABEL again.
1680         (tree_redirect_edge_and_branch): If we have a mapping from edge
1681         to cases, use it to handle redirections.  Else do it the slow way.
1682         * tree.h (CASE_LEADER_OR_LABEL): Kill.
1683         (CASE_LABEL): Revert to just looking at the tree's second operand.
1684         * tree.c (get_case_label): Kill.
1685
1686 2004-11-17  Diego Novillo  <dnovillo@redhat.com>
1687
1688         PR tree-optimization/18307
1689         * tree-ssa-alias.c (merge_pointed_to_info): ICE if 'dest' and
1690         'orig' are the same node.
1691         (collect_points_to_info_r): Do not call merge_pointed_to_info
1692         when the PHI argument is identical to the LHS.
1693
1694 2004-11-17  Steven Bosscher  <stevenb@suse.de>
1695
1696         * tree-ssa-propagate.c (cfg_blocks_add): Assert we're not trying
1697         to insert the exit or entry block.
1698         (ssa_prop_init): Use add_control_edge to seed the algorithm.
1699
1700 2004-11-16  Zack Weinberg  <zack@codesourcery.com>
1701
1702         * mkmap-flat.awk, mkmap-symver.awk: If the last version
1703         assigned to a symbol was '%exclude', do not emit it anywhere.
1704         If leading_underscore is true, prefix all symbols from the
1705         version scripts with a leading underscore before comparing
1706         them with nm output or emitting them.  Remove support for dot
1707         symbols.
1708         * config/t-slibgcc-darwin (SHLIB_LINK): Use mkmap-flat.awk.
1709         (SHLIB_MAPFILES): Use libgcc-std.ver.
1710         (SHLIB_MKMAP_OPTS): Enable leading-underscore mode.
1711         (SHLIB_LINK): Add -Wl,-exported_symbols_list,$(SHLIB_MAP).
1712         * config/sh/t-linux: Use the normal libgcc-std.ver, plus
1713         libgcc-excl.ver and libgcc-glibc.ver.
1714
1715         * config/sh/libgcc-excl.ver: New file.
1716         * config/sh/libgcc-std.ver, libgcc-darwin.ver: Delete.
1717
1718 2004-11-16  Daniel Berlin  <dberlin@dberlin.org>
1719
1720         * lambda-code.c (lambda_loopnest_to_gcc_loopnest): Swap
1721         the test when the edge has the opposite meaning, not when
1722         the first argument is invariant.
1723
1724 2004-11-16  Aldy Hernandez  <aldyh@redhat.com>
1725
1726         * config/rs6000/rs6000.c (rs6000_override_options): Split e500v2
1727         doubles.
1728         (rs6000_complex_function_value): Handle e500 v2 variant.
1729
1730 2004-11-16  Daniel Berlin  <dberlin@dberlin.org>
1731
1732         Fix PR tree-optimization/18519
1733
1734         * tree-optimize (execute_todo): Add case for TODO_cleanup_cfg.
1735         * tree-pass.h: Add TODO_cleanup_cfg.
1736         * tree-ssa-ccp.c (pass_ccp): Use TODO_cleanup_cfg.
1737         (ccp_finalize): Remove call to cleanup_cfg.
1738         * tree-ssa-dce.c (pass_dce): Use TODO_cleanup_cfg and TODO_dump_func.
1739         (pass_cd_dce): Ditto.
1740         (perform_tree_ssa_dce): Remove call to cleanup_cfg,
1741         dump_function_to_file.
1742         * tree-ssa-loop-ch.c (copy_loop_headers): Remove call
1743         to cleanup_cfg.
1744         (pass_ch): Add TODO_cleanup_cfg.
1745         * tree-ssa-loop.c (tree_ssa_loop_done): Remove call to
1746         cleanup_cfg.
1747         (pass_loop_done): Add TODO_cleanup_cfg.
1748         * tree-ssa-phiopt.c (pass_phiopt): Ditto.
1749         (tree_ssa_phiopt): Remove call to cleanup_cfg.
1750
1751 2004-11-16  Devang Patel  <dpatel@apple.com>
1752
1753         * optabs.c (vector_compare_rtx): Fix COMPARISON_CLASS_P use.
1754
1755 2004-11-16  Kazu Hirata  <kazu@cs.umass.edu>
1756
1757         * expmed.c, ra-colorize.c: Fix comment typos.
1758
1759         * doc/tm.texi: Fix typos.
1760
1761 2004-11-16  Daniel Jacobowitz  <dan@codesourcery.com>
1762             Mark Mitchell  <mark@codesourcery.com>
1763
1764         PR target/6123
1765         * config/sol2.h (TARGET_OS_CPP_BUILTINS): Define __PIC__ and
1766         __pic__ if PIC.
1767
1768 2004-11-16  Ulrich Weigand  <uweigand@de.ibm.com>
1769
1770         * regmove.c (regmove_optimize): Use lowpart_subreg instead of
1771         gen_rtx_SUBREG with incorrect offset to compute SRC_SUBREG.
1772
1773 2004-11-16  Devang Patel  <dpatel@apple.com>
1774
1775         * tree-if-conv.c (clean_predicate_lists): Update gcc_assert check.
1776
1777 2004-11-16  Eric Christopher  <echristo@redhat.com>
1778
1779         * config/mips/mips.c: Use rtl _P predicates.
1780         * config/mips/mips.h: Ditto.
1781         * config/mips/mips.md: Ditto.
1782
1783 2004-11-16  Fariborz Jahanian <fjahanian@apple.com>
1784
1785         * config/rs6000/altivec.md (altivec_vandc): Canonicalize
1786         the pattern.
1787
1788 2004-11-16  Andreas Krebbel  <krebbel1@de.ibm.com>
1789
1790         * config/s390/s390.c (s390_cc_modes_compatible): New function.
1791         (TARGET_CC_MODES_COMPATIBLE): Target macro defined.
1792
1793 2004-11-16  Kaz Kojima  <kkojima@gcc.gnu.org>
1794
1795         PR target/18447
1796         * config/sh/sh.c (prepare_move_operands): Emit blockage insns
1797         before and after the insns for getting GOT address in non-PIC
1798         TLS_MODEL_INITIAL_EXEC tls sequence when the first scheduling
1799         is enabled.
1800
1801 2004-11-16  Andreas Krebbel  <krebbel1@de.ibm.com>
1802
1803         * gcc/cse.c (struct change_cc_mode_args): New structure.
1804         (cse_change_cc_mode_insn): New function.
1805         (cse_change_cc_mode): Use validate_change to perfom changes.
1806         (cse_change_cc_mode_insns, cse_condition_code_reg):
1807         Call cse_change_cc_mode_insn.
1808
1809 2004-11-16  Steven Bosscher  <stevenb@suse.de>
1810
1811         * stack.h: Remove.
1812
1813 2004-11-16  Steven Bosscher  <stevenb@suse.de>
1814
1815         * config/i386/i386.c (x86_schedule): Fix typo, m_K6 intead of m_K8.
1816
1817 2004-11-15  Dale Johannesen  <dalej@apple.com>
1818
1819         * tree-flow.h (add_referenced_temp_var):  Remove name from prototype.
1820
1821 2004-11-15  Dale Johannesen  <dalej@apple.com>
1822
1823         * profile.c (compute_branch_probabilities):  Prevent
1824         crash with EH in RTL-based profiling.
1825
1826 2004-11-16  Kazu Hirata  <kazu@cs.umass.edu>
1827
1828         * tree-cfg.c (verify_expr): Replace TREE_OPERAND with
1829         COND_EXPR_COND.
1830         * tree-if-conv.c (tree_if_convert_cond_expr): Likewise.
1831         * tree-ssa-dom.c (thread_across_edge): Likewise.
1832         * tree-vectorizer.c (vect_transform_loop_bound): Replace
1833         TREE_OPERAND with COND_EXPR_COND, COND_EXPR_THEN, or
1834         COND_EXPR_ELSE.
1835
1836         * tree-cfg.c (bsi_commit_edge_inserts): Remove an argument.
1837         (tree_flow_call_edges_add): Update the call to
1838         bsi_commit_edge_inserts.
1839         * lambda-code.c (lambda_loopnest_to_gcc_loopnest): Likewise.
1840         * profile.c (branch_prob): Likewise.
1841         * tree-mudflap.c (mf_decl_cache_locals): Likewise.
1842         * tree-sra.c (scalarize_function): Likewise.
1843         * tree-ssa-loop-im.c (loop_commit_inserts): Likewise.
1844         * tree-ssa-pre.c (fini_pre): Likewise.
1845         * tree-flow.h: Update the prototype for
1846         bsi_commit_edge_inserts.
1847
1848 2004-11-15  Eric Christopher  <echristo@redhat.com>
1849
1850         * sched-deps.c (set_sched_group_p): Delete.
1851         (delete_all_dependencies): New function.
1852         (fixup_sched_groups): Use. New function.
1853         (sched_analyze_insn): Use.
1854
1855 2004-11-15  Joseph S. Myers  <joseph@codesourcery.com>
1856
1857         * c-common.c (binary_op_error): Don't allow LROTATE_EXPR,
1858         RROTATE_EXPR or unknown code.
1859         * c-typeck.c (build_binary_op): Don't allow RROTATE_EXPR,
1860         LROTATE_EXPR, MAX_EXPR, MIN_EXPR, UNORDERED_EXPR, ORDERED_EXPR,
1861         UNLT_EXPR, UNLE_EXPR, UNGT_EXPR, UNGE_EXPR, UNEQ_EXPR, LTGT_EXPR
1862         or unknown code.
1863
1864 2004-11-15  Joseph S. Myers  <joseph@codesourcery.com>
1865
1866         PR c/18498
1867         * c-decl.c (grokdeclarator): Call check_bitfield_type_and_width
1868         after processing the declarator.
1869
1870 2004-11-15  Aldy Hernandez  <aldyh@redhat.com>
1871
1872         * config/rs6000/altivec.md ("altivec_vsplth"): Rewrite with
1873         vec_duplicate.
1874         (altivec_vspltb): Same.
1875         (altivec_vspltw): Same.
1876         (altivec_vspltisb): Same.
1877         (altivec_vspltish): Same.
1878         (altivec_vspltisw): Same.
1879         (altivec_vspltisw_v4sf): Same.
1880         (define_constants): Remove UNSPEC_VSPLTISB, UNSPEC_VSPLTISW,
1881         UNSPEC_VSPLTISH.
1882         Move "End of vector xor's" comment to the right place.
1883
1884 2004-11-15  Steve Ellcey  <sje@cup.hp.com>
1885
1886         * config/ia64/ia64.md (*movtf_internal):  Use destination_operand
1887         instead of nonimmediate_operand.
1888
1889 2004-11-15  Mark Mitchell <mark@codesourcery.com>
1890
1891         * config/i386/sol2.h (ASM_OUTPUT_CALL): Use print_operand.
1892         * config/sparc/sol2.h (ASM_OUTPUT_CALL): Likewise.
1893         * config/sol2.c (solaris_output_init_fini): Update calls to
1894         ASM_OUTPUT_CALL.  Include "rtl.h".
1895
1896 2004-11-15  Mark Mitchell <mark@codesourcery.com>
1897
1898         * config/sol2-c.c (cmn_err_char_table): Add "p".
1899
1900 2004-11-15  Mark Mitchell <mark@codesourcery.com>
1901
1902         * config/sparc/sol2.h (SUPPORTS_INIT_PRIORITY): Remove.
1903         * config/sol2.h (SUPPORTS_INIT_PRIORITY): Define here.
1904
1905 2004-11-15  Mark Mitchell <mark@codesourcery.com>
1906
1907         * config/t-slibgcc-sld (SHLIB_LINK): Make symlinks entirely
1908         within the multilib directory.
1909
1910 2004-11-15  Nick Clifton  <nickc@redhat.com>
1911
1912         * config/stormy16/stormy16.h (TARGET_CPU_CPP_BUILTINS): Add
1913         builtin assert of cpu=xstormy16.
1914
1915 2004-11-15  Nathan Sidwell  <nathan@codesourcery.com>
1916
1917         * tree-ssa-pre.c (bitmap_print_value_set): Fix uninitialized
1918         variable.
1919
1920 2004-11-14  Richard Henderson  <rth@redhat.com>
1921
1922         PR 18480
1923         * calls.c (struct arg_data): Add parallel_value.
1924         (precompute_register_parameters): Set it.
1925         (load_register_parameters): Use it.
1926         (store_one_arg): Also set it here.
1927
1928 2004-11-14  Zdenek Dvorak  <dvorakz@suse.cz>
1929
1930         PR tree-optimization/18431
1931         * fold-const.c (associate_trees): Do not produce x + 0.
1932         (fold_widened_comparison, fold_sign_changed_comparison): New functions.
1933         (fold): Use them.
1934         * tree-ssa-loop-niter.c (upper_bound_in_type, lower_bound_in_type):
1935         Moved ...
1936         * tree.c (upper_bound_in_type, lower_bound_in_type): Here.
1937         * tree.h (upper_bound_in_type, lower_bound_in_type): Declare.
1938
1939 2004-11-14  Eric Botcazou <ebotcazou@libertysurf.fr>
1940
1941         * doc/rtl.texi (SUBREG): Adjust BYTENUM value in example.
1942
1943 2004-11-14  Kazu Hirata  <kazu@cs.umass.edu>
1944
1945         * cfgrtl.c, global.c, tree-ssa-copy.c, tree-ssa-loop-ivopts.c,
1946         value-prof.c: Fix comment typos.
1947
1948 2004-11-14  Stan Shebs  <shebs@apple.com>
1949
1950         Basic ABI changes for passing structs by value in 64-bit Darwin.
1951         * config/rs6000/rs6000.c (rs6000_darwin64_abi): New flag.
1952         (rs6000_override_options): Set it for 64-bit Darwin.
1953         (rs6000_parse_abi_options): Add testing options to change it.
1954         (rs6000_return_in_memory): Test whether the type is one
1955         that can be passed in registers.
1956         (darwin64_function_arg_advance): New.
1957         (function_arg_advance): Call it, plus add recursion depth
1958         argument and test when counting off arguments.
1959         (rs6000_darwin64_function_arg): New.
1960         (function_arg): Call it.
1961         (setup_incoming_varargs): Add argument to function_arg_advance.
1962         (rs6000_darwin64_function_value): New.
1963         (rs6000_function_value): Call it.
1964         * config/rs6000/rs6000.h (FUNCTION_ARG_ADVANCE): Pass depth arg.
1965         * config/rs6000/rs6000-protos.h: Update decl of
1966         function_arg_advance.
1967
1968 2004-11-14  Andrew Pinski  <pinskia@physics.uc.edu>
1969
1970         PR c/17279
1971         * c-common.c (c_common_nodes_and_builtins): Ask the back-end if we
1972         support TImode before adding __int128_t and __uint128_t types.
1973
1974 2004-11-14  Dorit Naishlos  <dorit@il.ibm.com>
1975
1976         PR tree-opt/18400
1977         * tree-vectorizer.c (make_loop_iterate_ntimes): Set loop->nb_iterations.
1978         (vect_transform_loop_bound): Set loop->nb_iterations.
1979
1980 2004-11-14  Dorit Naishlos  <dorit@il.ibm.com>
1981             Andrew Pinski  <pinskia@physics.uc.edu>
1982
1983         PR tree-opt/18425
1984         * tree-vectorize.c (vect_build_loop_niters): Do not insert
1985         NULL into the instruction stream. Initialize new_bb to NULL.
1986         (vect_update_ivs_after_vectorizer): Likewise.
1987         (vect_gen_niters_for_prolog_loop): Likewise.
1988
1989 2004-11-14  Zdenek Dvorak  <dvorakz@suse.cz>
1990
1991         PR tree-optimization/18431
1992         * tree-flow.h (stmt_references_memory_p): Declare.
1993         * tree-ssa-loop-im.c (stmt_cost): Use stmt_references_memory_p.
1994         * tree-ssa.c (stmt_references_memory_p): New function.
1995
1996 2004-11-14  Andreas Schwab  <schwab@suse.de>
1997
1998         * Makefile.in (lambda-code.o, tree-loop-linear.o): Depend on
1999         $(EXPR_H).
2000
2001 2004-11-14  Kazu Hirata  <kazu@cs.umass.edu>
2002
2003         * c-common.c (walk_stmt_tree): Remove.
2004         * c-common.h: Remove the corresponding prototype.
2005
2006         * emit-rtl.c (push_to_full_sequence): Remove.
2007         * rtl.h: Remove the corresponding prototype.
2008
2009         * cselib.c, expr.c: Fix comment typos.
2010
2011 2004-11-13  Richard Henderson  <rth@redhat.com>
2012
2013         * calls.c (precompute_register_parameters): Force all PARALLELs
2014         into pseudo registers.
2015         (load_register_parameters): Copy PARALLELs into hard registers.
2016         * function.c (assign_parm_setup_block): Copy PARALLELS into
2017         pseudo registers.  Do emit_group_store in conversion_insns.
2018         * expr.c (emit_group_load_1): Rename from emit_group_load, take
2019         tmps as an argument.  Move final copy loop ...
2020         (emit_group_load): ... here.  New function.
2021         (emit_group_load_into_temps, emit_group_move_into_temps): New.
2022         * expr.h: Declare them.
2023
2024 2004-11-14  Kazu Hirata  <kazu@cs.umass.edu>
2025
2026         * tree-cfg.c, tree-if-conv.c, tree-ssa-loop-ivopts.c,
2027         tree-ssa-loop-manip.c, tree-vectorizer.c: Replace TREE_CHAIN
2028         with PHI_CHAIN where appropriate.
2029
2030 2004-11-13  Dale Johannesen  <dalej@apple.com>
2031
2032         * tree-flow.h (bsi_commit_one_edge_insert): Remove name from prototype.
2033         (tree_block_label): Ditto.
2034         (flush_pending_stmts): Ditto.
2035         (insert_edge_copies): Ditto.
2036         (expr_invariant_in_loop_p): Ditto.
2037         (TDF_USE_OPS): Parenthesize definition.
2038         (TDF_USE_VOPS): Ditto.
2039
2040 2004-11-13  David Edelsohn  <edelsohn@gnu.org>
2041
2042         * config/rs6000/aix51.h (ASM_CPU_SPEC): Add 970 and G5.
2043         * config/rs6000/aix52.h (ASM_CPU_SPEC): Same.
2044         (atoll): Declare.
2045         * config/rs6000/t-aix52 (BOOT_LDFLAGS): Define.
2046
2047 2004-11-14  Joseph Myers  <joseph@codesourcery.com>
2048
2049         * config/i386/i386.c (override_options): Move loop to set default
2050         tuning to correct place.
2051
2052 2004-11-13  Zak Kipling  <zak@transversal.com>
2053
2054         PR target/18300
2055         * config/i386/i386.c (classify_argument): Fix infinite loop when
2056         passing object with 3 or more base classes by value.
2057
2058 2004-11-13  Eric Botcazou  <ebotcazou@libertysurf.fr>
2059
2060         * doc/md.texi (constraints) <% modifier>: Mention that it is
2061         useless when the two alternatives are strictly identical.
2062
2063 2004-11-13  Richard Henderson  <rth@redhat.com>
2064
2065         * expmed.c (extract_split_bit_field): Temporarily disable call to
2066         extract_force_align_mem_bit_field.
2067
2068 2004-11-13  Kazu Hirata  <kazu@cs.umass.edu>
2069
2070         * bitmap.c, bitmap.h, expmed.c, tree-cfg.c: Fix comment
2071         formatting.
2072
2073         * c-cppbuiltin.c, cgraph.c, domwalk.h, except.c, gimplify.c,
2074         lambda-code.c, postreload.c, predict.c, tree-sra.c,
2075         tree-ssa-loop-manip.c, tree.c: Fix comment typos.
2076
2077 2004-11-13  Kelley Cook  <kcook@gcc.gnu.org>
2078
2079         * doc/install.texi (automake): Correctly document that everything now
2080         will use automake 1.9.3.
2081
2082 2004-11-13  Hans-Peter Nilsson  <hp@bitrange.com>
2083
2084         PR target/18347
2085         * config/mmix/mmix.c (mmix_function_outgoing_value): Handle
2086         TImode.  Sorry for other non-complex larger-than-64-bit modes.
2087         * config/mmix/mmix.h (MIN_UNITS_PER_WORD): Do not define.
2088
2089 2004-11-13  Kelley Cook  <kcook@gcc.gnu.org>
2090
2091         * doc/install.texi (automake): Document that everything now uses 1.9.
2092
2093 2004-11-13  Bernd Schmidt  <bernd.schmidt@analog.com>
2094
2095         * cse.c (cse_insn): Stores in a libcall sequence can invalidate
2096         previous loads.
2097
2098 2004-11-13  Kazu Hirata  <kazu@cs.umass.edu>
2099
2100         * tree.h: Fix comment typos.
2101
2102 2004-11-13  Steven Bosscher  <stevenb@suse.de>
2103
2104         * cse.c (CHEAP_REGNO): Redefine using REGNO_PTR_FRAME_P and
2105         HARD_REGISTER_NUM_P.
2106
2107         * cselib.c (new_cselib_val): Make comment correct and more detailed.
2108         * flow.c (mark_set_1): Likewise.
2109
2110         * except.c (duplicate_eh_region_1, duplicate_eh_region_2,
2111         duplicate_eh_regions): Remove.
2112         * except.h (duplicate_eh_regions): Remove prototype.
2113         * integrate.c (get_label_from_map, copy_rtx_and_substitute,
2114         global_const_equiv_varray): Remove.
2115         * integrate.h (get_label_from_map, copy_rtx_and_substitute,
2116         global_const_equiv_varray, set_label_in_map): Remove prototypes,
2117         extern declaration, and #define.
2118         (MAYBE_EXTEND_CONST_EQUIV_VARRAY, SET_CONST_EQUIV_DATA): Remove.
2119         (struct inline_remap): Remove.
2120         * varray.c (struct element): Remove entry for const_equiv_data.
2121         * varray.h (struct const_equiv_data): Remove.
2122         (enum varray_data_enum) <VARRAY_DATA_CONST_EQUIV>: Remove.
2123         (union varray_data_tag) <const_equiv>: Remove.
2124         (VARRAY_CONST_EQUIV_INIT, VARRAY_CONST_EQUIV,
2125         VARRAY_PUSH_CONST_EQUIV, VARRAY_TOP_CONST_EQUIV): Remove.
2126
2127         * regstack.c (record_label_references): Remove unused function.
2128
2129         * rtl.def (VALUE): Update comment.
2130         (LABEL_REF): Remove unused operand 2.
2131         * rtl.h (struct rtx_def): Update for removed accessor macros.
2132         (XCADVFLAGS, INSN_DEAD_CODE_P, LINE_NUMBER, CONTAINING_INSN,
2133         REG_LOOP_TEST_P): Remove.
2134         (ADDR_DIFF_VEC_FLAGS, CSELIB_VAL_PTR, LABEL_NEXTREF): Add comments.
2135         * web.c (entry_register): Don't copy REG_LOOP_TEST_P.
2136         * doc/rtl.texi (INSN_DEAD_CODE_P, REG_LOOP_TEST_P): Remove.
2137
2138 2004-11-13  James A. Morrison  <phython@gcc.gnu.org>
2139             Eric Botcazou  <ebotcazou@libertysurf.fr>
2140
2141         PR target/18230
2142         * config/sparc/sparc.c (sparc_rtx_costs): Handle the NAND vector
2143         patterns.
2144         * config/sparc/sparc.md (V64I): New macro for 64-bit modes.
2145         (V32I): New macro for 32-bit modes.
2146         (anddi3, anddi_sp32, anddi_sp64, and_not_di_sp32, and_not_di_sp64,
2147         iordi3, iordi3_sp32, iordi_sp64, or_not_di_sp32, or_not_di_sp64,
2148         xordi3, xordi3_sp32, xordi3_sp64, {AND, IOR, XOR} DI splitter,
2149         xor_not_di_sp32, xordi_not_di_sp64, one_cmpldi2, one_cmpldi_sp32,
2150         one_cmpldi_sp64): Use V64I instead of DI.
2151         (andsi3, andsi_sp32, andsi_sp64, and_not_si, iorsi3, or_not_si,
2152         xorsi3, xor_not_si, one_cmplsi2): Use V32I instead of SI.
2153         (addv2si3, addv4hi3, addv2hi3): Remove % modifier.
2154         (nandv64i_vis, nandv32i_vis): New patterns.
2155
2156 2004-11-12  Mike Stump  <mrs@apple.com>
2157
2158         * Makefile.in: Add html support.
2159         * java/Make-lang.in: Likewise.
2160         * fortran/Make-lang.in: Likewise.
2161         * treelang/Make-lang.in: Likewise.
2162         * doc/install.texi: Likewise.
2163         * doc/makefile.texi: Likewise.
2164         * doc/sourcebuild.texi: Likewise.
2165
2166 2004-11-13  Kazu Hirata  <kazu@cs.umass.edu>
2167
2168         * tree-ssa-loop-manip.c: Fix a comment typo.
2169
2170 2004-11-12  Mike Stump  <mrs@apple.com>
2171
2172         * doc/cppinternals.texi (Index): Fix html generation with makeinfo by
2173         renaming this node to Concept Index.
2174         * doc/gccint.texi (Index): Likewise.  Also minor formatting tweaks
2175         to more closely match gcc.texi.
2176
2177 2004-11-12  Jeff Law  <law@redhat.com>
2178
2179         * tree-cfg.c (hashtab.h): Include.
2180         (struct edge_to_case_leader_elt): New structure.
2181         (edge_to_case_leader): New.
2182         (edge_to_case_leader_hash): New hashtable hasing function.
2183         (edge_to_case_leader_eq): New hashtable equality function.
2184         (record_switch_edge): New function.
2185         (get_case_leader_for_edge, get_case_leader_for_edge): New functions.
2186         (make_switch_expr_edges): Build the edge-to-case-leader
2187         hash table.  Tear down the hash table when we're done.
2188         (cleanup_dead_labels): Use CASE_LEADER_OR_LABEL instead of
2189         CASE_LABEL.
2190         (tree_node_can_be_shared): Allow sharing of CASE_LABEL_EXPR nodes.
2191         (tree_redirect_edge_and_branch, case SWITCH_EXPR): Update
2192         to use new concept of case leaders to reduce overhead of
2193         redirecting outgoing edges from switch statements.
2194         * tree.c (get_case_label): New function.
2195         * tree.h (CASE_LABEL): Define in terms of get_case_label.
2196         (CASE_LEADER_OR_LABEL): Define.
2197
2198 2004-11-12  Ziemowit Laski  <zlaski@apple.com>
2199
2200         * varasm.c (output_addressed_constants): For CONST_DECLs,
2201         output the initializer if present.
2202
2203 2004-11-12  Ziemowit Laski  <zlaski@apple.com>
2204
2205         * config/rs6000/darwin.h: Fix confusing typo in comment.
2206
2207 2004-11-12  Devang Patel  <dpatel@apple.com>
2208
2209         * optabs.c (vector_compare_rtx): Use COMPARISON_CLASS_P.
2210
2211 2004-11-12  Devang Patel  <dpatel@apple.com>
2212
2213         * tree-if-conv.c (clean_predicate_lists): Use loop header
2214         and latch directly.
2215
2216 2004-11-12  Richard Henderson  <rth@redhat.com>
2217
2218         PR 17778
2219         * config/i386/i386.h (TARGET_96_ROUND_53_LONG_DOUBLE): New.
2220         * config/i386/freebsd.h (SUBTARGET_OVERRIDE_OPTIONS): Remove.
2221         (TARGET_96_ROUND_53_LONG_DOUBLE): New.
2222         * config/i386/i386-modes.def (XF): Use it.
2223
2224 2004-11-11  Geoffrey Keating  <geoffk@apple.com>
2225
2226         * Makefile.in (macro_list): Use move-if-change to avoid spurious
2227         rebuilds.
2228
2229 2004-11-12  Mark Mitchell  <mark@codesourcery.com>
2230
2231         PR c++/18416
2232         * passes.c (rest_of_decl_compilation): Do not look at DECL_RTL
2233         when deciding whether to pass a variable to
2234         cgraph_varpool_finalize_decl or assemble_variable.
2235         * toplev.c (check_global_declarations): Do not clear DECL_RTL.
2236
2237 2004-11-12  Kazu Hirata  <kazu@cs.umass.edu>
2238
2239         * tree-vectorizer.c: Fix a comment typo.
2240
2241 2004-11-12  Bernd Schmidt  <bernd.schmidt@analog.com>
2242
2243         * genconfig.c (walk_insn_part): Look at match_dups inside a label_ref.
2244
2245 2004-11-12  Diego Novillo  <dnovillo@redhat.com>
2246
2247         * tree-scalar-evolution.c (analyzable_condition): Remove
2248         superfluous TREE_THIS_VOLATILE checks on SSA_NAMEs.
2249
2250 2004-11-12  Ralf Corsepius  <ralf.corsepius@rtems.org>
2251
2252         * config/rs6000/t-rtems (MULTILIB_NEW_EXCEPTIONS_ONLY):
2253         Remove m505/roe multilib variant.
2254
2255 2004-11-12  Eric Botcazou  <ebotcazou@libertysurf.fr>
2256
2257         * expr.c (emit_group_load) <CONCAT>: Use extract_bit_field
2258         to load from the stack.
2259
2260 2004-11-12  Richard Henderson  <rth@redhat.com>
2261
2262         * toplev.c (floor_log2): Rename from floor_log2_wide, use CLZ_HWI.
2263         (exact_log2): Rename from exact_log2_wide, use CTZ_HWI.
2264         * toplev.h (FL2T__): Remove.
2265         (CLZ_HWI): Rename from FL2T_CLZ__.
2266         (CTZ_HWI): New.
2267         (floor_log2): Simplify.
2268         (exact_log2): New.
2269
2270 2004-11-12  Sebastian Pop  <pop@cri.ensmp.fr>
2271
2272         * tree-data-ref.c (analyze_subscript_affine_affine): Correctly
2273         compute the first overlapping iterations.
2274
2275 2004-11-12  Sebastian Pop  <pop@cri.ensmp.fr>
2276
2277         PR middle-end/18005
2278         * tree-data-ref.c (estimate_niter_from_size_of_data): Ensure
2279         that arguments of EXACT_DIV_EXPR are INTEGER_CST.
2280
2281 2004-11-12  Steven Bosscher  <stevenb@suse.de>
2282
2283         PR tree-optimization/18419
2284         * tree-ssa.c (walk_use_def_chains_1): Make the visited map a
2285         pointer set instead of a bitmap.
2286         (walk_use_def_chains): Create, pass and clean up that pointer_set.
2287
2288         * tree-ssa-alias.c (struct alias_info): Make the ssa_names_visited
2289         field an sbitmap.
2290         (init_alias_info): Allocate and zero it here.
2291         (delete_alias_info): Delete it here.
2292         (collect_points_to_info_for): Use it.
2293
2294 2004-11-11  Kazu Hirata  <kazu@cs.umass.edu>
2295
2296         * alias.c (record_alias_subset, addr_side_effect_eval):
2297         Make them static.
2298         * alias.h: Remove the prototype for record_alias_subset.
2299         * expr.h: Remove the commented-out prototype for
2300         record_alias_subset.
2301         * rtl.h: Remove the prototype for addr_side_effect_eval.
2302
2303         * cfglayout.c (choose_inner_scope): Make it static.
2304         * rtl.h: Remove the corresponding prototype.
2305
2306         * cfgloopmanip.c (update_single_exits_after_duplication,
2307         unloop): Make them static.
2308         * cfgloop.h: Remove the corresponding prototypes.
2309
2310         * c-typeck.c (c_size_in_bytes, record_maybe_used_decl):
2311         Make them static.
2312         * c-tree.h: Remove the corresponding prototypes.
2313
2314         * explow.c (round_push): Make it static.
2315         * expr.h: Remove the corresponding prototype.
2316
2317         * varasm.c (get_named_section_flags, decl_tls_model): Make
2318         them static.
2319         * output.h: Remove the prototype for get_named_section_flags.
2320         * tree.h: Remove the prototype for decl_tls_model.
2321
2322 2004-11-11  Kazu Hirata  <kazu@cs.umass.edu>
2323
2324         * function.c (expand_function_end): Remove an "if" statement
2325         that always triggers.
2326         * stmt.c (expand_null_return_1): Likewise.
2327
2328 2004-11-11  James E. Wilson  <wilson@specifixinc.com>
2329
2330         * config/ia64/ia64.h (HARD_REGNO_NREGS): Handle XCmode.
2331         (HARD_REGNO_MODE_OK, MODES_TIEABLE_P, SECONDARY_MEMORY_NEEDED,
2332         CLASS_MAX_NREGS): Likewise.
2333
2334 2004-11-11  Zdenek Dvorak  <dvorakz@suse.cz>
2335
2336         PR tree-optimization/17742
2337         * tree-scalar-evolution.c (follow_ssa_edge_in_rhs): Handle
2338         MINUS_EXPR correctly.
2339
2340 2004-11-11  Sebastian Pop  <pop@cri.ensmp.fr>
2341
2342         * tree-scalar-evolution.c (follow_ssa_edge_in_condition_phi):
2343         Give up as soon as the evolution is known not computable.
2344
2345 2004-11-11  Nathan Sidwell  <nathan@codesourcery.com>
2346
2347         PR target/16457
2348         * config/rs6000/rs6000.c (mask64_2_operand): Stub to call
2349         mask64_1or2_operand.
2350         (mask64_1or2_operand): Broken out of mask64_2_operand, add flag
2351         to spot rlwinm opportunities.
2352         (and64_2_operand): Use mask_1or2_operand.
2353         * config/rs6000/rs6000.md (anddi3): Use rlwinm when possible.
2354
2355 2004-11-11  Dorit Naishlos  <dorit@il.ibm.com>
2356
2357         * tree-vectorizer.c (update_phi_nodes_for_guard): Call reverse_phis.
2358         (vect_update_ivs_after_vectorizer): Update function documentation.
2359         Avoid quadratic behavior and direct write to PHI_ARG_DEF.
2360
2361 2004-11-11  Kazu Hirata  <kazu@cs.umass.edu>
2362
2363         * config/arm/arm.c: Fix a comment typo.
2364
2365 2004-11-11  Nathan Sidwell  <nathan@codesourcery.com>
2366
2367         * bitmap.h (nBITMAP_WORD_BITS): Remove.
2368         (BITMAP_WORD_BITS): Force unsigned by use of 1u.
2369         (BITMAP_ELEMENT_WORDS, BITMAP_ELEMENT_ALL_BITS): Remove
2370         unnecessary casts.
2371         (bitmap_first_set_bit): Return unsigned, use ctzl.
2372         (bitmap_last_set_bit): Remove.
2373         * bitmap.c (bitmap_element_zerop, bitmap_copy): Make iterator
2374         unsigned.
2375         (bitmap_first_set_bit): Return unsigned, require non-empty bitmap,
2376         remove special case code for two word elements.
2377         (bitmap_last_set_bit): Remove.
2378         * ra-build.c (livethrough_conflicts_bb): Replace unnecessary use of
2379         bitmap_first_set_bit with bitmap_empty_p.
2380         * tree-outof-ssa.c (analyze_edges_for_bb): Likewise.
2381         * tree-ssa-pre.c (bitmap_print_value): Use simple flag rather than
2382         bitmap_last_bit_set.
2383
2384 2004-11-11  Nathan Sidwell  <nathan@codesourcery.com>
2385
2386         PR target/16796
2387         * config/rs6000/rs6000.md: Add DF & SF reg move peepholes.
2388
2389         PR target/16458
2390         * config/rs6000/rs6000.c (rs6000_generate_compare): Generate an
2391         unsigned equality compare when we know the operands are unsigned.
2392
2393 2004-11-10  Peter S. Mazinger  <ps.m@gmx.net>
2394
2395         * config/mips/linux.h (LINUX_TARGET_OS_CPP_BUILTINS): Define
2396         __PIC__ and __pic__ only if TARGET_ABICALLS.
2397         (SUBTARGET_CPP_SPECS): Don't define or undefine __PIC__ and __pic__.
2398         (SUBTARGET_ASM_SPECS): Don't pass -non_shared to assembler; pass
2399         -KPIC only if not -mno-abicalls.
2400
2401         * config/alpha/linux.h, config/arm/linux-elf.h, config/pa/pa-linux.h
2402         * config/sparc/linux.h, config/sparc/linux64.h
2403         (TARGET_OS_CPP_BUILTINS): Define __PIC__ and __pic__ if flag_pic.
2404
2405         * config/arm/linux-gas.h (CPP_SPEC): Don't define __PIC__ or __pic__.
2406         * config/pa/pa/linux.h (CPP_SPEC): Likewise.
2407         * config/sparc/linux.h (CPP_SUBTARGET_SPEC): Likewise.
2408         * config/sparc/linux64.h (CPP_SUBTARGET_SPEC): Likewise.
2409
2410 2004-11-11  Paul Brook  <paul@codesourcery.com>
2411
2412         * config/arm/arm.c (arm_compute_save_reg0_reg12_mask): Save PIC
2413         register if current_function_uses_pic_offset_table is set.
2414
2415 2004-11-10  David Edelsohn  <edelsohn@gnu.org>
2416
2417         * config/rs6000/rs6000.md (define_attr "type"): Add two and three.
2418         Change multi-instruction sequences to new attribute.
2419         * config/rs6000/{40x.md,440.md,603.md,6xx.md,
2420         7450.md,7xx.md,8540.md,mpc.md,power4.md,power5.md,
2421         rios1.md,rios2.md,rs64.md}: Add descriptions for two and three.
2422
2423 2004-11-10  Daniel Berlin  <dberlin@dberlin.org>
2424
2425         * tree-data-ref.c (build_classic_dist_vector): If either loop
2426         is outside of the nest we asked about, the dependence can't
2427         matter.
2428         (build_classic_dir_vector): Ditto.
2429
2430 2004-11-10  Zdenek Dvorak  <dvorakz@suse.cz>
2431
2432         * tree-ssa-loop-ivopts.c (get_address_cost): Add address elements in
2433         right order.
2434         (force_var_cost): Determine cost of addition and multiplication more
2435         precisely.
2436         (get_computation_cost_at): Add cost for computing address elements to
2437         the final cost.
2438
2439         * fold-const.c (fold): Attempt to use ptr_difference_const whenever
2440         one of the arguments of MINUS_EXPR is an address.
2441         (split_address_to_core_and_offset): New function.
2442         (ptr_difference_const): Handle case when one of the operands is a
2443         pointer.
2444         * tree-ssa-loop-ivopts.c (determine_base_object): Fold &*addr.
2445         (ptr_difference_cost): Pass addresses instead of objects to
2446         ptr_difference_const.
2447
2448 2004-11-10  Nathan Sidwell  <nathan@codesourcery.com>
2449
2450         * tree.c (tree_check_failed): Emit general error if the list of
2451         node types is empty.
2452
2453 2004-11-10  Eric Botcazou  <ebotcazou@libertysurf.fr>
2454
2455         * config/sparc/sparc.c (function_arg_union_value): New 'slotno'
2456         argument.  When the union is passed in the 6th slot, build a
2457         PARALLEL with only one element.
2458         (function_arg): Adjust call to function_arg_union_value.
2459         (function_value): Likewise.
2460
2461 2004-11-10  Fariborz Jahanian <fjahanian@apple.com>
2462
2463         PR tree-optimization/17892
2464         * tree-ssa-dom.c (unsafe_associative_fp_binop): Add test for
2465         MINUS_EXPR operator.
2466
2467 2004-11-10  James A. Morrison  <phython@gcc.gnu.org>
2468
2469         PR target/18230
2470         config/sparc/sparc.md (addsi3, subsi3): Set "fptype" attribute.
2471         (addv2si, addv4hi, addv2hi, subv2si, subv4hi, subv2hi): New patterns.
2472
2473 2004-11-10  Steven Bosscher  <stevenb@suse.de>
2474
2475         * basic-block.h (XMALLOC_REG_SET, XFREE_REG_SET): New.
2476         (struct basic_block_def): Remove local_set and cond_local_set
2477         fields.  Update comment for global_live_at_start.
2478         * flow.c (calculate_global_regs_live): Allocate local_sets and
2479         cond_local_sets here as arrays of bitmaps previously stored in
2480         bb->local_set and bb->cond_local_set.  Use xmalloc instead of
2481         obstack allocated bitmaps.
2482
2483 2004-11-09  H.J. Lu  <hongjiu.lu@intel.com>
2484
2485         PR target/18380
2486         * config/ia64/unwind-ia64.h (_Unwind_FindTableEntry): Mark it
2487         hidden.
2488
2489         * unwind-dw2.c (_Unwind_FindTableEntry): Removed.
2490
2491 2004-11-09  Jeff Law  <law@redhat.com>
2492
2493         * cfganal.c (flow_dfs_compute_reverse_execute): Accept new
2494         argument holding last unvisited block.  Start search for
2495         unvisited blocks at LAST_UNVISITED rather than EXIT_BLOCK.
2496         (connect_infinite_loops_to_exit): Supply last unvisited block
2497         to flow_dfs_compute_reverse_execute.
2498
2499 2004-10-22  Aldy Hernandez  <aldyh@redhat.com>
2500
2501         * config/rs6000/rs6000.md (fix_truncdfsi2): Handle e500
2502         doubles.
2503         (floatunssidf2): Same.
2504         (floatsidf2): Same.
2505         ("extendsfdf2"): New expander.
2506         (*extendsfdf2_fpr): Rename.
2507         (*truncdfsf2_fpr): Same.
2508         (*negdf2_fpr): Same.
2509         (*absdf2_fpr): Same.
2510         (*nabsdf2_fpr): Same.
2511         (*adddf3_fpr): Same.
2512         (*subdf3_fpr): Same.
2513         (*muldf3_fpr): Same.
2514         (*divdf3_fpr): Same.
2515
2516         * config/rs6000/spe.md ("spe_extendsfdf2"): Remove FIXME comment.
2517         ("spe_fix_truncdfsi2"): Same.
2518         (spe_floatunssidf2): Same.
2519         (spe_floatsidf2): Same.
2520
2521 2004-11-09  Joseph S. Myers  <joseph@codesourcery.com>
2522
2523         PR c/18322
2524         * c-common.c (fname_decl): Don't use line number of decl in
2525         diagnostic.
2526
2527 2004-11-09  Ulrich Weigand  <uweigand@de.ibm.com>
2528
2529         * config/s390/s390-protos.h (s390_pool_operand): Remove.
2530         * config/s390/s390.c (s390_pool_operand): Likewise.
2531         (s390_extra_constraint_str): Handle 'B' constraints.
2532         * config/s390/s390.h (CONSTRAINT_LEN): Handle 'B' constraints.
2533         * config/s390/s390.md: Document 'B' constraints.
2534         ("*cmpdi_cct", "*cmpsi_cct"): Use 'B' constraint instead of
2535         s390_pool_operand to prevent insns with two literal pool
2536         references.  Make pattern commutative.
2537         ("*cmpdi_ccu", "*cmpsi_ccu", "*cmphi_ccu", "*cmpqi_ccu"): Use
2538         'B' constraint instead of s390_pool_operand.
2539
2540 2004-11-09  Kazu Hirata  <kazu@cs.umass.edu>
2541
2542         * tree-cfg.c (create_bb): Remove unnecessary memset.
2543
2544 2004-11-09  Kazu Hirata  <kazu@cs.umass.edu>
2545
2546         * tree-ssa-threadupdate.c (copy_phis_to_block): Remove.
2547         (thread_block): Call flush_pending_stmt instead of
2548         copy_phis_to_block.
2549
2550 2004-11-09  Kazu Hirata  <kazu@cs.umass.edu>
2551
2552         * loop-iv.c (iv_number_of_iterations): Make it static.
2553         * cfgloop.h: Remove the corresponding prototype.
2554
2555 2004-11-09  Kazu Hirata  <kazu@cs.umass.edu>
2556
2557         * function.c (combine_temp_slots, assign_parms,
2558         expand_pending_sizes): Make them static.
2559         * tree.h: Remove the corresponding prototypes.
2560
2561 2004-11-09  Kazu Hirata  <kazu@cs.umass.edu>
2562
2563         * emit-rtl.c (copy_most_rtx): Remove.
2564         * rtl.h: Remove the corresponding prototype.
2565
2566 2004-11-09  Kazu Hirata  <kazu@cs.umass.edu>
2567
2568         * cfgloop.c (flow_loops_update): Remove.
2569         * cfgloop.h: Remove the corresponding prototype.
2570
2571 2004-11-09  Kazu Hirata  <kazu@cs.umass.edu>
2572
2573         * conflict.c (mark_reg, conflict_graph_compute): Remove.
2574         * basic-block.h: Remove the prototype for
2575         conflict_graph_compute.
2576
2577 2004-11-09  Kazu Hirata  <kazu@cs.umass.edu>
2578
2579         * tree-if-conv.c (add_to_dst_predicate_list): Change the
2580         second argument to basic_block.
2581         (tree_if_convert_cond_expr): Update call sites.
2582
2583 2004-11-09  Kazu Hirata  <kazu@cs.umass.edu>
2584
2585         * fold-const.c (pedantic_non_lvalue): Make it static.
2586         * tree.h: Remove the corresponding prototype.
2587
2588 2004-11-09  Kazu Hirata  <kazu@cs.umass.edu>
2589
2590         * optabs.c (prepare_operand): Make it static.
2591         * optabs.h: Remove the corresponding prototype.
2592
2593 2004-11-09  Kazu Hirata  <kazu@cs.umass.edu>
2594
2595         * reload1.c (reloads_conflict, gen_reload): Make them static.
2596         * reload.h: Remove the corresponding prototypes.
2597
2598 2004-11-09  Kazu Hirata  <kazu@cs.umass.edu>
2599
2600         * reload.c (refers_to_mem_for_reload_p,
2601         refers_to_regno_for_reload_p): Make them static.
2602         * reload.h: Remove the corresponding prototypes.
2603
2604 2004-11-09  James A. Morrison  <phython@gcc.gnu.org>
2605             Eric Botcazou  <ebotcazou@libertysurf.fr>
2606
2607         PR target/18230
2608         * doc/md.texi (SPARC constraints): Document 'Y' constraint.
2609         * config/sparc/sparc-modes.def: Add vector modes of 4 and 8 bytes.
2610         * config/sparc/sparc.c (sparc_vector_mode_supported_p): New function.
2611         (TARGET_VECTOR_MODE_SUPPORTED_P): Set to sparc_vector_mode_supported_p.
2612         (fp_zero_operand): Accept MODE_VECTOR_INT modes.
2613         (input_operand): Accept CONST_VECTOR with MODE_VECTOR_INT modes.
2614         (sparc_cannot_force_const_mem): Return false for CONST_VECTOR.
2615         (sparc_init_modes): Set sparc_mode_class to SF_MODE or DF_MODE for
2616         MODE_VECTOR_INT modes.
2617         (sparc_extra_constraint_check): Add new constraint 'Y'.
2618         * config/sparc/sparc.h: Define UNITS_PER_SIMD_WORD to 8 for TARGET_VIS.
2619         * config/sparc/sparc.md (V32): New mode macro for 32-bit modes.
2620         (V64): New mode macro for 64-bit modes.
2621         (movsf): Use V32 for mode instead of SF.
2622         (movsf_insn_vis): Use V32 for mode instead of SF.  Add 'Y' constraint
2623         alongside 'G' constraint.
2624         (movdf): Use V64 for mode instead of DF.
2625         (movdf_insn_v9only_vis, modf_insn_sp64_vis): Use V64 for mode instead
2626         of DF.  Add 'Y' constraint alongside 'G' constraint.
2627         (multi-isn and misaligned mems DFmode splitters): Use V64 for mode
2628         instead of DF.
2629
2630 2004-11-09  Ulrich Weigand  <uweigand@de.ibm.com>
2631
2632         * config/s390/s390.c (s390_select_ccmode): Return CCAPmode for
2633         integer NEG and ABS.
2634         * config/s390/s390.md ("*negdi2_64"): Fix op_type attribute.
2635         ("*negdi2_31"): Reimplement using a splitter.
2636         ("*negdi2_cc", "*negdi2_cconly"): New insns.
2637         ("*negdi2_sign", "*negdi2_sign_cc"): Likewise.
2638         ("*negsi2_cc", "*negsi2_cconly"): Likewise.
2639         ("*negdf2_cc", "*negdf2_cconly"): Likewise.
2640         ("*negsf2_cc", "*negsf2_cconly"): Likewise.
2641         ("*absdi2_cc", "*absdi2_cconly"): New insns.
2642         ("*absdi2_sign", "*absdi2_sign_cc"): Likewise.
2643         ("*abssi2_cc", "*abssi2_cconly"): Likewise.
2644         ("*absdf2_cc", "*absdf2_cconly"): Likewise.
2645         ("*abssf2_cc", "*abssf2_cconly"): Likewise.
2646         ("*negabsdi2_cc", "*negabsdi2_cconly"): New insns.
2647         ("*negabsdi2_sign", "*negabsdi2_sign_cc"): Likewise.
2648         ("*negabssi2_cc", "*negabssi2_cconly"): Likewise.
2649         ("*negabsdf2_cc", "*negabsdf2_cconly"): Likewise.
2650         ("*negabssf2_cc", "*negabssf2_cconly"): Likewise.
2651
2652 2004-11-09  Ulrich Weigand  <uweigand@de.ibm.com>
2653
2654         * config/s390/s390.c (s390_canonicalize_comparison): Reverse condition
2655         when eliminating an UNSPEC_CMPINT.
2656         (s390_secondary_input_reload_class): Fix test for CC register reload.
2657         (s390_secondary_output_reload_class): Likewise.
2658         (s390_expand_cmpmem): Swap operands.  Use gen_cmpint.
2659         * config/s390/s390.md ("*cmpint_si", "*cmpint_di"): Remove.
2660         ("cmpint", "*cmpint_cc", "*cmpint_sign", "*cmpint_sign_cc"): New
2661         insn patterns with splitters.
2662
2663 2004-11-09  David Edelsohn  <edelsohn@gnu.org>
2664
2665         * config/rs6000/rs6000.c (rs6000_rtx_costs): Add EQ, GTU, and LTU.
2666         * config/rs6000/rs6000.md (sCC): Split GTU and LTU patterns.
2667
2668 2004-11-09  Kazu Hirata  <kazu@cs.umass.edu>
2669
2670         * tree-phinodes.c (phi_reverse): New.
2671         * tree-cfg.c (tree_make_forwarder_block, tree_duplicate_bb):
2672         Use it.
2673         * tree-flow.h: Add a prototype for phi_reverse.
2674
2675 2004-11-09  Kazu Hirata  <kazu@cs.umass.edu>
2676
2677         * tree-ssa-loop-ivopts.c: Fix a comment typo.
2678
2679 2004-11-09  James A. Morrison  <phython@gcc.gnu.org>
2680
2681         PR pch/14940
2682         * config/host-linux.c (TRY_EMPTY_VM_SPACE): Add __sparc__
2683         definitions.
2684
2685 2004-11-09  Joseph S. Myers  <joseph@codesourcery.com>
2686
2687         * builtins.c, c-common.c, c-decl.c, c-format.c: Say "argument"
2688         instead of "arg" in diagnostics.
2689
2690 2004-11-09  Joseph S. Myers  <joseph@codesourcery.com>
2691
2692         * builtins.c, c-common.c, c-decl.c, c-format.c, c-format.h,
2693         c-parse.in, c-pch.c, c-pragma.c, collect2.c, final.c, gcc.c,
2694         gcov.c, opts.c, pretty-print.h, protoize.c, reg-stack.c, rtl.c,
2695         tlink.c, config/alpha/alpha.c, config/arc/arc.c, config/arm/arm.c,
2696         config/avr/avr.c, config/c4x/c4x.c, config/darwin.c,
2697         config/frv/frv.c, config/h8300/h8300.c, config/i386/i386.c,
2698         config/i386/winnt.c, config/ia64/ia64.c, config/ip2k/ip2k.c,
2699         config/iq2000/iq2000.c, config/m32r/m32r.c,
2700         config/m68hc11/m68hc11.c, config/m68k/m68k.c, config/m68k/m68k.h,
2701         config/mcore/mcore.c, config/mips/mips.c, config/mmix/mmix.c,
2702         config/ns32k/ns32k.c, config/rs6000/host-darwin.c,
2703         config/rs6000/rs6000.c, config/s390/s390.c, config/sh/sh.c,
2704         config/sh/symbian.c, config/stormy16/stormy16.c,
2705         config/v850/v850.c: Avoid "`" as left quote, using "'" or %q, %<
2706         and %> as appropriate.  Use %' as apostrophe in diagnostics where
2707         applicable.  Use %< and %> in place of '' quotes where applicable.
2708         Use %qs in place of %<%s%>.  Consistently quote __builtin function
2709         names.
2710
2711 2004-11-09  Hans-Peter Nilsson  <hp@bitrange.com>
2712
2713         * gdbinit.in (pbb, pbm): New macros.
2714
2715 2004-11-08 Jeff Law  <law@redhat.com>
2716
2717         * cfg.c (redirect_edge_succ_nodup): Use find_edge rather than
2718         implementing it inline.
2719
2720         * cfganal.c (find_edge): Search pred->succs or succ->preds,
2721         whichever is shorter.
2722
2723 2004-11-08  Kazu Hirata  <kazu@cs.umass.edu>
2724
2725         * passes.c (rest_of_handle_jump): Remove dead code.
2726
2727 2004-11-08  Kazu Hirata  <kazu@cs.umass.edu>
2728
2729         * tree-cfg.c (thread_jumps): Speed up by keeping a pointer to
2730         the last used element in the worklist.
2731
2732 2004-11-08  Kazu Hirata  <kazu@cs.umass.edu>
2733
2734         * tree-inline.c (remap_save_expr): Make it static.
2735         * tree-inline.h: Remove the corresponding prototype.
2736
2737 2004-11-08  Kazu Hirata  <kazu@cs.umass.edu>
2738
2739         * tree-ssa-loop-niter.c (upper_bound_in_type,
2740         lower_bound_in_type): Make them static.
2741         * tree.h: Remove the corresponding prototypes.
2742
2743 2004-11-08  Kazu Hirata  <kazu@cs.umass.edu>
2744
2745         * tree-ssa-live.c (tpa_init, pop_best_coalesce): Make them
2746         static.
2747         * tree-ssa-live.h: Remove the corresponding prototypes.
2748
2749 2004-11-08  Kazu Hirata  <kazu@cs.umass.edu>
2750
2751         * tree-if-conv.c (tree_if_conversion): Make it static.
2752         * tree-flow.h: Remove the corresponding prototype.
2753
2754 2004-11-08  Kazu Hirata  <kazu@cs.umass.edu>
2755
2756         * tree-ssa-operands.c (build_ssa_operands): Make it static.
2757         * tree-flow.h: Remove the corresponding prototype.
2758
2759 2004-11-08  Andrew Pinski  <pinskia@physics.uc.edu>
2760
2761         PR tree-opt/18299
2762         * tree-inline.c (copy_body_r): Change "t = t" to empty
2763         statement instead of "t".
2764
2765 2004-11-08  Kazu Hirata  <kazu@cs.umass.edu>
2766
2767         * modulo-sched.c (create_partial_schedule,
2768         free_partial_schedule, reset_partial_schedule,
2769         ps_add_node_check_conflicts, rotate_partial_schedule): Make
2770         them static.
2771
2772 2004-11-08  Richard Henderson  <rth@redhat.com>
2773
2774         * expmed.c (extract_force_align_mem_bit_field): Correct handling at
2775         the end of a page.
2776
2777 2004-11-08  Kazu Hirata  <kazu@cs.umass.edu>
2778
2779         * sched-deps.c (add_insn_mem_dependence): Make it static.
2780         * sched-int.h: Remove the corresponding prototypes.
2781
2782 2004-11-08  Kazu Hirata  <kazu@cs.umass.edu>
2783
2784         * flow.c (allocate_bb_life_data): Make it static.
2785         * basic-block.h: Remove the corresponding prototype.
2786
2787 2004-11-08  Kazu Hirata  <kazu@cs.umass.edu>
2788
2789         * calls.c (split_complex_values, split_complex_types): Make
2790         them static.
2791         * expr.h: Remove the corresponding prototypes.
2792
2793 2004-11-08  Richard Earnshaw  <rearnsha@arm.com>
2794
2795         * arm.c (arm_handle_notshared_attribute): Wrap declaration and use
2796         with #if TARGET_DLLIMPORT_DECL_ATTRIBUTES.
2797
2798 2004-11-08  Kazu Hirata  <kazu@cs.umass.edu>
2799
2800         * tree-if-conv.c (tree_if_convert_cond_expr): Remove two "if"
2801         statements that always trigger.
2802
2803 2004-11-08  Kazu Hirata  <kazu@cs.umass.edu>
2804
2805         * tree-cfg.c, tree-if-conv.c, tree-into-ssa.c,
2806         tree-scalar-evolution.c, tree-ssa-loop-im.c,
2807         tree-ssa-loop-ivopts.c, tree-ssa-loop-manip.c, tree-ssa.c,
2808         tree-vectorizer.c: Replace TREE_CHAIN with PHI_CHAIN where
2809         appropriate.
2810
2811 2004-11-08  Ben Elliston  <bje@au.ibm.com>
2812
2813         * cgraph.h (cgraph_calls_p): Remove.
2814         * cgraph.c (cgraph_calls_p): Likewise.
2815
2816         * varray.h (varray_copy): Remove.
2817         * varray.c (varray_copy): Likewise.
2818
2819 2004-11-07  Andrew Pinski  <pinskia@physics.uc.edu>
2820
2821         PR target/18269
2822         * config/darwin.c (machopic_indirect_data_reference):
2823         Call gen_macho_high and gen_macho_low instead of
2824         checking the mode and calling gen_macho_high_di directly.
2825         * config/rs6000/rs6000.c (rs6000_emit_move): Likewise.
2826         * config/rs6000/rs6000.md: Move most of TARGET_MACHO expand/insns
2827         to darwin.md.
2828         (movdf_low, movsf_low, movsf_low_st, movsi_low, macho_correct_pic,
2829         load_macho_picbase, macho_low, macho_high): Removed.
2830         (builtin_setjmp_receiver): Call gen_macho_high and
2831         gen_macho_low instead of checking the mode and calling
2832         gen_macho_high_di directly.
2833         * config/rs6000/darwin.md (load_macho_picbase_di): Use the MD constant.
2834         (movdf_low_si, movsf_low_si, movsf_low_st_si, movsi_low_st):
2835         Moved from rs6000.md.
2836         (macho_high): New expander.
2837         (macho_high_si): Renamed version of macho_high from rs6000.md.
2838         (macho_low): New expander.
2839         (macho_low_si): Renamed version of macho_low from rs6000.md.
2840         (load_macho_picbase): New expander.
2841         (load_macho_picbase_si): Renamed version of load_macho_picbase
2842         from rs6000.md.
2843         (macho_correct_pic): New expander.
2844         (macho_correct_pic_si): Renamed version of macho_correct_pic
2845         from rs6000.md.
2846
2847 2004-11-07  Joseph S. Myers  <joseph@codesourcery.com>
2848
2849         * c-decl.c (finish_struct): Use complete sentences for diagnostic
2850         for structures or unions with no members or named members.
2851
2852 2004-11-07  Joseph S. Myers  <joseph@codesourcery.com>
2853
2854         * c-typeck.c (build_unary_op): Replace unreachable diagnostic for
2855         taking address of bit-field by assertion.
2856
2857 2004-11-06  Ulrich Weigand  <uweigand@de.ibm.com>
2858
2859         * config/s390/s390.md (attribute "op_type"): Default to "NN".
2860         (attribute "atype"): Default to "agen".
2861         (attribute "length"): Default to 6.
2862         (define_asm_attibutes): Remove.
2863         ("movti", "*movdi_64", "*movdi_31", "*movsi_zarch", "*movsi_esa",
2864         "*movhi", "*movqi", "*movdf_64", "*movdf_31", "movsf",
2865         "*clc", "*mvc", "*nc", "*oc", "*xc", "*xc_zero"):
2866         Do not set type attribute to "cs" where already default.
2867         ("*cmpint_si", "*cmpint_di", "fix_truncdfsi2_ibm", "floatsidf2_ibm",
2868         "*negdi2_31"):
2869         Do not set type attribute to "other" where already default.
2870         ("movti", "*movdi_64", "*movdi_31", "*movdf_31",
2871         "*strlendi", "*strlensi",
2872         "*movmem_long_64", "*movmem_long_31",
2873         "*clrmem_long_64", "*clrmem_long_31",
2874         "*cmpmem_long_64", "*cmpmem_long_31",
2875         "*cmpint_si", "*cmpint_di",
2876         "addti3", "*adddi3_31z", "*adddi3_31",
2877         "subti3", "*subdi3_31z", "*subdi3_31", "*negdi2_31",
2878         "*sconddi", "*scondsi", "*sconddi_neg", "*scondsi_neg",
2879         "fix_truncdfsi2_ibm", "floatsidf2_ibm", "extendsfdf2_ibm",
2880         "*pool_entry", "pool_align", "pool_section_start",
2881         "pool_section_end", "main_pool", "reload_base_31", "pool"):
2882         Do not set op_type attribute to "NN" where already default.
2883         ("*extractqi", "*extracthi", "*zero_extendhisi2_31",
2884         "*zero_extendqisi2_31", "*zero_extendqihi2_31",
2885         "fix_truncdfsi2_ibm", "floatsidf2_ibm"):
2886         Do not set atype attribute to "agen" where already default.
2887         ("*movmem_short", "*clrmem_short", "*cmpmem_short"): Don't set op_type.
2888
2889 2004-11-06  Richard Sandiford  <rsandifo@redhat.com>
2890
2891         * config/mips/t-iris6 (tp-bit.c): Fix target filename.
2892
2893 2004-11-06  Richard Sandiford  <rsandifo@redhat.com>
2894
2895         PR target/16830
2896         * config/mips/mips.h (TARGET_CPU_CPP_BUILTINS): Don't define the
2897         R3000 and R4000 macros on IRIX.
2898
2899 2004-11-06  Andreas Schwab  <schwab@suse.de>
2900
2901         PR target/16286
2902         * config/rs6000/altivec.h: Replace bool by __bool and pixel by
2903         __pixel.
2904
2905 2004-11-06  Kazu Hirata  <kazu@cs.umass.edu>
2906
2907         * tree-ssa-copyrename.c (rename_ssa_copies): Make it static.
2908
2909 2004-11-06  Ulrich Weigand  <uweigand@de.ibm.com>
2910
2911         * config/s390/2064.md ("z_int", "z_agen"): Ensure the condition
2912         matches no insns already matched by other reservations.
2913         * config/s390/2084.md ("x_int", "x_agen"): Ensure the condition
2914         matches no insns already matched by other reservations.
2915         ("x_ss"): Remove, replace by ...
2916         ("x_cs"): ... this new reservation.  Check type instead of op_type.
2917         Update bypasses to use x_cs instead of x_ss.
2918         ("x_nn"): Remove, replace by ...
2919         ("x_other"): ... this new reservation.  Check type instead of op_type.
2920         Add x_other and x_branch to bypasses.
2921         ("x_vs"): New reservation.
2922         * config/s390/s390.md (attribute "type"): Default according to op_type.
2923         ("*execute"): Set type to "cs".
2924
2925 2004-11-06  Kazu Hirata  <kazu@cs.umass.edu>
2926
2927         * fold-const.c (non_lvalue): Don't construct NON_LVALUE_EXPR
2928         if we are in GIMPLE.
2929
2930 2004-11-06  Hans-Peter Nilsson  <hp@bitrange.com>
2931
2932         PR rtl-optimization/17933
2933         * rtlanal.c (dead_or_set_regno_p): Break out common code to...
2934         (covers_regno_p): New function.  Handle SETs of PARALLEL,
2935         and defer the rest to...
2936         (covers_regno_no_parallel_p): New function.
2937
2938 2004-11-06  Eric Botcazou  <ebotcazou@libertysurf.fr>
2939
2940         * config/sparc/sparc.c (function_arg_record_value_1): Skip
2941         fields with zero length.
2942         (function_arg_record_value_2): Likewise.
2943         (function_arg_record_value_3): Use smallest_mode_for_size
2944         instead of mode_for_size.
2945         (function_arg_union_value): Return naked register for unions
2946         with zero length.
2947
2948 2004-11-06  Eric Botcazou  <ebotcazou@libertysurf.fr>
2949
2950         * config/sparc/sparc.c (scan_record_type): Handle vector types.
2951         (function_arg_slotno): Handle vector types specially.
2952         (function_arg_record_value_1): Split fields with vector type and
2953         BLKmode into their subparts.
2954         (function_arg_record_value_2): Likewise.  Be prepared to handle
2955         more than 2 registers per field.
2956         (function_arg_union_value): Increment regno inside the loop.
2957         (function_arg_vector_value): New function.
2958         (function_arg): Use it to split fields with vector type and
2959         BLKmode into their subparts and build a PARALLEL.  Treat
2960         other vector types like floats.
2961         (function_value): Likewise.
2962         (sparc_pass_by_reference): Handle vector types.
2963         (sparc_return_in_memory): Likewise.
2964
2965 2004-11-06  Kazu Hirata  <kazu@cs.umass.edu>
2966
2967         * tree-cfg.c (find_taken_edge_cond_expr): Remove an "if"
2968         statement that never triggers.
2969
2970 2004-11-06  Ulrich Weigand  <uweigand@de.ibm.com>
2971
2972         * config/s390/2064.md ("z_o2", "z_o3"): Remove.
2973         * config/s390/2084.md ("x_o2", "x_o3"): Remove.
2974         ("x_fdivd"): Use also for fsqrtd type.
2975         ("x_fdivs"): Use also for fsqrts type.
2976         * config/s390/s390.md (attribute "type"): Remove "o2" and "o3" types.
2977         ("fix_truncdfsi2_ieee"): Set type to "ftoi".
2978         ("fix_truncdfsi2_ibm"): Set type to "other".
2979         ("floatdidf2", "floatdisf2"): Do not clobber CC.
2980         ("floatsidf2", "floatsidf2_ieee"): Likewise.
2981         ("floatsisf2", "floatsisf2_ieee"): Likewise.
2982         ("truncdfsf2", "truncdfsf2_ieee"): Only allow "register_operand".
2983         ("truncdfsf2_ibm"): Only allow "nonimmediate_operand".  Use LER
2984         instead of LRER.
2985         ("extendsfdf2_ibm"): Do not set atype.  Set type to "floads".
2986         ("sqrtdf2"): Set type to "fsqrtd".
2987         ("sqrtsf2"): Set type to "fsqrts".
2988
2989 2004-11-06  Kazu Hirata  <kazu@cs.umass.edu>
2990
2991         * tree-phinodes.c (remove_all_phi_nodes_for): Speed up using a
2992         pointer to the last PHI node in the new PHI chain.
2993
2994 2004-11-06  Kaz Kojima  <kkojima@gcc.gnu.org>
2995
2996         * config/sh/sh.c (prepare_move_operands): Emit a use of r12
2997         for non-PIC TLS_MODEL_INITIAL_EXEC case.
2998
2999 2004-11-06  Kazu Hirata  <kazu@cs.umass.edu>
3000
3001         * expmed.c: Fix a comment typo.
3002
3003 2004-11-06  Aaron W. LaFramboise  <aaronavay62@aaronwl.com>
3004
3005         PR target/18106
3006         * config/i386/cygming.h
3007         [HAVE_GAS_WEAK] (ASM_WEAKEN_LABEL): Macro defined.
3008
3009 2004-11-06  Kazu Hirata  <kazu@cs.umass.edu>
3010
3011         * config/sh/sh4a.md: Fix copyright.
3012
3013 2004-11-06  Kazu Hirata  <kazu@cs.umass.edu>
3014
3015         * config/rs6000/darwin.md, config/sh/sh4a.md: Replace GNU CC
3016         with GCC.
3017
3018 2004-11-05  David Edelsohn  <edelsohn@gnu.org>
3019
3020         * config/rs6000/rs6000.md (scc patterns): Replace subfc with subf
3021         when carry not used.  Suggested by Torbjorn Granlund.
3022
3023         * config/rs6000/rs6000.c (rs6000_emit_move): Don't force_reg
3024         operand[1] unnecessarily.  Suggested by Eric Christopher.
3025         (rs6000_adjust_cost): Increase latency of store to wider load.
3026         (rs6000_rtx_costs): mulli only allows 16-bit constants.
3027
3028 2004-11-05  Stan Shebs  <shebs@apple.com>
3029
3030         * config/rs6000/rs6000.c (machopic_output_stub): Output
3031         ldu instead of lwzu for 64-bit stubs.
3032
3033 2004-11-05  Richard Henderson  <rth@redhat.com>
3034
3035         * config/alpha/alpha.c (alpha_expand_unaligned_load): Special case
3036         size 2 with BWX.
3037         (alpha_expand_unaligned_store): Likewise.
3038
3039 2004-11-05  Richard Henderson  <rth@redhat.com>
3040
3041         * expmed.c (extract_force_align_mem_bit_field): New.
3042         (extract_split_bit_field): Call it.
3043
3044 2004-11-05  Richard Henderson  <rth@redhat.com>
3045
3046         * ia64.md (UNSPEC_SHRP): New.
3047         (dshift_count_operand): New.
3048         (ashrti3, ashrti3_internal, lshrti3, lshrti3_internal, shrp): New.
3049         * ia64.c (rtx_needs_barrier): Handle UNSPEC_SHRP.
3050
3051 2004-11-05  Joseph S. Myers  <joseph@codesourcery.com>
3052
3053         * c-typeck.c (output_init_element): Return early if value is
3054         error_mark_node.
3055
3056 2004-11-05  James E Wilson  <wilson@specifixinc.com>
3057
3058         * invoke.texi (-fno-guess-branch-probability): Rewrite.
3059
3060         * config/ia64/ia64.c (rtx_needs_barrier, case UNSPEC_GR_SPILL): Change
3061         1 to UNSPEC_GR_SPILL.
3062
3063 2004-11-05  Andreas Krebbel  <krebbel1@de.ibm.com>
3064
3065         * config/s390/s390.c (s390_fixed_condition_code_regs): New function.
3066         (TARGET_FIXED_CONDITION_CODE_REGS): Macro defined.
3067
3068 2004-11-05  Nathan Sidwell  <nathan@codesourcery.com>
3069
3070         * bitmap.h (enum bitmap_bits): Remove.
3071         (bitmap_operation): Remove.
3072         (bitmap_and, bitmap_and_into, bitmap_and_compl,
3073         bitmap_and_compl_into, bitmap_ior, bitmap_ior_into, bitmap_xor,
3074         bitmap_xor_into): Prototype.
3075         * bitmap.c (bitmap_elt_insert_after, bitmap_elt_clear_from): New.
3076         (bitmap_operation): Remove.
3077         (bitmap_and, bitmap_and_into, bitmap_and_compl,
3078         bitmap_and_compl_into, bitmap_ior, bitmap_ior_into, bitmap_xor,
3079         bitmap_xor_into): New.
3080         (bitmap_ior_and_compl, bitmap_ior_and_compl_into): Adjust.
3081
3082         PR tree-optimization/18307
3083         * tree-ssa-alias.c (merge_pointed_to_info): Protected against DEST
3084         and ORIG being the same node.
3085
3086 2004-11-04  Geoffrey Keating  <geoffk@apple.com>
3087
3088         * Makefile.in (distclean): Don't delete nonexistent fixinc/ directory.
3089         (install-mkheaders): Install the version built for the
3090         host, not for the build machine.
3091         * configure.ac: Always run fixincludes.
3092         (all_outputs): Remove mkheaders.
3093         * configure: Regenerate.
3094         * fixinc.in: Move to fixincludes/.
3095         * mkfixinc.sh: Likewise.
3096         * mkheaders.in: Likewise.
3097         * README-fixinc: Likewise.
3098
3099 2004-11-05  Ramana Radhakrishnan  <ramana.radhakrishnan@codito.com>
3100
3101         PR target/18263
3102         * config/arc/lib1funcs.asm (___umulsidi3): Change use of cmp to the
3103         equivalent on the A4.
3104
3105 2004-11-05  Joseph S. Myers  <joseph@codesourcery.com>
3106
3107         * doc/c-tree.texi, doc/cfg.texi, doc/contrib.texi, doc/cpp.texi,
3108         doc/cppopts.texi, doc/extend.texi, doc/fragments.texi,
3109         doc/frontends.texi, doc/gcov.texi, doc/hostconfig.texi,
3110         doc/implement-c.texi, doc/install.texi, doc/invoke.texi,
3111         doc/libgcc.texi, doc/md.texi, doc/passes.texi,
3112         doc/portability.texi, doc/rtl.texi, doc/sourcebuild.texi,
3113         doc/standards.texi, doc/tm.texi, doc/tree-ssa.texi,
3114         doc/trouble.texi: Correct end-of-sentence markup and markup of
3115         "etc.", "e.g." and "i.e.".  Use @code in various places where
3116         appropriate.
3117
3118 2004-11-05  Joseph S. Myers  <joseph@codesourcery.com>
3119
3120         * doc/c-tree.texi, doc/cfg.texi, doc/extend.texi, doc/gty.texi,
3121         doc/install.texi, doc/invoke.texi, doc/md.texi, doc/passes.texi,
3122         doc/rtl.texi, doc/tm.texi, doc/tree-ssa.texi: Remove trailing
3123         whitespace.
3124
3125 2004-11-04  Mark Mitchell  <mark@codesourcery.com>
3126
3127         * config/arm/arm.c (arm_handle_notshared_attribute): New function.
3128         * doc/extend.texi: Document "notshared" attribute.
3129
3130 2004-11-04  Kazu Hirata  <kazu@cs.umass.edu>
3131
3132         * tree-phinodes.c (make_phi_node): Make it static.
3133         * tree.h: Remove the prototypes for make_phi_node.
3134
3135 2004-11-04  Kazu Hirata  <kazu@cs.umass.edu>
3136
3137         * stmt.c (expand_asm, expand_asm_operands): Make them static.
3138         * tree.h: Remove the prototypes for expand_asm and
3139         expand_asm_operands.
3140
3141 2004-11-04  Kazu Hirata  <kazu@cs.umass.edu>
3142
3143         * passes.c (rest_of_compilation): Make it static.
3144         * toplev.h: Remove the prototype for rest_of_compilation.
3145
3146 2004-11-04  Kazu Hirata  <kazu@cs.umass.edu>
3147
3148         * jump.c (cleanup_barriers): Use delete_insn instead of
3149         delete_barrier.
3150         (delete_barrier): Remove.
3151         * rtl.h: Remove the corresponding prototype.
3152
3153 2004-11-04  Kazu Hirata  <kazu@cs.umass.edu>
3154
3155         * expr.c (mostly_zero_p): Make it static.
3156         * tree.h: Remove the prototype for mostly_zeros_p.
3157
3158 2004-11-04  Kazu Hirata  <kazu@cs.umass.edu>
3159
3160         * cfgrtl.c (force_nonfallthru_and_redirect): Make it static.
3161
3162 2004-11-04  Kazu Hirata  <kazu@cs.umass.edu>
3163
3164         * builtins.c (expand_builtin_return_addr,
3165         expand_builtin_longjmp, expand_builtin_trap): Make them static.
3166         * expr.h: Remove the prototypes for expand_builtin_longjmp and
3167         expand_builtin_trap.
3168         * tree.h: Remove the prototype for expand_builtin_return_addr.
3169
3170 2004-11-04  Kazu Hirata  <kazu@cs.umass.edu>
3171
3172         * tree-cfg.c (find_taken_edge): Reject VAL begin NULL.
3173         * tree-ssa-ccp.c (visit_cond_stmt): Don't call find_taken_edge
3174         with VAL being NULL.
3175
3176 2004-11-04  Kazu Hirata  <kazu@cs.umass.edu>
3177
3178         * cfghooks.c (delete_basic_block): Remove code to truncate
3179         edge vectors.
3180
3181 2004-11-04  Andrew Pinski  <pinskia@physics.uc.edu>
3182
3183         * flow.c (init_propagate_block_info): Change the type of i to
3184         unsigned.
3185
3186 2004-11-04  Ulrich Weigand  <uweigand@de.ibm.com>
3187
3188         PR tree-optimization/18184
3189         * c-typeck.c (comptypes): Do not treat pointers of different
3190         modes or alias-all flags as equivalent.
3191         * tree-ssa.c (tree_ssa_useless_type_conversion_1): Likewise.
3192
3193 2004-11-04  Joseph S. Myers  <joseph@codesourcery.com>
3194
3195         * doc/gty.texi, doc/makefile.texi, doc/sourcebuild.texi: Don't
3196         reference specific C parser files in examples.
3197
3198 2004-11-04  Richard Sandiford  <rsandifo@redhat.com>
3199
3200         PR target/15342
3201         * regrename.c (scan_rtx): Treat the destinations of SETs and CLOBBERs
3202         as OP_INOUT if the instruction is predicated.
3203
3204 2004-11-04  Kazu Hirata  <kazu@cs.umass.edu>
3205
3206         * bitmap.h: Fix a comment typo.  Follow spelling conventions.
3207         * tree-vectorizer.c: Fix a comment typo.
3208
3209 2004-11-04  Kazu Hirata  <kazu@cs.umass.edu>
3210
3211         * sdbout.c (SDB_GENERATE_FAKE): Remove.
3212         (gen_fake_label): Don't use SDB_GENERATE_FAKE.
3213         * system.h: Poison SDB_GENERATE_FAKE.
3214         * doc/tm.texi (SDB_GENERATE_FAKE): Remove.
3215
3216 2004-11-04  Ulrich Weigand  <uweigand@de.ibm.com>
3217
3218         * config/s390/s390.md ("*addsi3_sign"): Use canonical RTL.
3219
3220 2004-11-04  Eric Botcazou  <ebotcazou@libertysurf.fr>
3221
3222         PR other/18277
3223         * gthr-posix.h (__gthread_recursive_mutex_init_function): Revert
3224         2004-10-29 patch
3225
3226 2004-11-04  Nathan Sidwell  <nathan@codesourcery.com>
3227
3228         * predict.c (propagate_freq): Make bitno unsigned. Move
3229         npredecessors update out of loop.
3230
3231         * bitmap.h (bitmap_iterator): Remove word_bit and bit
3232         fields. Rename others.
3233         (bmp_iter_common_next_1, bmp_iter_single_next_1,
3234         bmp_iter_single_init, bmp_iter_end_p, bmp_iter_single_next,
3235         bmp_iter_and_not_next_1, bmp_iter_and_not_init,
3236         bmp_iter_and_not_next, bmp_iter_and_next_1, bmp_iter_and_init,
3237         bmp_iter_and_next): Remove.
3238         (bmp_iter_set_init, bmp_iter_and_init, bmp_iter_and_compl_init,
3239         bmp_iter_next, bmp_iter_set, bmp_iter_and, bmp_iter_and_compl):
3240         New.
3241         (EXECUTE_IF_SET_IN_BITMAP, EXECUTE_IF_AND_IN_BITMAP,
3242         EXECUTE_IF_AND_COMPL_IN_BITMAP): Adjust.
3243
3244         * bitmap.h (bitmap_a_or_b, bitmap_a_and_b): Remove.
3245         * df.c (dataflow_set_a_op_b): Use bitmap_and, bitmap_ior,
3246         bitmap_and_into, bitmap_ior_into as appropriate.
3247         * except.c (remove_eh_handler): Likewise.
3248         * global.c (modify_bb_reg_pav, make_accurate_live_analysis): Likewise.
3249         * tree-dfa.c (mark_new_vars_to_rename): Likewise.
3250         * tree-ssa-alias.c (merge_pointed_to_info): Likewise.
3251         * tree-ssa-live.h (live_merge_and_clear): Likewise.
3252         * tree-ssa-loop-ivopts.c (find_best_candidate, try_add_cand_for):
3253         Likewise.
3254
3255         * bitmap.c (bitmap_print): Make bitno unsigned.
3256         * bt-load.c (clear_btr_from_live_range,
3257         btr_def_live_range): Likewise.
3258         * caller-save.c (save_call_clobbered_regs): Likewise.
3259         * cfganal.c (compute_dominance_frontiers_1): Likewise.
3260         * cfgcleanup.c (thread_jump): Likewise.
3261         * cfgrtl.c (safe_insert_insn_on_edge): Likewise.
3262         * conflict.c (conflict_graph_compute): Likewise.
3263         * ddg.c (add_deps_for_use): Likewise.
3264         * df.c (df_refs_update): Likewise.
3265         * except.c (remove_eh_handler): Likewise.
3266         * flow.c (verify_local_live_at_start, update_life_info,
3267         initialize_uninitialized_subregs, propagate_one_insn,
3268         free_propagate_block_info, propagate_block, find_use_as_address,
3269         reg_set_to_hard_reg_set): Likewise.
3270         * gcse.c (clear_modify_mem_tables): Likewise.
3271         * global.c (global_conflicts, build_insn_chain): Likewise.
3272         * ifcvt.c (dead_or_predicable): Likewise.
3273         * local-alloc.c (update_equiv_regs): Likewise.
3274         * loop.c (load_mems): Likewise.
3275         * ra-build.c (livethrough_conflicts_bb, conflicts_between_webs):
3276         Likewise.
3277         * ra-rewrite.c (reloads_to_loads, rewrite_program2, actual_spill):
3278         Likewise.
3279         * reload1.c (order_regs_for_reload, finish_spills): Likewise.
3280         * sched-deps.c (sched_analyze_insn, free_deps): Likewise.
3281         * sched-rgn.c (propagate_deps
3282         * tree-cfg.c (tree_purge_all_dead_eh_edges): Likewise.
3283         * tree-dfa.c (dump_dfa_stats
3284         tree-into-ssa.c (compute_global_livein, insert_phi_nodes,
3285         insert_phi_nodes_for, debug_def_blocks_r, invalidate_name_tags):
3286         Likewise.
3287         * tree-outof-ssa.c (coalesce_ssa_name, coalesce_vars,
3288         free_temp_expr_table, find_replaceable_exprs): Likewise.
3289         * tree-sra.c (scan_function, scalarize_parms): Likewise.
3290         * tree-ssa-alias.c (init_alias_info,
3291         compute_points_to_and_addr_escape,
3292         compute_flow_sensitive_aliasing, maybe_create_global_var): Likewise.
3293         * tree-ssa-dce.c (mark_control_dependent_edges_necessary): Likewise.
3294         * tree-ssa-live.c (new_tree_live_info, live_worklist,
3295         calculate_live_on_entry, calculate_live_on_exit, compare_pairs,
3296         sort_coalesce_list, build_tree_conflict_graph, dump_live_info
3297         tree-ssa-loop-manip.c (add_exit_phis_var): Likewise.
3298         tree-ssa-operands.c (get_asm_expr_operands, add_call_clobber_ops,
3299         add_call_read_ops): Likewise.
3300         * tree-ssa-pre.c (bitmap_print_value_set, insert_aux): Likewise.
3301         * tree-ssa-live.h (num_var_partitions): Return unsigned.
3302
3303 2004-11-03  Dorit Naishlos  <dorit@il.ibm.com>
3304
3305         PR tree-optimization/18009
3306         * tree-vectorizer.h (enum dr_alignment_support): New type.
3307         (MAX_NUMBER_OF_UNALIGNED_DATA_REFS): Removed.
3308         (LOOP_UNALIGNED_DR): replaced with LOOP_VINFO_UNALIGNED_DR and holds a
3309         single data_reference (instead of a varray of references).
3310         * tree-vectorizer.c (new_loop_vec_info): Likewise.
3311         (vect_gen_niters_for_prolog_loop): Likewise.
3312         (vect_update_inits_of_drs): Likewise.
3313
3314         (vect_update_inits_of_drs): Setting of DR_MISALIGNMENT moved to
3315         vect_enhance_data_refs_alignment.
3316         (vect_do_peeling_for_alignment): Likewise.
3317         (vect_enhance_data_refs_alignment): Decide if and by how much to peel;
3318         this functionality used to be in vect_analyze_data_refs_alignment.
3319         Also update DR_MISALIGNMENT due to peeling; this functionality used to
3320         be in vect_update_inits_of_drs and vect_do_peeling_for_alignment).
3321         (vect_analyze_data_refs_alignment): Decision on whether and by how much
3322         to peel moved to vect_enhance_data_refs_alignment. Call
3323         vect_supportable_dr_alignment.
3324
3325         (vect_compute_data_ref_alignment): Set STMT_VINFO_VECTYPE.
3326         (vect_compute_data_refs_alignment): Return bool. Consider return value
3327         of vect_compute_data_ref_alignment and return true/false accordingly.
3328         (vect_enhance_data_refs_alignment): Consider return value of
3329         vect_compute_data_refs_alignment and return true/false accordingly.
3330
3331         (vect_supportable_dr_alignment): New function.
3332         (vectorizable_store): Call vect_supportable_dr_alignment.
3333         (vectorizable_load): Call vect_supportable_dr_alignment. Alignment
3334         support checks moved from here to vect_supportable_dr_alignment.
3335
3336         (vect_transform_loop): Avoid 80 columns overflow.
3337
3338 2004-11-03  Andrew Pinski  <pinskia@physics.uc.edu>
3339
3340         * timevar.c (timevar_enable): Change from
3341         static.
3342         (timevar_push): Rename to ...
3343         (timevar_push_1): this and remove the
3344         enabled check.
3345         (timevar_pop): Rename to ...
3346         (timevar_pop_1): this and remove the
3347         enabled check.
3348         * timevar.h (POP_TIMEVAR_AND_RETURN): Use do/while loops.
3349         (timevar_pop): New macro.
3350         (timevar_push): New macro.
3351         (timevar_enable): Declare.
3352
3353 2004-11-03  Andrew Pinski  <pinskia@physics.uc.edu>
3354
3355         * config/darwin.h (REAL_LIBGCC_SPEC): Define to use shared
3356         libgcc for shared libraries.
3357
3358 2004-11-03  Ulrich Weigand  <uweigand@de.ibm.com>
3359
3360         * config/s390/s390-protos.h (s390_split_access_reg): Add prototype.
3361         * config/s390/s390.c (s390_split_access_reg): New function.
3362         (regclass_map): Add access registers.
3363         (get_thread_pointer): Use access register instead of UNSPEC_TP.
3364         * config/s390/s390.h (FIRST_PSEUDO_REGISTER): Set to 38.
3365         (ACCESS_REGNO_P, ACCESS_REG_P): New macros.
3366         (TP_REGNUM): New define.
3367         (FIXED_REGISTERS, CALL_USED_REGISTERS, CALL_REALLY_USED_REGISTERS,
3368         REG_ALLOC_ORDER): Add access registers.
3369         (HARD_REGNO_NREGS, HARD_REGNO_MODE_OK, CLASS_MAX_NREGS,
3370         CANNOT_CHANGE_MODE_CLASS): Support access registers.
3371         (enum reg_class): Add ACCESS_REGS.
3372         (REG_CLASS_NAMES, REG_CLASS_CONTENTS): Likewise.
3373         (REG_CLASS_FROM_LETTER): Add 't' constraint.
3374         (REGISTER_NAMES): Add access registers.
3375         * config/s390/s390.md (UNSPEC_TP): Remove.
3376         ("*movdi_64"): Add access register alternatives.  Provide splitters
3377         to split DImode access register <-> GPR moves into SImode moves.
3378         ("*movsi_zarch", "*movsi_esa"): Add access register alternatives.
3379         ("movstrictsi"): Likewise.
3380         ("get_tp_64", "get_tp_31"): Reimplement using access registers.
3381         ("set_tp_64", "set_tp_31"): Likewise.
3382         ("*set_tp"): New insn.
3383
3384 2004-11-03  Kazu Hirata  <kazu@cs.umass.edu>
3385
3386         * tree-phinodes.c (resize_phi_node): Copy only a portion of
3387         the PHI node currently in use.
3388
3389 2004-11-03  Andrew Pinski  <pinskia@physics.uc.edu>
3390
3391         PR tree-opt/18231
3392         * tree.c (staticp) <case FUNCTION_DECL>: Nested functions are static
3393         also.
3394
3395 2004-11-03  Andrew MacLeod  <amacleod@redhat.com>
3396
3397         PR tree-optimization/18270
3398         * tree-outof-ssa.c (analyze_edges_for_bb): If a block has incoming
3399         abnormal edges, commit all pending stmts on incoming edges.
3400
3401 2004-11-03  Ulrich Weigand  <uweigand@de.ibm.com>
3402
3403         * tree-ssa-loop-ivopts.c (get_address_cost): Offset zero does not
3404         cause extra costs.  Generate canonical RTL.
3405
3406 2004-11-02  Daniel Berlin  <dberlin@dberlin.org>
3407
3408         * lambda-code.c (lambda_compute_auxillary_space): Update comments.
3409         (lambda_compute_target_space). Ditto.
3410         * lambda.h (lambda_trans_matrix): Ditto.
3411         (lambda_linear_expression): Ditto.
3412         (lambda_body_vector): Ditto.
3413         (lambda_loopnest): Ditto.
3414         * tree-loop-linear.c (gather_interchange_stats): Combine tests,
3415         update comments, and remove pointless addition of 0.
3416         (linear_transform_loops): Update comments.
3417
3418 2004-11-03  Sebastian Pop  <pop@cri.ensmp.fr>
3419
3420         * tree.c (tree_fold_gcd): Use FLOOR_MOD_EXPR instead of
3421         CEIL_MOD_EXPR.
3422
3423 2004-11-03 Jeff Law  <law@redhat.com>
3424
3425         * predict.c (struct block_info_def): Kill "tovisit" field.
3426         (propagate_freq): Accept new "tovisit" parameter.  Change
3427         read/write access methods for "tovisit" to check the "tovisit"
3428         bitmap instead of a bit in block_info_def.
3429         (estimate_loops_at_level): Allocate "tovisit" bitmap.  Pass
3430         it to propagate_freq.
3431
3432         * stmt.c (expand_case): Speed up code to detect duplicate case
3433         label targets and count unique case label targets.
3434
3435 2004-11-03  Kazu Hirata  <kazu@cs.umass.edu>
3436
3437         * cppdefault.c, cppdefault.h, timevar.h: Update copyright.
3438
3439 2004-11-03  Kazu Hirata  <kazu@cs.umass.edu>
3440
3441         * bitmap.h, dbxout.c, tree-mudflap.c: Fix comment formatting.
3442
3443 2004-11-03  Kazu Hirata  <kazu@cs.umass.edu>
3444
3445         * tree-cfg.c (find_taken_edge): Abort if we are given a
3446         statement that is neither COND_EXPR nor SWITCH_EXPR.
3447
3448 2004-11-02  Zdenek Dvorak  <dvorakz@suse.cz>
3449
3450         * fold-const.c (fold): Reassociate also (x - mult) + mult and
3451         (mult - x) + mult.  Cast operands of expression after applying
3452         distributive law to the correct types.  Apply distributive law
3453         to a * c - b * c for all non-float types.
3454
3455 2004-11-02  Geoffrey Keating  <geoffk@apple.com>
3456
3457         * configure.ac: Don't clear STMP_FIXINC or STMP_FIXPROTO just
3458         because we don't want to run them now; instead, set them to
3459         stmp-install-fixproto or stmp-install-fixinc.
3460         * Makefile.in (stmp-install-fixproto): New.
3461         (stmp-install-fixinc): New.
3462         * configure: Regenerate.
3463
3464 2004-11-02  Nathan Sidwell  <nathan@codesourcery.com>
3465
3466         * flow.c (init_propagate_block_info): Use bitmap_empty_p on result
3467         of bitmap_xor.
3468
3469 2004-11-02  Ziemowit Laski  <zlaski@apple.com>
3470
3471         * c-lang.c (LANG_HOOKS_TYPES_COMPATIBLE_P): Remove.
3472         (c_types_compatible_p): Move function definition...
3473         * c-objc-common.c (c_types_compatible_p): ...here.
3474         * c-objc-common.h (LANG_HOOKS_TYPES_COMPATIBLE_P): Moved here from
3475         c-lang.c.
3476
3477 2004-11-02  Steven Bosscher  <stevenb@suse.de>
3478
3479         * cfgloop.h (struct loop): Update comment.
3480         * cse.c (cse_main): Remove obsolete comment.
3481
3482         * expr.h (gen_cond_trap): Move prototype under functions provided
3483         by optabs.c.
3484         (canonicalize_condition, get_condition): Move to...
3485         * rtl.h (canonicalize_condition, get_condition): ...here.
3486         (branch_target_load_optimize): Add comment that this function is
3487         in bt-load.c.
3488         * loop.c (canonicalize_condition, get_condition): Move to...
3489         * rtlanal.c (canonicalize_condition, get_condition): ...here.
3490         * sched-deps.c (get_condition): Rename to sched_get_condition.
3491         (add_dependence): Update this caller.
3492
3493 2004-11-02  Andrew Pinski  <pinskia@physics.uc.edu>
3494
3495         PR tree-opt/16808
3496         * tree-ssa.c (replace_immediate_uses): If we call fold_stmt, make sure
3497         that the vops get marked for renaming.
3498
3499 2004-11-02  Andreas Krebbel  <krebbel1@de.ibm.com>
3500
3501         * config/s390/s390.md ("movcc"): Set type attribute.
3502
3503 2004-11-02  Kazu Hirata  <kazu@cs.umass.edu>
3504
3505         * tree-phinodes.c (add_phi_arg): Add an assertion that the
3506         edge already exists.
3507
3508 2004-11-02  Kazu Hirata  <kazu@cs.umass.edu>
3509
3510         * tree-phinodes.c (remove_phi_arg_num): Do not zero the
3511         element that's being removed.
3512
3513 2004-11-02  Kazu Hirata  <kazu@cs.umass.edu>
3514
3515         * tree-ssa-threadupdate.c (copy_phis_to_block): Install PHI
3516         arguments using PENDING_STMT.
3517         (thread_block): Call copy_phis_to_block after redirecting an
3518         edge.
3519
3520 2004-11-02  Nathan Sidwell  <nathan@codesourcery.com>
3521
3522         * bitmap.h (bitmap_and, bitmap_and_into, bitmap_and_compl,
3523         bitmap_and_compl_into, bitmap_ior, bitmap_iot_into,
3524         bitmap_ior_compl, bitmap_xor, bitmap_xor_into): Produce void.
3525         (bitmap_ior_and_compl_into): Produce bool.
3526         (bitmap_union_of_diff): Rename to ...
3527         (bitmap_ior_and_compl): ... here. Produce bool.
3528         * bitmap.c (bitmap_ior_and_compl_into): Return bool. Use
3529         bitmap_operation directly.
3530         (bitmap_union_of_diff): Rename to ...
3531         (bitmap_ior_and_compl): ... here. Return bool, use
3532         bitmap_operation directly.
3533         * df.c (df_rd_transfer_function): Use bitmap_ior_and_compl.
3534         (df_ru_transfer_function, df_lr_transfer_function): Likewise.
3535         * global.c (modify_bb_reg_pav): Likewise.
3536
3537         * bitmap.h (bitmap_equal_p): Return bool.
3538         (bitmap_intersect_p, bitmap_intersect_compl_p): Declare.
3539         * bitmap.c (bitmap_equal_p): Return bool. Compare directly.
3540         (bitmap_intersect_p, bitmap_intersect_compl_p): New.
3541         * flow.c (calculate_global_regs_live): Use bitmap_intersect_p and
3542         bitmap_intersect_compl_p.
3543         * ifcvt (dead_or_predicable): Likewise.
3544
3545 2004-11-02  Nathan Sidwell  <nathan@codesourcery.com>
3546
3547         PR rtl-optimization/17104
3548         * config/rs6000/rs6000.c (rs6000_emit_move): Don't wrap small
3549         loads in zero_extend.
3550
3551 2004-11-02  Danny Smith  <dannysmith@users.sourceforge.net>
3552
3553         PR debug/18242
3554         * toplev.c (debug_type_names): Remove "dwarf-1".
3555
3556 2004-11-02  Ben Elliston  <bje@au.ibm.com>
3557
3558         * timevar.h (timevar_get): Remove.
3559         * timevar.c (timevar_get): Remove unused function.
3560
3561 2004-11-02  Joseph S. Myers  <joseph@codesourcery.com>
3562
3563         * doc/include/texinfo.tex: Update from Texinfo CVS.
3564
3565 2004-11-02  Ben Elliston  <bje@au.ibm.com>
3566
3567         * cppdefault.h (cpp_SYSROOT): Remove.
3568         * cppdefault.c (cpp_SYSROOT): Likewise.
3569
3570 2004-11-01  Andrew MacLeod  <amacleod@redhat.com>
3571
3572         PR tree-optimization/16447
3573         * tree-cfg.c (bsi_commit_one_edge_insert): Rename from
3574         bsi_commit_edge_inserts_1, and make funtion external.  Return new block.
3575         (bsi_commit_edge_inserts): Use renamed bsi_commit_one_edge_insert.
3576         * tree-optimize.c (pass_cleanup_cfg_post_optimizing): Enable listing.
3577         * tree-flow.h (bsi_commit_one_edge_insert): Extern decl.
3578         * tree-outof-ssa.c (rewrite_trees): Don't commit edges here.
3579         (same_stmt_list_p): New.  Return TRUE if edge is to be forwarded.
3580         (identical_copies_p): New.  Return true is two copies are the same.
3581         (identical_stmt_lists_p): New.  Return true if stmt lists are the same.
3582         (analyze_edges_for_bb): New.  Determine how best to insert edge stmts
3583         for a basic block.
3584         (perform_edge_inserts): New.  Determine what to do with all stmts that
3585         have been inserted on edges.
3586         (remove_ssa_form):  Analyze and commit edges from here.
3587
3588 2004-11-01  Andrew Pinski  <pinskia@physics.uc.edu>
3589
3590         PR bootstrap/18232
3591         * bitmap.h (bmp_iter_end_p): Take a const pointer instead of a struct.
3592         (EXECUTE_IF_SET_IN_BITMAP): Update call to bmp_iter_end_p.
3593         (EXECUTE_IF_AND_COMPL_IN_BITMAP): Likewise.
3594         (EXECUTE_IF_AND_IN_BITMAP): Likewise.
3595
3596 2004-11-01  Joseph S. Myers  <joseph@codesourcery.com>
3597
3598         PR c/18239
3599         * c-decl.c (get_parm_info): Allow FUNCTION_DECLs to appear amongst
3600         parameter declarations.
3601
3602 2004-11-01  Andreas Krebbel  <krebbel1@de.ibm.com>
3603
3604         * config/s390/s390.c (regclass_map): Put reg 33 (cc) to CC_REGS group.
3605         (s390_secondary_input_reload_class)
3606         (s390_secondary_output_reload_class): Use GENERAL_REGS to reload a cc
3607         register.
3608         (s390_expand_cmpmem): Enable cmpmem implementation.
3609         * config/s390/s390.h (reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS):
3610         Added three new classes: CC_REGS, ADDR_CC_REGS, GENERAL_CC_REGS.
3611         (REG_CLASS_FROM_LETTER): New constraint 'c' added.
3612         * config/s390/s390.md ("movcc"): New insn pattern.
3613         * doc/md.texi: Document 'c' constraint for s390.
3614
3615 2004-11-01  Nathan Sidwell  <nathan@codesourcery.com>
3616
3617         PR c++/18064
3618         * doc/extend.texi (Deprecated Features): Deprecate G++ covariant
3619         extension.
3620
3621 2004-10-16  Daniel Berlin  <dberlin@dberlin.org>
3622
3623         Fix PR tree-optimization/17672
3624         Fix PR tree-optimization/18168
3625
3626         * lambda-code.c (lambda_lattice_compute_base): Fix reversed
3627         assert test.
3628         (gcc_tree_to_linear_expression): Add extra to existing constant.
3629         (depth_of_nest): Factor out function used in various places.
3630         (gcc_loop_to_lambda_loop): Clean up code a little bit. No
3631         functional changes.
3632         (find_induction_var_from_exit_cond): Stop guessing, and just
3633         get the right answer :).
3634         (gcc_loopnest_to_lambda_loopnest): Remove useless pre-allocation.
3635         Print out message about result of attempt to create perfect nest.
3636         (lbv_to_gcc_expression): Add type argument, use it to do math
3637         and induction variable creation.
3638         (lle_to_gcc_expression): Ditto.
3639         (lambda_loopnest_to_gcc_loopnest): Create new iv with same type as
3640         oldiv. Pass type argument to lle_to_gcc_expression and
3641         lbv_to_gcc_expression.
3642         Reset number of iterations after transformation.
3643         (perfect_nestify): Remove useless pre-allocation, and cleanup
3644         a small amount.
3645
3646         * tree-data-ref.c (build_classic_dist_vector): Return false for
3647         dependences completely outside of the loop nest we asked about.
3648         (build_classic_dir_vector): Ditto.
3649         (compute_data_dependences_for_loop): Only add dependence relations
3650         inside the loop we asked about.
3651
3652         * tree-loop-linear.c (linear_transform_loops): Use DDR_SIZE_VECT.
3653         Compute immediate uses.
3654
3655         * tree-optimize.c: Move linear_transform_loops to before ivcanon.
3656
3657 2004-11-01  Kazu Hirata  <kazu@cs.umass.edu>
3658
3659         * tree-cfg.c (thread_jumps): Fix a comment typo.
3660
3661 2004-11-01  Kazu Hirata  <kazu@cs.umass.edu>
3662
3663         * tree-cfg.c (thread_jumps): Fix a comment typo.
3664
3665 2004-10-31  Nicolas Pitre <nico@cam.org>
3666
3667         * config/arm/ieee754-sf.S (floatdisf): Fix regression with
3668         values smaller than 2^32.
3669
3670 2004-10-31 Jeff Law  <law@redhat.com>
3671
3672         * cfgloop.h (struct loop): Remove unused "nodes" field.
3673         * timevar.def (TV_TREE_LOOP_BOUNDS): New.
3674         * tree-data-ref.c (find_data_references_in_loop): Use get_loop_body
3675         instead of calling flow_bb_inside_loop_p for every basic block
3676         in the function.
3677         * tree-ssa-loop.c (pass_record_bounds): Use TV_TREE_LOOP_BOUNDS.
3678
3679 2004-10-31  Graham Stott <graham.stott@btinternet.com>
3680
3681         * config/pa/pa.md: (prefetch_64, prefetch_32): Fix typo.  Use
3682         INT_5_BITS instead of VAL_5_BITS_P.
3683
3684 2004-10-31  Roger Sayle  <roger@eyesopen.com>
3685
3686         PR middle-end/14521
3687         * tree-inline.c (inline_forbidden_p_1): Use %qF instead of '%F'
3688         for consistent quoting in diagnostic messages.
3689         (expand_call_inline): Likewise.
3690         * tree-optimize.c (tree_rest_of_compilation): Likewise.
3691         * tree-ssa.c (warn_uninitialized_var): Likewise.
3692         (warn_uninitialized_phi): Likewise.
3693
3694 2004-10-31  Richard Sandiford  <rsandifo@redhat.com>
3695
3696         * config/mips/mips.c (mips_cannot_change_mode_class): Use a stricter
3697         mode check.
3698
3699 2004-10-31  Kazu Hirata  <kazu@cs.umass.edu>
3700
3701         * c-common.c: Fix a comment typo.
3702
3703 2004-10-31  Jason Merrill  <jason@redhat.com>
3704
3705         PR middle-end/17526
3706         * tree-gimple.c (is_gimple_mem_rhs): Also require a val for
3707         aggregate types that are not BLKmode.
3708
3709 2004-10-30  Ziemowit Laski  <zlaski@apple.com>
3710
3711         * c-common.h (objc_lookup_ivar): Add second parameter to
3712         prototype.
3713         * c-typeck.c (build_external_ref): After looking up symbol,
3714         pass it to objc_lookup_ivar() to decide whether it or the
3715         ivar should be used, rather than deciding the issue locally.
3716         * stub-objc.c (objc_lookup_ivar): Add an OTHER parameter,
3717         which is simply returned in the non-ObjC case.
3718
3719 2004-10-30  Danny Smith  <dannysmith@users.sourceforge.net>
3720
3721         * sdbout.c (sdbout_symbol): Do not output type .def statements
3722         for builtin types.
3723
3724 2004-10-30  Gabriel Dos Reis  <gdr@integrable-solutions.net>
3725
3726         * c-common.c (catenate_strings): New.
3727         (c_parse_error): Use it.  Don't over-escape.
3728
3729 2004-10-30  Kaz Kojima  <kkojima@gcc.gnu.org>
3730
3731         * config/sh/sh.c (calc_live_regs): Declare reg as unsigned and
3732         modify the for loop expressions for it.  Remove unnecessary casts.
3733         (sh_expand_prologue): Declare reg as unsigned.
3734         (sh_gimplify_va_arg_expr): Initinalize lab_over.
3735         (sh_handle_sp_switch_attribute): Add const qualifier appropriately.
3736
3737 2004-10-30  Geoffrey Keating  <geoffk@apple.com>
3738
3739         * doc/invoke.texi (Darwin Options): Improve description of
3740         how the subtype is chosen.
3741
3742 2004-10-30  Roger Sayle  <roger@eyesopen.com>
3743
3744         PR middle-end/18096
3745         * config/rs6000/rs6000.c (rs6000_emit_allocate_stack): Check that
3746         the stack adjustment, "size", is valid for Pmode.  If the stack
3747         frame is too large, generate a trap insn and issue a warning.
3748
3749 2004-10-30  Kazu Hirata  <kazu@cs.umass.edu>
3750
3751         * tree-ssa-dom.c: Fix comment typos.
3752
3753 2004-10-30  Kaz Kojima  <kkojima@gcc.gnu.org>
3754
3755         * config/sh/sh.c (prepare_move_operands): Use operands[0]
3756         for the output rtl if no_new_pseudos is set.  Remove redundant
3757         line.
3758
3759 2004-10-30  Joseph S. Myers  <joseph@codesourcery.com>
3760
3761         PR c/16666
3762         * c-decl.c (start_function): Don't check for DECL_BUILT_IN when
3763         determining whether to copy parameter types from a previous
3764         prototype declaration.
3765
3766 2004-10-29  Roger Sayle  <roger@eyesopen.com>
3767
3768         PR rtl-optimization/17581
3769         * cselib.c (cselib_process_insn): The last instruction of a libcall
3770         block, with the REG_RETVAL note, should be considered in the libcall.
3771         * gcse.c (do_local_cprop): Allow constants to be propagated outside
3772         of libcall blocks.
3773         (adjust_libcall_notes): Use simplify_replace_rtx instead of
3774         replace_rtx to avoid creating invalid RTL in REG_RETVAL notes.
3775
3776 2004-10-30  Kazu Hirata  <kazu@cs.umass.edu>
3777
3778         * tree-phinodes.c (create_phi_node): Don't zero PHI_REWRITTEN.
3779
3780 2004-10-29 Jeff Law  <law@redhat.com>
3781
3782         * tree-ssa-dom.c (struct edge_info): New structure holding
3783         edge equivalences and edge redirection information.
3784         (get_eq_expr_value, record_dominating_conditions): Kill.
3785         (propagate_to_outgoing_edges): Renamed from cprop_into_phis.
3786         Call record_edge_info.
3787         (allocate_edge_info, free_edge_info): New.
3788         (tree_ssa_dominator_optimize): Use propagate_to_outgoing_edges
3789         rather than cprop_into_phis.  Free all edge infos before threading
3790         jumps.
3791         (thread_across_edge): Allocate new edge info structures as needed
3792         and store the redirection target into the edge info structure
3793         instead of the edge's AUX field.
3794         (dom_opt_initialize_block): Mark unused argument with ATTRIBUTE_UNUSED.
3795         (record_equivalence_from_incoming_edge): Lose unnecessary argument.
3796         Revamp code which finds and records equivalences associated with
3797         edges to use saved data in the edge_info structure.
3798         (record_equivalencs_from_phis): Similarly.
3799         (dom_opt_finalize_block): Revamp code which finds and records
3800         equivalences associated with edges to use saved data in the
3801         edge_info structure.
3802         (build_and_record_new_cond): New function.
3803         (record_conditions): Use build_and_record_new_cond to record
3804         dominating conditions.
3805         (record_edge_info): New function.
3806         (record_range): Tighten test for conditions which create
3807         useful range records.
3808
3809 2004-10-29  Geoffrey Keating  <geoffk@apple.com>
3810
3811         * config/i386/darwin.h (ASM_SPEC): Simplify.
3812         (SUBTARGET_EXTRA_SPECS): Add darwin_subarch spec.
3813         * config/rs6000/darwin.h (DARWIN_SUBARCH_SPEC): New.
3814         (SUBTARGET_EXTRA_SPECS): Add darwin_subarch spec.
3815         * config/darwin.h (LINK_COMMAND_SPEC): Don't pass -arch here.
3816         (LINK_SPEC): Do pass -arch here.  Handle -force_cpusubtype_ALL
3817         in all cases.  Pass the right -arch or -arch_only based on -mcpu.
3818         (ASM_SPEC): Handle -force_cpusubtype_ALL.
3819         * doc/invoke.texi (Darwin Options): Improve documentation for
3820         Darwin linker (and libtool) switches.
3821
3822         * config/rs6000/darwin-fallback.c: Include <mach/thread_status.h>.
3823
3824 2004-10-29  Stan Shebs  <shebs@apple.com>
3825
3826         * config/rs6000/darwin-tramp.asm: Make more 64-bit-friendly.
3827
3828 2004-10-29  Kazu Hirata  <kazu@cs.umass.edu>
3829
3830         * tree-phinodes.c (allocate_phi_node): New.
3831         (make_phi_node, resize_phi_node): Use it.
3832
3833 2004-10-29  David Edelsohn  <edelsohn@gnu.org>
3834
3835         * config/rs6000/sysv4.h (TARGET_POWER): Define as 0.
3836         * config/rs6000/darwin.h (TARGET_POWER): Define as 0.
3837
3838 2004-10-29  Kazu Hirata  <kazu@cs.umass.edu>
3839
3840         * tree-phinodes.c (make_phi_node, resize_phi_node): Don't zero
3841         the whole PHI node.
3842         * tree.h (tree_phi_node): Tell the garbage collector to chase
3843         num_args arguments.
3844
3845 2004-10-29  Richard Earnshaw  <rearnsha@arm.com>
3846
3847         * opts.c (decode_options): Lower the crossjump threshold for -Os.
3848
3849 2004-10-29  Diego Novillo  <dnovillo@redhat.com>
3850
3851         * tree.h (struct tree_ssa_name): Remove field 'equiv'.
3852
3853 2004-10-28  Nathan Sidwell  <nathan@codesourcery.com>
3854
3855         * bitmap.h (bitmap_empty_p): New.
3856         (bitmap_and, bitmap_and_into, bitmap_and_compl,
3857         bitmap_and_compl_into, bitmap_ior, bitmap_ior_into,
3858         bitmap_ior_compl, bitmap_xor, bitmap_xor_into): New bitmap
3859         operation macros.
3860         (bitmap_ior_and_compl): Rename to ...
3861         (bitmap_ior_and_compl_into): ... here.
3862         * bitmap.c (bitmap_equal_p): Use bitmap_xor.
3863         (bitmap_ior_and_compl): Rename to ...
3864         (bitmap_ior_and_compl_into): ... here. Adjust. Return changed
3865         flag.
3866         (bitmap_union_of_diff): Use renamed bitmap functions.
3867         * basic-block.h (AND_REG_SET, AND_COMPL_REG_SET, IOR_REG_SET,
3868         XOR_REG_SET, IOR_AND_COMPL_REG_SET): Likewise.
3869         * cfgrtl.c (safe_insert_insn_on_edge): Likewise.
3870         * df.c (df_bb_rd_local_compute)
3871         * flow.c (calculate_global_regs_live,
3872         init_propagate_block_info): Likewise.
3873         * ifcvt.c (find_if_case_1, find_if_case_2,
3874         dead_or_predicable): Likewise.
3875         * ra-build.c (union_web_part_roots, livethrough_conflicts_bb,
3876         reset_conflicts, conflicts_between_webs): Likewise.
3877         * ra-rewrite.c (reloads_to_loads, rewrite_program2,
3878         detect_web_parts_to_rebuild): Likewise.
3879         * sched-ebb.c (compute_jump_reg_dependencies): Likewise.
3880         * tree-int-ssa.c (insert_phi_nodes_for, rewrite_into_ssa): Likewise.
3881         * tree-sra.c (decide_instantiations): Likewise.
3882         * tree-ssa-alias.c (create_name_tags,
3883         merge_pointed_to_info): Likewise.
3884         * tree-ssa-dom.c (tree_ssa_dominator_optimize): Likewise.
3885         * tree-ssa-loop-im.c (move_computations): Likewise.
3886         * tree-ssa-operands.c (get_call_expr_operands): Likewise.
3887         * tree-ssa-pre.c (fini_pre): Likewise.
3888         * tree-ssa.c (verify_flow_sensitive_alias_info): Likewise.
3889         * tree-ssanames.c (any_marked_for_rewrite_p): Likewise.
3890         * tree-vectorizer.c (vectorize_loops): Likewise.
3891
3892 2004-10-29  Nick Clifton  <nickc@redhat.com>
3893
3894         config/mn10300/mn10300.h (CONDITIONAL_REGISTER_USAGE): When
3895         adding the PIC register to the fixed_regs array, also add it
3896         to the call_used_regs array.
3897
3898 2004-10-29  Eric Botcazou  <ebotcazou@libertysurf.fr>
3899
3900         * gthr-posix.h (__gthread_recursive_mutex_init_function): Guard
3901         with #ifdef PTHREAD_MUTEX_RECURSIVE/#endif pairs.
3902
3903 2004-10-28  Daniel Berlin  <dberlin@dberlin.org>
3904
3905         * tree-into-ssa.c (rewrite_virtual_phi_arguments): New function.
3906         (rewrite_blocks): Modify argument, and use it to decide which
3907         function to call.
3908         (rewrite_def_def_chains): Call rewrite_blocks with true here.
3909         (rewrite_into_ssa): and call it with false here.
3910
3911 2004-10-29  Kazu Hirata  <kazu@cs.umass.edu>
3912
3913         * tree-phinodes.c (add_phi_arg): Turn an "if" that always
3914         triggers into gcc_assert.
3915
3916 2004-10-28  Diego Novillo  <dnovillo@redhat.com>
3917
3918         PR tree-optimization/16728
3919         * tree-flow.h (get_ptr_info): Declare.
3920         * tree-ssa-alias.c (get_ptr_info): Make extern.
3921         * tree-ssa-copy.c (merge_alias_info): Merge flow-sensitive
3922         alias information.
3923
3924 2004-10-28  Stan Shebs  <shebs@apple.com>
3925
3926         * config/rs6000/darwin.h (SUBTARGET_EXTRA_SPECS): Handle -m64.
3927         * config/rs6000/rs6000.c (rs6000_darwin_file_start): Add ppc64
3928         case.
3929
3930 2004-10-28  Frank Ch. Eigler  <fche@redhat.com>
3931
3932         * tree-mudflap.c (mudflap_init): Mark cache-lookup decls to
3933         prevent their later unnecessary registration.
3934         (mf_build_check_statement_for): Remove "addr" argument, and
3935         related "__mf_value" generated code.  Update callers.
3936         (mf_decl_eligible_p): New function, factored from mx_register_decls.
3937         (mx_register_decls): Call it.
3938         (mf_xform_derefs_1): Rewrite COMPONENT_REF and ARRAY_REF cases
3939         to restore support for complex nested expressions.
3940         (mudflap_enqueue_decl): Simplify.  Move registration call emission
3941         out ...
3942         (mudflap_finish_file): ... to here.
3943         (mudflap_enqueue_constant): Remove dump code.
3944
3945 2004-10-28  Zack Weinberg  <zack@codesourcery.com>
3946
3947         PR 18199
3948         * dbxout.c (dbxout_begin_complex_stabs_noforcetext): New function.
3949         (DBX_FINISH_STABS): Add (unused by default) SYM parameter.
3950         (dbxout_finish_complex_stabs): Update to match.
3951         (dbxout_symbol_location): Call emit_pending_bincls_if_required
3952         and FORCE_TEXT before DBX_STATIC_BLOCK_START.  Use
3953         dbxout_begin_complex_stabs_noforcetext.
3954         * xcoffout.h (DBX_FINISH_STABS): Restore special case for
3955         N_GSYM, using new SYM parameter.  Correct logic for special
3956         cases for N_FUN.
3957
3958         * varasm.c (function_section): If DECL is NULL_TREE, don't try
3959         to do anything else.  Do not call get_insns if cfun or
3960         cfun->emit are NULL.
3961
3962 2004-10-28  Adam Nemet  <anemet@lnxw.com>
3963
3964         PR middle-end/18160
3965         * c-typeck.c (c_mark_addressable): Issue error if address of a
3966         register variable is taken.  Use "%qD" to print DECL_NAME.
3967
3968 2004-10-28  Diego Novillo  <dnovillo@redhat.com>
3969
3970         * opts.c (decode_options): Don't run PRE at -Os.
3971
3972 2004-10-28  Richard Henderson  <rth@redhat.com>
3973
3974         * config/alpha/alpha.md (movqicc_internal): Allow exactly one
3975         zero in the conditional.
3976         (movhicc_internal, movsicc_internal, movdicc_internal): Likewise.
3977
3978 2004-10-28  Richard Henderson  <rth@redhat.com>
3979
3980         * cse.c (memory_extend_rtx): Remove.
3981         (cse_main): Don't set it.
3982         (cse_insn): Use a local buffer instead.
3983
3984 2004-10-28  Andreas Krebbel  <krebbel1@de.ibm.com>
3985
3986         * profile.c (branch_prob): Call to init_edge_profiler added.
3987         * rtl-profile.c (rtl_init_edge_profiler): New function.
3988         (rtl_gen_edge_profiler): Replaced call to insert_insn_on_edge with
3989         call to safe_insert_insn_on_edge.
3990         (rtl_profile_hooks): rtl_init_edge_profiler added.
3991         * tree-profile.c (tree_init_edge_profiler): New function.
3992         (tree_profile_hooks): tree_init_edge_profiler added.
3993         * value-prof.h (profile_hooks) init_edge_profiler prototype added.
3994
3995 2004-10-28  Nick Clifton  <nickc@redhat.com>
3996
3997         * config/iq2000/iq2000.c (iq2000_expand_epilogue): Use
3998         emit_jump_insn() to generate the return instruction.
3999
4000 2004-10-28  Kazu Hirata  <kazu@cs.umass.edu>
4001
4002         * tree-phinodes.c: Remove trailing whitespace.
4003
4004 2004-10-28  Kazu Hirata  <kazu@cs.umass.edu>
4005
4006         * tree-ssa-loop-ivopts.c: Fix a comment typo.
4007         * doc/invoke.texi: Fix a typo.
4008
4009 2004-10-28  Kazu Hirata  <kazu@cs.umass.edu>
4010
4011         * Makefile.in (OBJS-common): Remove duplicates.
4012
4013 2004-10-28  Kazu Hirata  <kazu@cs.umass.edu>
4014
4015         * lambda-code.c (nestify_update_pending_stmts): Remove.
4016         (perfect_nestify): Use flush_pending_stmts instead of
4017         nestify_update_pending_stmts.
4018         * tree-cfg.c (tree_make_forwarder_block): Use
4019         flush_pending_stmts.
4020         * tree-flow.h: Add a prototype for flush_pending_stmts.
4021         * tree-ssa-loop-manip.c (tree_duplicate_loop_to_header_edge):
4022         Use flush_pending_stmts.
4023         (lv_update_pending_stmts): Remove.
4024         (tree_ssa_loop_version): Use flush_pending_stmts instead of
4025         lv_update_pending_stmts.
4026         * tree-ssa.c (flush_pending_stmts): New.
4027
4028 2004-10-28  Ulrich Weigand  <uweigand@de.ibm.com>
4029
4030         PR target/15286
4031         * final.c (alter_subreg): Compute correct offset to use with
4032         paradoxical SUBREGs of memory operands.
4033         * recog.c (general_operand): Allow paradoxical SUBREGs of
4034         memory operands after reload.
4035         * simplify-rtx.c (simplify_gen_subreg): Fail if simplify_subreg
4036         has failed when passed a hard register.
4037
4038 2004-10-28  Aldy Hernandez  <aldyh@redhat.com>
4039
4040         * function.c (assign_parm_setup_block): Handle parallels correctly.
4041
4042 2004-10-28  Kaz Kojima  <kkojima@gcc.gnu.org>
4043
4044         * final.c (shorten_branches): Initialize flags structure.
4045
4046 2004-10-28  Nathan Sidwell  <nathan@codesourcery.com>
4047
4048         * tree.c (int_cst_node, int_cst_hash_table): New variables.
4049         (init_ttree): Initialize them.
4050         (int_cst_hash_hash, int_cst_hash_eq): New hashing functions.
4051         (build_int_cst_wide): Use hash table for oversized integers.
4052
4053 2004-10-28  Nick Clifton  <nickc@redhat.com>
4054
4055         * config/m32r/m32r.h (DBX_OUTPUT_SOURCE_LINE): Define
4056         begin_label.
4057
4058 2004-10-27&