OSDN Git Service

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