OSDN Git Service

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