OSDN Git Service

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