OSDN Git Service

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