OSDN Git Service

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