OSDN Git Service

* rtl.h (copy_rtx_ptr_loc, print_rtx_ptr_loc, join_c_conditions)
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
1 2005-03-04  Richard Sandiford  <rsandifo@redhat.com>
2
3         * rtl.h (copy_rtx_ptr_loc, print_rtx_ptr_loc, join_c_conditions)
4         (print_c_condition): Declare.
5         * read-rtl.c (ptr_loc): New structure.
6         (ptr_locs, ptr_loc_obstack, joined_conditions)
7         (joined_conditions_obstack): New variables.
8         (leading_ptr_hash, leading_ptr_eq_p, set_rtx_ptr_loc)
9         (get_rtx_ptr_loc, copy_rtx_ptr_loc, print_rtx_ptr_loc)
10         (join_c_conditions, print_c_condition): New functions.
11         (apply_macro_to_string): Associate the new string with the same
12         source location as the old one.
13         (add_condition_to_string): Use join_c_conditions.
14         (read_string): Use set_rtx_ptr_loc to record a filename and line
15         number for the string.
16         (read_rtx): Initialize the new variables above.
17         * genattrtab.c (write_test_expr, write_attr_value): Use
18         print_c_condition.
19         * genconditions.c (write_header): Don't define MAYBE_EVAL.  Move its
20         comment above the GCC_VERSION check.
21         (write_one_condition): Use print_rtx_ptr_loc and print_c_condition.
22         Inline the definition of MAYBE_EVAL.
23         * genemit.c (gen_expand, gen_split): Use print_rtx_ptr_loc.
24         * genoutput.c (process_template): Likewise.
25         * genpreds.c (write_predicate_subfunction): Likewise.
26         (write_predicate_expr): Use print_c_condition.
27         * genrecog.c (write_cond): Likewise.
28         * gensupport.c (process_rtx): Use join_c_conditions to join the
29         conditions of a define_insn_and_split.  Record a source location
30         for the string after the "&&".
31         (alter_test_for_insn): Use join_c_conditions.
32
33 2005-03-04  Andrew Pinski  <pinskia@physics.uc.edu>
34
35         Revert for now:
36         2005-03-03  James A. Morrison  <phython@gcc.gnu.org>
37         PR tree-optimization/15784
38         * fold-const.c (fold): Fold ~A + 1 to -1.  Fold -A - 1
39         and -1 - A to ~A.
40
41 2005-03-04  Ben Elliston  <bje@au.ibm.com>
42
43         * gcc.c (option_map): Add --coverage.
44         (LINK_COMMAND_SPEC): Pass -lgcov for `coverage'.
45         (cc1_options): Pass -fprofile-arcs -ftest-coverage for `coverage'.
46         * config/darwin.h: Pass -lgcov for `coverage'.
47         * doc/invoke.texi (Debugging Options): Document --coverage.
48
49 2005-03-04  Kazu Hirata  <kazu@cs.umass.edu>
50
51         * gcse.c (bypass_block): Use find_edge wherever possible.
52
53 2005-03-03  Daniel Berlin <dberlin@dbrelin.org>
54
55         Fix PR debug/20253
56         
57         * c-opts.c (c_common_parse_file): Call start_source_file
58         and end_source_file at the approriate times.
59
60         * dwarf2out.c (dwarf2out_finish): Don't auto-end
61         the main file, it will be done for us now.
62         
63 2005-03-04  Kazu Hirata  <kazu@cs.umass.edu>
64
65         * fold-const.c (fold_ternary): New.
66         (fold): Call fold_ternary on ternary expressions.  Remove
67         handling of ternary expressions.
68
69 2005-03-03  James A. Morrison  <phython@gcc.gnu.org>
70
71         PR tree-optimization/15784
72         * fold-const.c (fold): Fold ~A + 1 to -1.  Fold -A - 1
73         and -1 - A to ~A.
74
75 2005-03-03  David Edelsohn  <edelsohn@gnu.org>
76
77         * config/rs6000/predicates.md (branch_comparison_operator):
78         Convert from C block to conditional format.
79
80 2005-03-03  Jan Hubicka  <jh@suse.cz>
81
82         * tree-dfa.c (add_referenced_var): Don't walk initializer of external
83         and non-constant public variables.
84
85 2005-03-03  Kazu Hirata  <kazu@cs.umass.edu>
86
87         * tree-cfg.c (stmt_starts_bb_p): Clean up by replacing code
88         with LABEL_EXPR.
89
90         * cfgexpand.c (construct_exit_block): Use EDGE_PRED instead of
91         EDGE_I.
92
93         * tree-phinodes.c (remove_phi_node): Clean up by factoring out
94         calls to release_ssa_name and release_phi_node.
95
96         * fold-const.c (fold): Remove handling of unary expressions.
97
98         * fold-const.c (fold_unary): Avoid directly using the original
99         expression t as much as possible.
100
101 2005-03-03  Roger Sayle  <roger@eyesopen.com>
102             Andrew Pinski  <pinskia@physics.uc.edu>
103
104         * jump.c (redirect_exp_1): If nlabel is a NULL pointer create a
105         RETURN rtx, and not a LABEL_REF containing a NULL pointer.
106
107 2005-03-03  Hans-Peter Nilsson  <hp@axis.com>
108
109         Describe special registers SRP and MOF as allocatable registers.
110         * config/cris/cris.c (cris_md_asm_clobbers): New function.
111         (TARGET_MD_ASM_CLOBBERS): Define to cris_md_asm_clobbers.
112         (cris_conditional_register_usage): Enable CRIS_MOF_REGNUM if
113         TARGET_HAS_MUL_INSNS.
114         (cris_print_operand) <case 'd'>: New case.
115         <case REG>: Allow CRIS_MOF_REGNUM and CRIS_SRP_REGNUM.
116         * config/cris/cris.h (CRIS_PC_REGNUM, CRIS_SRP_REGNUM): Don't
117         define.
118         (FIRST_PSEUDO_REGISTER, FIXED_REGISTERS, CALL_USED_REGISTERS)
119         (REG_ALLOC_ORDER): Update for MOF.
120         (enum reg_class): New members MOF_REGS, GENERAL_REGS and
121         SPECIAL_REGS.
122         (GENERAL_REGS): No longer a define of ALL_REGS.
123         (REGNO_REG_CLASS, REG_CLASS_CONTENTS, REG_CLASS_NAMES)
124         (PREFERRED_RELOAD_CLASS, REGISTER_NAMES, DBX_REGISTER_NUMBER):
125         Adjust accordingly.
126         (CRIS_SPECIAL_REGS_CONTENTS): New macro.
127         (REG_CLASS_FROM_LETTER): Allocate 'h' and 'x'.
128         (SECONDARY_RELOAD_CLASS): Define.
129         (STACK_POINTER_REGNUM): Define as CRIS_SP_REGNUM.
130         (FRAME_POINTER_REGNUM): Define as CRIS_FP_REGNUM.
131         (ARG_POINTER_REGNUM): Define as CRIS_AP_REGNUM.
132         (STATIC_CHAIN_REGNUM): Define as CRIS_STATIC_CHAIN_REGNUM.
133         (REGISTER_MOVE_COST): Define.
134         (PIC_OFFSET_TABLE_REGNUM): Define in terms of CRIS_GOT_REGNUM.
135         * config/cris/cris.md (CRIS_GOT_REGNUM, CRIS_STATIC_CHAIN_REGNUM)
136         (CRIS_FP_REGNUM, CRIS_SP_REGNUM, CRIS_SRP_REGNUM, CRIS_AP_REGNUM)
137         (CRIS_MOF_REGNUM): New define_constants.
138         ("*movsi_internal", "movhi", "movqi", "movsf"): Add alternatives for
139         special registers.
140         ("reload_inhi", "reload_outhi", "reload_inqi", "reload_outqi"):
141         New patterns.
142         ("umulhisi3", "umulqihi3", "mulsi3", "mulqihi3", "mulhisi3")
143         ("mulsidi3", "umulsidi3", "smulsi3_highpart", "umulsi3_highpart"):
144         Adjust for MOF being properly described as a register.
145         (indir_to_reg_split): Name this split.  Conditionalize on the
146         destination register being a general register.
147         (movei): Conditionalize on on operands 0 and 1 having the same
148         register class.
149
150 2005-03-03  Alan Modra  <amodra@bigpond.net.au>
151
152         PR target/20277
153         * config/rs6000/rs6000.c (rs6000_override_options): Don't allow
154         -mcpu to override any other explicitly given flags.
155
156 2005-03-02  J"orn Rennecke <joern.rennecke@st.com>
157
158         * recog.c (verify_changes, confirm_change_group): New functions,
159         broken out of apply_change_group.
160         (apply_change_group): Use them.
161         * recog.h (verify_change, confirm_change_group): Declare.
162         * rtl.h (redirect_jump_2): Declare.
163         * jump.c (redirect_exp, invert_exp): Delete.
164         (invert_exp_1): Take second parameter.  Return value.  Changed caller.
165         (redirect_jump_2): New function, broken out of redirect_jump.
166         (redirect_jump): Use redirect_jump_1 and redirect_jump_2.
167         (invert_jump): Use invert_jump_1 and redirect_jump_2.
168         * ifcvt.c (dead_or_predicable): Use redirect_jump_2.
169
170 2005-03-02  Geoffrey Keating  <geoffk@apple.com>
171
172         * varasm.c (named_section): Use xstrdup rather than doing it by
173         hand.
174
175         * config/darwin8.h (LIB_SPEC): Switch -lmx and -lSystem.
176
177 2005-03-02  Devang Patel  <dpatel@apple.com>
178         
179         Undo PR tree-optimization/18815 fix.
180         
181 2005-03-02  Devang Patel  <dpatel@apple.com>
182
183         PR tree-optimization/18815
184         * tree-if-conv.c (combine_blocks): Adjust loop header edges for
185         loops with zero exit edges.
186         
187 2005-03-02  Kazu Hirata  <kazu@cs.umass.edu>
188
189         * cfg.c (connect_src, connect_dest, disconnect_src,
190         disconnct_dest): New.
191         (unchecked_make_edge, remove_edge, redirect_edge_succ,
192         redirect_edge_pred): Use the new functions.
193
194         * tree-ssa-dom.c (tree_ssa_dominator_optimize): Call
195         free_dominance_info only when needed.
196
197 2005-03-02  David Edelsohn  <edelsohn@gnu.org>
198
199         PR target/20276
200         * config/rs6000/predicates.md (reg_or_cint64_operand): Fix typo.
201         (reg_or_sub_cint64_operand): Same.
202
203 2005-03-02  Jeff Law  <law@redhat.com>
204
205         * tree-ssa-dom.c (tree_ssa_dominator_optimize): Fix setting of
206         CFG_ALTERED in the main DOM iteration loop.
207
208 2005-03-02  Mark Mitchell  <mark@codesourcery.com>
209
210         PR c++/19916
211         * varasm.c (initializer_constant_valid_p): Allow conversions
212         between OFFSET_TYPEs.  Tidy.
213
214 2005-03-02  Hans-Peter Nilsson  <hp@axis.com>
215
216         * config/cris/cris.md ("return"): Remove epilogue delay list
217         sanity check.
218
219 2005-03-02  Daniel Jacobowitz  <dan@codesourcery.com>
220
221         * config/arm/linux-elf.h (ARM_FUNCTION_PROFILER): Do not use (PLT)
222         for Thumb.
223         * config/arm/netbsd-elf.h (ARM_FUNCTION_PROFILER): Likewise.
224
225 2005-03-02  Kazu Hirata  <kazu@cs.umass.edu>
226
227         * cfgloop.h, cfgloopanal.c, cfgloopmanip.c, conflict.c,
228         loop-init.c, loop-unroll.c, print-tree.c, reg-notes.def,
229         config/m68k/m68k.c, config/mips/mips.h,
230         config/rs6000/rs6000-protos.h, doc/contrib.texi,
231         doc/include/gcc-common.texi: Update copyright.
232
233         PR middle-end/18029 and PR middle-end/18030
234         * expr.c (optimize_bitfield_assignment_op): Add a special case
235         to handle BIT_IOR_EXPR and BIT_XOR_EXPR.
236
237         * fold-const.c (fold_unary): New.
238         (fold): Call fold_unary on unary expressions.
239
240 2005-03-02  Richard Guenther  <rguenth@gcc.gnu.org>
241
242         * cgraph.h (struct cgraph_edge): Add prev_caller and
243         prev_callee fields.
244         (cgraph_node_remove_callees): Export.
245         * cgraph.c (cgraph_create_edge): Initialize prev_caller
246         and prev_callee.
247         (cgraph_edge_remove_callee): New function.
248         (cgraph_edge_remove_caller): Likewise.
249         (cgraph_remove_edge): Use.
250         (cgraph_redirect_edge_callee): Likewise.
251         (cgraph_node_remove_callees): New function.
252         (cgraph_node_remove_callers): Likewise.
253         (cgraph_remove_node): Use.
254         * tree-optimize.c (tree_rest_of_compilation): Use
255         cgraph_node_remove_callees instead of manual loop.
256         * cgraphunit.c (cgraph_finalize_function): Likewise.
257         (cgraph_expand_function): Likewise.
258         (cgraph_remove_unreachable_nodes): Likewise.
259
260 2005-03-02  Joseph S. Myers  <joseph@codesourcery.com>
261
262         PR c/8927
263         * c-tree.h (undeclared_variable, build_external_ref): Add extra
264         argument.
265         * c-decl.c (undeclared_variable): Take location as argument.
266         * c-typeck.c (build_external_ref): Likewise.
267         * c-parser.c (c_parser_postfix_expression): Pass location of
268         identifier to build_external_ref.
269
270 2005-03-01  David Edelsohn  <edelsohn@gnu.org>
271
272         * config/rs6000/rs6000.md (cceq splitter): Use operand mode, not
273         CCEQ mode for branch_positive_comparison_operator test.
274         * config/rs6000/predicates (branch_comparison_operator): Revert to
275         define_predicate.
276         (scc_comparison_operator): Same.
277         (branch_positive_comparison_operator): Same.
278
279 2005-03-01  Hans-Peter Nilsson  <hp@axis.com>
280
281         * config/cris/cris.c (cris_eligible_for_epilogue_delay)
282         (cris_delay_slots_for_epilogue): Remove.
283         (save_last): Move into cris_target_asm_function_epilogue.
284         (cris_target_asm_function_epilogue): Remove tests for file being
285         NULL.
286         * config/cris/cris-protos.h (cris_eligible_for_epilogue_delay)
287         (cris_delay_slots_for_epilogue): Remove prototypes.
288         * config/cris/cris.h (DELAY_SLOTS_FOR_EPILOGUE)
289         (ELIGIBLE_FOR_EPILOGUE_DELAY): Do not define.
290
291 2005-03-01  David Edelsohn  <edelsohn@gnu.org>
292
293         * config/rs6000/predicates.md (branch_comparison_operator): Change
294         to define_special_predicate.
295         (scc_comparison_operator): Same.
296         (branch_positive_comparison_operator): Same.
297
298 2005-03-01  Daniel Berlin <dberlin@dberlin.org>
299
300         * Makefile.in (tree-ssa-sink.o): New.
301         (OBJS-common): Add tree-ssa-sink.o.
302         * common.opt: Add -ftree-sink
303         * opts.c (decode_options): flag_tree_sink is set at O1 or higher.
304         * timevar.def (TV_TREE_SINK): new timevar.
305         * tree-flow.h (is_hidden_global_store): Prototype.
306         * tree-optimize.c (init_tree_optimization_passes): Add
307         pass_sink_code.
308         * tree-pass.h (pass_sink_code): New.
309         * tree-ssa-dce.c (mark_stmt_if_obviously_necessary): Move checking
310         for non-obvious global store store to is_hidden_global_store, and
311         call that new function.
312         * tree-ssa-sink.c: New file.
313         * doc/invoke.texi: Document -fdump-tree-sink and -ftree-sink.
314         * doc/passes.texi: Document forward store motion.
315         * testsuite/gcc.dg/tree-ssa/ssa-sink-1.c: New test
316         * testsuite/gcc.dg/tree-ssa/ssa-sink-2.c: New test
317         * testsuite/gcc.dg/tree-ssa/ssa-sink-3.c: New test
318         * testsuite/gcc.dg/tree-ssa/ssa-sink-4.c: New test
319
320 2005-03-01  Per Bothner  <per@bothner.com>
321
322         * diagnostic.c (diagnostic_build_prefix): If USE_MAPPED_LOCATION
323         and we have a non-zero column-number, add it to the message.
324         Also factor out the diagnostic_kind_text.
325
326 2005-03-01  Zdenek Dvorak  <dvorakz@suse.cz>
327
328         * cfgloop.c (flow_loop_entry_edges_find, flow_loop_exit_edges_find,
329         flow_loop_pre_header_scan, flow_loop_pre_header_find,
330         flow_loop_scan): Removed.
331         (flow_loop_dump): Do not dump removed fields.
332         (flow_loop_free): Do not free removed fields.
333         (flow_loops_find): Flags argument removed.  Do not call flow_loop_scan.
334         (loop_exit_edge_p): New function.
335         * cfgloop.h (struct loop): Removed fields pre_header, pre_header_edges,
336         num_pre_header_edges, entry_edges, num_entries, exit_edges,
337         num_exits, exits_doms.
338         (LOOP_TREE, LOOP_PRE_HEADER, LOOP_ENTRY_EDGES, LOOP_EXIT_EDGES,
339         LOOP_EDGES, LOOP_ALL): Removed.
340         (flow_loop_scan): Declaration removed.
341         (loop_exit_edge_p, mark_loop_exit_edges): Declare.
342         * cfgloopmanip.c (create_loop_notes): Do not pass flags to
343         flow_loops_find.
344         * ifcvt.c (mark_loop_exit_edges): Moved to cfgloopanal.c.
345         (if_convert): Call flow_loops_find and flow_loops_free
346         when calling mark_loop_exit_edges.
347         * cfgloopanal.c (mark_loop_exit_edges): Moved from
348         ifcvt.c.  Removed the flow_loops_find, flow_loops_free and
349         free_dominance_info calls.
350         * loop-init.c (flow_loops_find): Ditto.
351         * passes.c (rest_of_handle_branch_prob): Ditto.
352         * lambda-code.c (perfect_nestify): Do not call flow_loops_find.
353         * loop-unroll.c (analyze_insns_in_loop): Do not use
354         EDGE_LOOP_EXIT.
355         * predict.c (predict_loops): Do not call flow_loop_scan.
356         Use get_loop_exit_edges.
357         (tree_estimate_probability): Do not pass flags to flow_loops_find.
358         * tree-if-conv.c (bb_with_exit_edge_p): Take loop as argument.
359         Do not use EDGE_LOOP_EXIT.
360         (tree_if_convert_cond_expr, if_convertible_modify_expr_p): Pass loop
361         to bb_with_exit_edge_p.
362         (if_convertible_loop_p): Do not call flow_loop_scan.  Use
363         loop->single_exit.  Do not use EDGE_LOOP_EXIT.  Pass loop
364         to bb_with_exit_edge_p.
365         (combine_blocks): Pass loop to bb_with_exit_edge_p.  Do not use
366         EDGE_LOOP_EXIT.
367         * tree-loop-linear.c (linear_transform_loops): Do not call
368         flow_loop_scan.  Use loop->single_exit.
369         * tree-vect-analyze.c (vect_analyze_operations): Use loop->single_exit.
370         (vect_analyze_loop_form): Do not call flow_loop_scan.
371         * tree-vect-transform.c (vect_update_ivs_after_vectorizer): Use
372         loop->single_exit.
373         (vect_do_peeling_for_loop_bound): Use loop_preheader_edge and
374         loop->single_exit.
375         * tree-vectorizer.c (slpeel_update_phis_for_duplicate_loop,
376         slpeel_make_loop_iterate_ntimes, slpeel_can_duplicate_loop_p,
377         slpeel_tree_duplicate_loop_to_edge_cfg,
378         slpeel_verify_cfg_after_peeling, slpeel_tree_peel_loop_to_edge):
379         Use loop_preheader_edge and loop->single_exit.  Do not call
380         flow_loop_scan.
381
382 2005-03-01  Nick Clifton  <nickc@redhat.com>
383
384         * config/arm/arm.c (thumb_find_work_register): Check all of the
385         argument registers to see if they are free, and a couple of
386         special cases where the last argument register but can be proved
387         to be available during the function's prologue.
388         (print_multi_reg, arm_compute_save_reg0_reg12_mask,
389         output_return_instruction, emit_multi_reg_push, thumb_pushpop,
390         thumb_unexpanded_epilogue): Use unsigned long as the type for the
391         register bit-mask.
392         (thumb_compute_save_reg_mask): Likewise.  Also use
393         thumb_find_work_register() to ensure that there is agreement about
394         which work register is going to be used in the prologue.
395         (thumb_output_function_prologue): Use unsigned long as the type
396         for the register bit-mask.  Also delay pushing the link register if
397         other high registers are going to be pushed.
398         (thumb_compute_save_reg_mask, emit_multi_reg_push,
399         print_multi-reg, number_of_first_bit_set, thumb_pushpop): Remove
400         redundant prototypes.
401
402 2005-02-28  John David Anglin  <dave.anglin#nrc-cnrc.gc.ca>
403
404         PR target/19819
405         * pa.h (GO_IF_LEGITIMATE_ADDRESS): Allow allow hard registers during
406         and after reload in REG+REG indexed addresses without REG_POINTER
407         set in the base and not set in the index.
408
409 2005-02-28  Kaz Kojima  <kkojima@gcc.gnu.org>
410
411         * config/sh/linux.h (MD_EXEC_PREFIX, MD_STARTFILE_PREFIX):
412         Don't undefine here.
413         (HANDLE_PRAGMA_PACK_PUSH_POP): Delete.
414         (NO_IMPLICIT_EXTERN_C, CPLUSPLUS_CPP_SPEC): Likewise.
415         (TARGET_OS_CPP_BUILTINS): Use LINUX_TARGET_OS_CPP_BUILTINS.
416         (LIB_SPEC, LINK_EH_SPEC, STARTFILE_SPEC, ENDFILE_SPEC,
417         LINK_GCC_C_SEQUENCE_SPEC, USE_LD_AS_NEEDED, TARGET_C99_FUNCTIONS):
418         Delete.
419         * config.gcc (sh*-*-linux*): Use config/linux.h.
420
421 2005-02-28  Dale Johannesen  <dalej@apple.com>
422             Stan Shebs  <shebs@apple.com>
423
424         Rewrite of 64-bit Darwin structure-by-value pass/return.
425         * config/rs6000/rs6000.h (CUMULATIVE_ARGS): New fields
426         intoffset, use_stack, named.
427         * config/rs6000/rs6000.c (rs6000_darwin64_function_arg):  Remove.
428         (rs6000_darwin64_record_arg_advance_flush):  New.
429         (rs6000_darwin64_record_arg_advance_recurse): New.
430         (rs6000_darwin64_record_arg_flush):  New.
431         (rs6000_darwin64_record_arg_recurse):  New.
432         (rs6000_darwin64_record_arg):  New.
433         (rs6000_return_in_memory):  Remove AGGREGATE_TYPE_P check.
434         (function_arg_boundary):  Handle 128-bit aligned structs.
435         (function_arg_advance):  Rewrite darwin64 struct handling.
436         (function_arg):  Call rs6000_darwin64_record_arg.
437         (function_arg_partial_nregs):  Handle darwin64 structs.
438         (rs6000_darwin64_function_value):  Remove.
439         (rs6000_function_value):  Call rs6000_darwin64_record_arg.
440
441 2005-02-28  Roger Sayle  <roger@eyesopen.com>
442
443         PR tree-optimization/20216
444         * tree-chrec.c (tree_fold_factorial): Delete.
445         (tree_fold_binomial): Change argument list to take a return type
446         and change the type of K to unsigned int.  Rewrite to avoid explicit
447         evaluation of factorials, and (recursively) calling fold to perform
448         compile-time arithmetic.  Return NULL on (internal) overflow.
449         (chrec_evaluate): Change type of K to an unsigned int.  Avoid
450         calling tree_fold_binomial unnecessarily.  Return chrec_dont_know
451         if any intermediate calculation overflows.
452         (chrec_apply): Update call to chrec_evaluate.
453
454 2005-02-28  James E Wilson  <wilson@specifixinc.com>
455
456         * config/mips/mips.h (NO_PROFILE_COUNTERS): Define.
457
458 2005-02-28  Joseph S. Myers  <joseph@codesourcery.com>
459
460         PR c/20245
461         * c-parser.c (c_parser_compound_statement): Return error_mark_node
462         instead of NULL_TREE on error.
463
464 2005-02-28  David Edelsohn  <edelsohn@gnu.org>
465
466         * config/rs6000/rs6000.c (EASY_VECTOR_15): Remove.
467         (EASY_VECTOR_15_ADD_SELF): Remove.
468         (num_insns_constant_wide): Not static.
469         (validate_condition_mode): Not static.
470         (toc_relative_expr_p): Not static.
471         (legitimate_indirect_address_p): Not static.
472         (macho_lo_sum_memory_operand): Not static.
473         (invalid_e500_subreg): Not static.
474         (easy_vector_same): Not static.
475         (easy_vector_splat_const): Not static.
476         (RS6000_SYMBOL_REF_TLS_P): Remove.
477         (any_operand): Delete.
478         (any_parallel_operand): Delete.
479         (count_register_operand): Delete.
480         (altivec_register_operand): Delete.
481         (xer_operand): Delete.
482         (s8bit_cint_operand): Delete.
483         (short_cint_operand): Delete.
484         (u_short_cint_operand): Delete.
485         (non_short_cint_operand): Delete.
486         (exact_log2_cint_operand): Delete.
487         (gpc_reg_operand): Delete.
488         (cc_reg_operand): Delete.
489         (cc_reg_not_cr0_operand): Delete.
490         (reg_or_short_operand): Delete.
491         (reg_or_neg_short_operand): Delete.
492         (reg_or_aligned_short_operand): Delete.
493         (reg_or_u_short_operand): Delete.
494         (reg_or_cint_operand): Delete.
495         (reg_or_arith_cint_operand): Delete.
496         (reg_or_add_cint64_operand): Delete.
497         (reg_or_sub_cint64_operand): Delete.
498         (reg_or_logical_cint_operand): Delete.
499         (got_operand): Delete.
500         (got_no_const_operand): Delete.
501         (easy_fp_constant): Delete.
502         (easy_vector_constant): Delete.
503         (easy_vector_constant_add_self): Delete.
504         (zero_constant): Delete.
505         (zero_fp_constant): Delete.
506         (volatile_mem_operand): Delete.
507         (offsettable_mem_operand): Delete.
508         (mem_or_easy_const_operand): Delete.
509         (add_operand): Delete.
510         (non_add_cint_operand): Delete.
511         (logical_operand): Delete.
512         (non_logical_cint_operand): Delete.
513         (mask_operand): Delete.
514         (mask_operand_wrap): Delete.
515         (mask64_operand): Delete.
516         (mask64_2_operand): Delete.
517         (and64_operand): Delete.
518         (and64_2_operand): Delete.
519         (and_operand): Delete.
520         (reg_or_mem_operand): Delete.
521         (lwa_operand): Delete.
522         (symbol_ref_operand): Delete.
523         (call_operand): Delete.
524         (current_file_function_operand): Delete.
525         (input_operand): Delete.
526         (rs6000_nonimmediate_operand): Delete.
527         (rs6000_tls_symbol_ref): Delete.
528         (save_world_operation): Delete.
529         (restore_world_operation): Delete.
530         (load_multiple_operation): Delete.
531         (store_multiple_operation): Delete.
532         (vrsave_operation): Delete.
533         (mfcr_operation): Delete.
534         (mtcrf_operation): Delete.
535         (lmw_operation): Delete.
536         (stmw_operation): Delete.
537         (branch_comparison_operator): Delete.
538         (branch_positive_comparison_operator): Delete.
539         (scc_comparison_operator): Delete.
540         (trap_comparison_operator): Delete.
541         (boolean_operator): Delete.
542         (boolean_or_operator): Delete.
543         (min_max_operator): Delete.
544         * config/rs6000/rs6000.h (RS6000_SYMBOL_REF_TLS_P): Move to here.
545         (EASY_VECTOR_15): Moved to here.
546         (EASY_VECTOR_15_ADD_SELF): Move to here.
547         (PREDICATE_CODES): Delete.
548         * config/rs6000/rs6000-protos.h: Delete predicate functions.
549         Declare functions no longer static.
550         * config/rs6000/predicates.md: New.
551         * config/rs6000/rs6000.md: Include predicates.md
552
553 2005-02-28  Kazu Hirata  <kazu@cs.umass.edu>
554
555         * calls.c (emit_call_1): Don't use  REG_ALWAYS_RETURN.
556         (emit_library_call_value_1): Don't use LCT_ALWAYS_RETURN and
557         REG_ALWAYS_RETURN.
558         * cfgrtl.c (need_fake_edge_p): Likewise.
559         * combine.c (distribute_notes): Likewise.
560         * emit-rtl.c (try_split): Likewise.
561         * recog.c (peephole2_opimize): Likewise.
562         * reg-notes.def (ALWAYS_RETURN): Remove.
563         * rtl.h (LCT_ALWAYS_RETURN): Remove.
564         * tree-cfg.c (need_fake_edge_p): Don't use ECF_ALWAYS_RETURN.
565         * tree.h (ECF_ALWAYS_RETURN): Remove.
566
567 2005-02-28  Roger Sayle  <roger@eyesopen.com>
568
569         PR middle-end/19874
570         * tree-ssa.c (tree_ssa_useless_type_conversion_1): A conversion
571         between different machine modes is never a "useless" conversion.
572
573 2005-02-28  Geert Bosch  <bosch@gnat.com>
574
575         PR ada/15977
576         * doc/contrib.texi: List contributors for Ada front end
577
578 2005-02-28 Paolo Bonzini <bonzini@gnu.org>
579
580         * simplify-rtx.c (simplify_unary_operation_1,
581         simplify_const_unary_operation): New, extracted from...
582         (simplify_unary_operation): ... this one.
583         (simplify_binary_operation_1,
584         simplify_const_binary_operation): New, extracted from...
585         (simplify_binary_operation): ... this one.
586         * rtl.h (simplify_const_unary_operation,
587         simplify_const_binary_operation): Add prototypes.
588
589 2005-02-28  Julian Brown  <julian@codesourcery.com>
590
591         * config/elfos.h: Revert my patch from 2005-02-25 since it broke
592         building libjava and caused PR regression/20228.
593
594 2005-02-28  Paolo Bonzini  <bonzini@gnu.org>
595
596         PR bootstrap/17383
597         * Makefile.in (host_subdir): New.
598         (build_objdir): New.  Replace ../$(build_subdir) with it throughout.
599         * configure: Regenerate.
600
601 2005-02-27  Zack Weinberg  <zack@codesourcery.com>
602
603         * config/alpha/t-osf4, config/arm/t-netbsd, config/ia64/t-hpux
604         * config/pa/t-hpux-shlib (SHLIB_INSTALL): Create the
605         installation directory first.
606
607 2005-02-28  Hans-Peter Nilsson  <hp@axis.com>
608
609         PR target/19065.
610         * config/cris/cris.h (EXTRA_CONSTRAINT_Q): Accept only (mem (reg)),
611         not including (reg). Do not check for reg being CRIS_PC_REGNUM.
612         (EXTRA_MEMORY_CONSTRAINT): Define as 'Q'.
613         * config/cris/cris.md: Tweak comments referring to Q.
614         ("cmpsi", "cmphi", "cmpqi", "*movsi_internal", "movhi")
615         ("movstricthi", "movqi", "movstrictqi", "movsf", "addsi3")
616         ("addhi3", "addqi3", "subsi3", "subhi3", "subqi3")
617         ("*expanded_andsi", "*expanded_andhi", "*andhi_lowpart", "andqi3")
618         ("*andqi_lowpart", "iorsi3", "iorhi3", "iorqi3", "uminsi3"):
619         Insert spaces in constraints to align alternatives vertically for
620         readability.
621         ("cmphi"): Ditto.  Add separate alternative for operand 0 "r",
622         operand 1: "M".
623
624 2005-02-27  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
625
626         PR rtl-optimization/17728
627         * pa.md (mulsi3, divsi3, udivsi3, modsi3): Change predicate for
628         operand 0 from general_operand to move_dest_operand.
629
630 2005-02-26  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
631
632         * pa/elf.h, pa/som.h (ASM_OUTPUT_EXTERNAL): Use assemble_name_raw
633         instead of trying to save and restore TREE_SYMBOL_REFERENCED.
634         * pa/pa64-hpux.h (ASM_OUTPUT_TYPE_DIRECTIVE): Define.
635         (ASM_OUTPUT_EXTERNAL): Don't save and restore TREE_SYMBOL_REFERENCED.
636
637 2005-02-26  Nathanael Nerode  <neroden@gcc.gnu.org>
638
639         * configure.ac: Rename cc_for_cross_gnattools to host_cc_for_libada.
640         * configure: Regenerate.
641         * libada-mk.in: Remove CC; rename
642         cc_for_cross_gnattools / cc_set_by_configure to host_cc_for_libada.
643
644 2005-02-26  Andrew Pinski  <pinskia@physics.uc.edu>
645
646         PR tree-opt/20188
647         * tree-ssa-alias.c (count_uses_and_derefs): If we have TREE_LIST
648         for the lhs, also walk over the tree.  Likewise for rhs.
649
650 2005-02-26  Zdenek Dvorak  <dvorakz@suse.cz>
651
652         * tree-ssa-dom.c (simple_iv_increment_p): New function.
653         (simplify_rhs_and_lookup_avail_expr, eliminate_redundant_computations):
654         Do not propagate value of iv before increment over the increment.
655
656 2005-02-25  Joseph S. Myers  <joseph@codesourcery.com>
657
658         * c-parser.c: New file.
659         * c-parse.in: Remove.
660         * Makefile.in (c-parse.o-warn, c-parse.o, c-parse.c, c-parse.y):
661         Remove.
662         (c-parser.o): Add dependencies.
663         (C_AND_OBJC_OBJC, C_OBJS, gcc.srcextra, GTFILES, distclean,
664         maintainer-clean, TAGS): Update.
665         * c-config-lang.in (gtfiles): Update.
666         * gengtype-lex.l: Don't handle "@@".
667         * stub-objc.c (objc_get_class_ivars, objc_build_throw_stmt,
668         objc_build_synchronized, objc_begin_try_stmt,
669         objc_begin_catch_clause, objc_finish_catch_clause,
670         objc_build_finally_clause, objc_finish_try_stmt): New.
671         * c-tree.h (struct c_declspecs): Add declspecs_seen_p and
672         type_seen_p.
673         (c_parse_init): Update comment.
674         * c-decl.c (c_init_decl_processing): Update comment.
675         (build_null_declspecs, declspecs_add_qual, declspecs_add_type,
676         declspecs_add_scspec, declspecs_add_attrs): Initialize and update
677         new c_declspecs members.
678
679 2005-02-25  Julian Brown  <julian@codesourcery.com>
680
681         * config/elfos.h (MAKE_DECL_ONE_ONLY): Redefined to stop DECL_WEAK
682         from being used for symbols with vague linkage when
683         HAVE_GAS_COMDAT_GROUP is true.
684
685 2005-02-25  Mark Mitchell  <mark@codesourcery.com>
686
687         * doc/include/gcc-common.texi (version-GCC): Update to 4.1.
688
689 2005-02-25  Steve Ellcey  <sje@cup.hp.com>
690
691         PR target/19930
692         * doc/tm.texi (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Document.
693         (LIBGCC2_HAS_DF_MODE): New.
694         (LIBGCC2_HAS_XF_MODE): New.
695         (LIBGCC2_HAS_TF_MODE): New.
696         * libgcc2.h (LIBGCC2_HAS_XF_MODE): New name for HAVE_XFMODE.
697         (LIBGCC2_HAS_TF_MODE): New name for HAVE_TFMODE.
698         * libgcc2.c (LIBGCC2_HAS_XF_MODE): New name for HAVE_XFMODE.
699         (LIBGCC2_HAS_TF_MODE): New name for HAVE_TFMODE.
700         (LIBGCC2_HAS_DF_MODE): New name for HAVE_DFMODE.
701         * config/ia64/t-ia64 (LIB1ASMFUNCS): Remove __compat
702         and add _fixtfdi, _fixunstfdi, _floatditf
703         * lib1funcs.asm: Remove L__compat. Add L_fixtfdi,
704         L_fixunstfdi, L_floatditf.
705         * config/ia64/hpux.h (LIBGCC2_HAS_XF_MODE): Define.
706         (LIBGCC2_HAS_TF_MODE): Define.
707
708 2005-02-25  Diego Novillo  <dnovillo@redhat.com>
709
710         PR tree-optimization/20204
711         * tree-into-ssa.c (insert_phi_nodes_for): Do not use
712         REWRITE_THIS_STMT markers on PHI nodes.
713         (rewrite_initialize_block): Likewise.
714
715 2005-02-25  Mark Mitchell  <mark@codesourcery.com>
716
717         * version.c (version_string): Update to 4.1.
718
719 2005-02-25  Paolo Carlini  <pcarlini@suse.de>
720
721         * doc/extend.texi (5.24 Declaring Attributes of Functions)<noreturn>:
722         Clarify that the alternative way doesn't work in GNU C++.
723
724 2005-02-25  Zdenek Dvorak  <dvorakz@suse.cz>
725
726         PR tree-optimization/19937
727         * tree-ssa-loop-ivopts.c (rewrite_use_compare): Cast the final value
728         to the type of the induction variable.
729
730 2005-02-25  Kaz Kojima  <kkojima@gcc.gnu.org>
731
732         PR rtl-optimization/20117
733         * bb-reorder.c (duplicate_computed_gotos): Don't duplicate
734         the block including noncopyable insn.
735
736 2005-02-24  Kazu Hirata  <kazu@cs.umass.edu>
737
738         * cse.c (delete_trivially_dead_insns): Speed up by minimizing
739         calls to find_reg_note.
740
741 2005-02-24  Richard Henderson  <rth@redhat.com>
742
743         PR tree-opt/20127
744         * tree-sra.c (instantiate_element): Copy TREE_THIS_VOLATILE from
745         the type.
746
747 2005-02-24  Fariborz Jahanian <fjahanian@apple.com>
748
749         * config/rs6000/rs6000.c (rs6000_legitimize_reload_address): Check for
750         vector types if to use base reg for misaligned non-word ld/std.
751
752 2005-02-24  Hans-Peter Nilsson  <hp@axis.com>
753
754         PR target/14619
755         * config/cris/cris.c (cris_target_asm_function_prologue): Create
756         dwarf2 label manually and put it after, not before the prologue.
757
758 2005-02-24  David Edelsohn  <edelsohn@gnu.org>
759
760         PR target/19019
761         * reload.c (operands_match_p): Only increment register number for
762         SCALAR_INT_MODE_P modes in multiple hard registers.
763
764         * config/rs6000/rs6000.md (trunctfdf2): Remove register constraints.
765         Fix formatting.
766
767 2005-02-24  Volker Reichelt  <reichelt@igpm.rwth-aachen.de>
768
769         * ChangeLog.5: Fix log message typo(s).
770         * ChangeLog.7: Likewise.
771         * ChangeLog.tree-ssa: Likewise.
772         * cfgexpand.c: Fix comment typo(s).
773         * conflict.c: Likewise.
774         * defaults.h: Likewise.
775         * dwarf2out.c: Likewise.
776         * gcse.c: Likewise.
777         * ggc-page.c: Likewise.
778         * tree-eh.c: Likewise.
779         * tree-ssa-dom.c: Likewise.
780
781 2005-02-24  Jakub Jelinek  <jakub@redhat.com>
782
783         PR target/19019
784         * mklibgcc.in: Pass -DSHARED when compiling all *_s${objext} objects.
785         * config/rs6000/darwin-ldouble.c: Only use the .symver directives
786         if SHARED is defined.
787
788         PR target/20196
789         * config/rs6000/rs6000.md (LTU, GTU sCC splitters): Add earlyclobber,
790         allow splitting only if operands 0 and 3 don't overlap.
791
792 2005-02-24  Richard Henderson  <rth@redhat.com>
793
794         PR middle-end/19953
795         * builtins.c (fold_builtin_complex_mul, fold_builtin_complex_div): New.
796         (fold_builtin_1): Call them.
797         * fold-const.c (fold_complex_mult_parts): Split out from ...
798         (fold_complex_mult): ... here.  Fix typo in both imaginary case.
799         (fold_complex_div_parts, fold_complex_div): New.
800         (fold): Use them.
801         * tree.h (fold_complex_mult_parts, fold_complex_div_parts): Declare.
802
803 2005-02-24  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
804
805         * tree-ssa-ccp.c (visit_assignment): Verify that result of
806         VIEW_CONVERT_EXPR is_gimple_min_invariant.
807
808         * print-tree.c (print_node_brief): Print LABEL_DECL_UID.
809         (print_node): Likewise.
810         Print TYPE_SIZES_GIMPLIFIED.
811
812 2005-02-24  Hans-Peter Nilsson  <hp@axis.com>
813
814         * config/cris/cris.md ("umulhisi3", "umulqihi3", "mulsi3")
815         ("mulqihi3", "mulhisi3", "mulsidi3", "umulsidi3"): Mark input
816         operands as commutative in constraints.
817
818 2005-02-24  Diego Novillo  <dnovillo@redhat.com>
819
820         * tree-into-ssa.c: Re-organize internal functions.
821
822 2005-02-24  Richard Henderson  <rth@redhat.com>
823
824         PR middle-end/18902
825         * c-opts.c (c_common_post_options): Set flag_complex_method to 2
826         for c99.
827         * common.opt (fcx-limited-range): New.
828         * opts.c (set_fast_math_flags): Set flag_cx_limited_range.
829         * toplev.c (flag_complex_method): Initialize to 1.
830         (process_options): Set flag_complex_method to 0 if
831         flag_cx_limited_range.
832         * doc/invoke.texi (-fcx-limited-range): New.
833
834 2005-02-24  Kazu Hirata  <kazu@cs.umass.edu>
835
836         * cse.c (delete_trivially_dead_insns): Speed up by using
837         NEXT_INSN and PREV_INSN directly instead of next_real_insn and
838         prev_real_insn.
839
840 2005-02-24  Andrea Tarani  <andrea.tarani@gilbarco.com>
841
842         * config/m68k/m68k.c (m68k_save_reg): Also save A5 for non-leaf
843         functions when -mid-shared-library is being used.
844
845 2005-02-23  Daniel Jacobowitz  <dan@codesourcery.com>
846
847         * doc/tm.texi (LINK_LIBGCC_SPECIAL): Remove.
848         (LINK_LIBGCC_SPECIAL_1): Don't mention it.
849         * gcc.c: Don't check for LINK_LIBGCC_SPECIAL.
850         * system.h: Poison LINK_LIBGCC_SPECIAL.
851
852 2005-02-23  James E Wilson  <wilson@specifixinc.com>
853
854         * gengtype.c (note_insn_name): Make 1 element larger.
855
856 2005-02-23  Roger Sayle  <roger@eyesopen.com>
857
858         PR target/20018
859         PR rtl-optimization/20097
860         * simplify-rtx.c (simplify_relational_operation_1): Avoid creating
861         BImode SUBREGs of SImode registers which confuse the ia64 backend.
862
863 2005-02-23  David Edelsohn  <edelsohn@gnu.org>
864
865         * t-aix43 (SHLIB_INSTALL): Create directory for shared library.
866         * t-aix52 (SHLIB_INSTALL): Same.
867
868 2005-02-23  Kazu Hirata  <kazu@cs.umass.edu>
869
870         * genpreds.c: Update copyright.
871
872 2005-02-23  Michael Beach  <michaelb@ieee.org>
873
874         PR target/20159
875         * config/sparc/t-elf (startup files): Assemble with CPP.
876
877 2005-02-23  Paolo Bonzini  <bonzini@gnu.org>
878
879         * genpreds.c (mark_mode_tests): Handle non-VOIDmode match_operands.
880         (write_predicate_expr): Likewise.
881
882 2005-02-22  Diego Novillo  <dnovillo@redhat.com>
883
884         PR tree-optimization/20100
885         PR tree-optimization/20115
886         * tree-optimize.c (init_tree_optimization_passes): Remove
887         pass_maybe_create_global_var.
888         * tree-pass.h (pass_maybe_create_global_var): Remove.
889         * tree-ssa-alias.c (aliases_computed_p): Declare.
890         (struct alias_info): Add field NUM_PURE_CONST_CALLS_FOUND.
891         (count_calls_and_maybe_create_global_var): Remove.
892         (pass_maybe_create_global_var): Remove.
893         (init_alias_info): Do not declare aliases_computed_p.
894         (maybe_create_global_var): If the function contains no
895         call-clobbered variables and a mix of pure/const and regular
896         function calls, create .GLOBAL_VAR.
897         Mark all call-clobbered variables for renaming.
898         (merge_pointed_to_info): Update comment.
899         (add_pointed_to_var): Likewise.
900         (is_escape_site): Likewise.
901         Accept struct alias_info * instead of size_t *.
902         Update all users.
903         Update AI->NUM_CALLS_FOUND and AI->NUM_PURE_CONST_CALLS_FOUND
904         as necessary.
905         * tree-ssa-operands.c (get_call_expr_operands): If
906         ALIASES_COMPUTED_P is false, do not add call-clobbering
907         operands.
908         * tree-ssa.c (init_tree_ssa): Set ALIASES_COMPUTED_P to false.
909         (delete_tree_ssa): Likewise.
910
911 2005-02-22  James E Wilson  <wilson@specifixinc.com>
912
913         * toplev.c (backend_init): Don't call init_adjust_machine_modes here.
914         (do_compile): Do call it here.
915
916 2005-02-22  Kazu Hirata  <kazu@cs.umass.edu>
917
918         PR rtl-optimization/20017.
919         * passes.c (rest_of_handle_combine, rest_of_handle_cse,
920         rest_of_handle_cse2, rest_of_handle_gcse): Call
921         delete_dead_jumptables immediately before calling cleanup_cfg.
922
923 2005-02-22  Devang Patel  <dpatel@apple.com>
924
925         PR 19952
926         * tree-if-conv.c (process_phi_nodes): Use bsi_after_labels and skip
927         all labels
928
929 2005-02-22  David Edelsohn  <edelsohn@gnu.org>
930
931         * config/rs6000/aix.h (WINT_TYPE): Define.
932
933 2005-02-22  Stan Shebs  <shebs@apple.com>
934
935         * config/rs6000/rs6000.c (rs6000_override_options): Default to
936         natural alignment for 64-bit Darwin.
937         (rs6000_parse_alignment_option): Warn about uses of -malign-power
938         on 64-bit Darwin.
939         * doc/invoke.texi: Document this.
940
941 2005-02-22  DJ Delorie  <dj@redhat.com>
942
943         * c-common.c (c_common_type_for_mode): Pass the mode's precision
944         to make_[un]signed_type, not the mode itself.
945
946 2005-02-22  Kazu Hirata  <kazu@cs.umass.edu>
947
948         * cfg.c (cached_make_edge): Call make_edge if edge cache is
949         not available.  Use tail calls wherever possible.
950         (make_edge): Call unchecked_make_edge to create an edge.
951
952         * tree-outof-ssa.c (SSANORM_USE_COALESCE_LIST): Remove.
953         (coalesce_ssa_name): Don't check for
954         SSANORM_USE_COALESCE_LIST.
955         (rewrite_out_of_ssa): Don't use SSANORM_USE_COALESCE_LIST.
956
957 2005-02-22  Diego Novillo  <dnovillo@redhat.com>
958
959         * tree-into-ssa.c (rewrite_blocks): Move debug dumps from ...
960         (rewrite_into_ssa): ... here.
961
962 2005-02-21  Alexandre Oliva  <aoliva@redhat.com>
963
964         PR tree-optimization/19786
965         * tree-ssa-alias.c (compute_flow_insensitive_aliasing): Add one
966         tag to another's may-alias bitmap when adding to the other's list.
967
968 2005-02-21  DJ Delorie  <dj@redhat.com>
969
970         * tree-ssa-loop-ivopts.c (computation_cost): Start register
971         numbering at LAST_VIRTUAL_REGISTER+1 to avoid possibly using hard
972         registers in unsupported ways.
973         * expmed.c (init_expmed): Likewise.
974
975 2005-02-21  Stan Cox  <scox@redhat.com>
976
977         * config/iq2000/iq2000.h (DWARF_FRAME_RETURN_COLUMN): Change to 31.
978
979 2005-02-21  Kazu Hirata  <kazu@cs.umass.edu>
980
981         * tree-cfg.c (fold_cond_expr_cond): New.
982         (make_edges): Call fold_cond_expr_cond.
983         (find_taken_edge): Accept nothing but INTEGER_CST.
984         (find_taken_edge_cond_expr): Reject INTEGER_CST other than 0
985         and 1.
986         (find_taken_edge_switch_expr): Remove a check for INTEGER_CST.
987
988         * flow.c (delete_dead_jumptables): Speed up by scanning insns
989         that do not belong to any basic block.
990
991 2005-02-21  Jeff Law  <law@redhat.com>
992
993         * cfganal.c (find_unreachable_blocks): Manually CSE load of
994         e->dest.
995
996 2005-02-21  Kazu Hirata  <kazu@cs.umass.edu>
997
998         * tree-outof-ssa.c (SSANORM_REMOVE_ALL_PHIS): Remove.
999         (SSANORM_COALESCE_PARTITIONS, SSANORM_USE_COALESCE_LIST):
1000         Adjust their definitions.
1001         (remove_ssa_form): Don't check for SSANORM_REMOVE_ALL_PHIS.
1002         (rewrite_out_of_ssa): Don't use SSANORM_REMOVE_ALL_PHIS.
1003
1004         * c-objc-common.h, c-pretty-print.c, cgraphunit.c, except.c,
1005         genautomata.c, langhooks.c, langhooks.h, system.h,
1006         config/arm/lib1funcs.asm: Update copyright.
1007
1008 2005-02-21  Ulrich Weigand  <uweigand@de.ibm.com>
1009
1010         * dbxout.c (dbxout_function_end): Emit Lscope label always.
1011
1012 2005-02-21  Richard Guenther  <rguenth@gcc.gnu.org>
1013
1014         PR bootstrap/13770
1015         * doc/install.texi: Document --with-gc.
1016
1017 2005-02-21  Paolo Bonzini  <bonzini@gnu.org>
1018
1019         * simplify-rtx.c (simplify_unary_operation): Add a missing
1020         "break" statement.
1021
1022 2005-02-21  Eric Botcazou  <ebotcazou@libertysurf.fr>
1023
1024         PR tree-optimization/18663
1025         * tree-ssa-dom.c (extract_range_from_cond): Return 0
1026         if the type has variable bounds.
1027
1028 2005-02-20  Kazu Hirata  <kazu@cs.umass.edu>
1029
1030         * gcse.c: Remove an obsolete comment.
1031
1032         * cse.c (init_cse_reg_info): Use xmalloc instead of xrealloc.
1033
1034 2005-02-20  Hans-Peter Nilsson  <hp@axis.com>
1035
1036         * doc/extend.texi (Function Attributes) <Attribute const>: The
1037         attribute "pure" is below this text, not above.
1038
1039 2005-02-20  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
1040
1041         * pa.c (pa_assemble_integer, get_plabel): Small cleanups.
1042         (pa_asm_output_mi_thunk): Use asm_output_insn instead of fprintf.
1043         * som.h (ASM_OUTPUT_EXTERNAL_LIBCALL): Small cleanup.
1044
1045 2005-02-20  Zack Weinberg  <zack@codesourcery.com>
1046
1047         PR 18785
1048         * langhooks.h (struct lang_hooks): Add to_target_charset.
1049         * langhooks.c (lhd_to_target_charset): New function.
1050         * langhooks-def.h: Declare lhd_to_target_charset.
1051         (LANG_HOOKS_TO_TARGET_CHARSET): New macro.
1052         (LANG_HOOKS_INITIALIZER): Update.
1053         * c-common.c (c_common_to_target_charset): New function.
1054         * c-common.h: Declare it.
1055         * c-objc-common.h (LANG_HOOKS_TO_TARGET_CHARSET): Set to
1056         c_common_to_target_charset.
1057
1058         * defaults.c (TARGET_BELL, TARGET_BS, TARGET_CR, TARGET_DIGIT0)
1059         (TARGET_ESC, TARGET_FF, TARGET_NEWLINE, TARGET_TAB, TARGET_VT):
1060         Delete definitions.
1061         * system.h: Poison them.
1062         * doc/tm.texi: Don't discuss them.
1063         * builtins.c (fold_builtin_isdigit): Use lang_hooks.to_target_charset.
1064         * c-pretty-print.c (pp_c_integer_constant): Don't use pp_c_char.
1065         (pp_c_char): Do not attempt to generate letter escapes for
1066         newline, tab, etc.
1067         * config/arm/arm.c (output_ascii_pseudo_op): Likewise.
1068         * config/mips/mips.c (mips_output_ascii): Likewise.
1069
1070 2005-02-20  Dorit Naishlos  <dorit@il.ibm.com>
1071
1072         PR tree-optimization/19951
1073         * tree-vect-analyze.c (vect_analyze_loop_form): Check if loop exit edge
1074         is abnormal.
1075
1076 2005-02-19  Steven Bosscher  <stevenb@suse.de>
1077
1078         PR middle-end/19698
1079         * function.h (struct function): New field `max_loop_depth'.
1080         * cfgloop.c (establish_preds): Update maximum loop depth seen so far.
1081         (flow_loops_find): Reset the max loop depth count before finding loops.
1082         * flow.c (MAX_LIVENESS_ROUNDS): New constant.
1083         (update_life_info_in_dirty_blocks): Remove 2002-05-28 workaround.
1084         (calculate_global_regs_live): Make sure the loop will terminate
1085         when the initial sets are not empty.
1086
1087 2005-02-19  Zack Weinberg  <zack@codesourcery.com>
1088
1089         * mklibgcc.in: If libgcc_eh.a would be empty, put a dummy
1090         object inside.
1091         * config/ia64/hpux.h: Don't define LIBGCC_SPEC.
1092
1093 2005-02-19  Richard Sandiford  <rsandifo@redhat.com>
1094
1095         PR other/19525
1096         * doc/invoke.texi: Remove documentation of %M spec.
1097         * gcc.c: Likewise.
1098         (init_spec): Remove %M suffix from -lgcc_s.
1099         (do_spec_1): Remove 'M' case.
1100         * mklibgcc.in: Remove SHLIB_MULTILIB handling.  Expect SHLIB_LINK
1101         to put shared libraries in the multilib directory.  Remove the
1102         shlib_so_soname substitution variable.  Don't add a multilib encoding
1103         to shlib_base_name.  Set shlib_slibdir_qual to the full pathname
1104         reported by -print-multi-os-directory.  Pass @multilib_dir@ to
1105         SHLIB_INSTALL as well as SHLIB_LINK.
1106         * config/t-slibgcc-elf-ver (SHLIB_SONAME): Use @shlib_base_name@.
1107         (SHLIB_NAME): Delete.
1108         (SHLIB_DIR): New macro.
1109         (SHLIB_LINK): Put $(SHLIB_SONAME) and $(SHLIB_SOLINK) in $(SHLIB_DIR).
1110         (SHLIB_INSTALL): Adjust accordingly.
1111         * config/t-slibgcc-darwin: As for t-slibgcc-elf-ver.
1112         * config/t-slibgcc-sld: Likewise.
1113         * config/t-libunwind-elf (SHLIBUNWIND_NAME): Delete.
1114         (SHLIBUNWIND_SONAME): Use @shlib_base_name@.
1115         (SHLIBUNWIND_LINK): Put $(SHLIBUNWIND_SONAME) and $(SHLIB_SOLINK)
1116         in $(SHLIB_DIR).
1117         (SHLIBUNWIND_INSTALL): Adjust accordingly.
1118         * config/i386/t-nwld (SHLIB_SONAME): Delete.
1119         (SHLIB_LINK, SHLIB_INSTALL): Use SHLIB_NAME instead of SHLIB_SONAME.
1120         Use @shlib_base_name@ instead of @shlib_so_name@.
1121         * config/ia64/t-hpux (SHLIB_LINK): Put @shlib_base_name@.so.0
1122         and @shlib_base_name@.so in @multilib_dir@.
1123         (SHLIB_INSTALL): Adjust accordingly.  Add @shlib_slibdir_qual@
1124         to the install path.
1125         * config/mips/t-slibgcc-irix: As for t-slibgcc-elf-ver.
1126         (SHLIB_LINK): Remove previous workaround.
1127         * config/pa/t-hpux-shlib (SHLIB_DIR, SHLIB_SLIBDIR_QUAL): New macros.
1128         (SHLIB_LINK): Put $(SHLIB_SONAME) and $(SHLIB_NAME) in $(SHLIB_DIR).
1129         (SHLIB_INSTALL): Adjust accordingly.  Add $(SHLIB_SLIBDIR_QUAL) to
1130         the install path.
1131         * config/rs6000/t-aix43 (SHLIB_LINK): Put @shlib_base_name@.a in
1132         @multilib_dir@.  Use @multilib_dir@ to check for threading libraries.
1133         (SHLIB_INSTALL): Adjust accordingly.
1134         (SHLIB_LIBS): Use @multilib_dir@ to check for threading libraries.
1135         * config/rs6000/t-aix52: As for config/rs6000/t-aix43.
1136         * config/sh/t-linux (SHLIB_LINK, SHLIB_INSTALL): As for
1137         config/t-slibgcc-elf-ver.
1138
1139 2005-02-19  Zdenek Dvorak  <dvorakz@suse.cz>
1140             Jakub Jelinek  <jakub@redhat.com>
1141
1142         PR tree-optimization/19828
1143         * tree-ssa-loop-im.c: Add a TODO comment.
1144         (movement_possibility): Return MOVE_PRESERVE_EXECUTION for calls
1145         without side-effects.
1146
1147 2005-02-18  James A. Morrison  <phython@gcc.gnu.org>
1148
1149         * tree-ssa-ccp.c (widen_bitfield): Pass type to build_int_cst and don't
1150         call fold_convert.
1151
1152 2005-02-18  James E. Wilson  <wilson@specifixinc.com>
1153
1154         * doc/invoke.texi (IA-64 Options): Delete -mb-step.
1155         * config/ia64/ia64.c (last_group, group_idx): Delete variables.
1156         (errata_find_address_regs, errata_emit_nops, fixup_errata): Delete
1157         functions.
1158         (ia64_reorg): Delete fixup_errata call.
1159         * config/ia64/ia64.h (MASK_B_STEP, TARGET_B_STEP): Delete.
1160         (TARGET_SWITCHES): Delete -mb-step entry.
1161
1162 2005-02-19  Jakub Jelinek  <jakub@redhat.com>
1163
1164         PR c/20043
1165         * c-typeck.c (composite_type): Handle quals in transparent unions.
1166         (type_lists_compatible_p): Likewise.
1167
1168 2005-02-18  Stan Shebs  <shebs@apple.com>
1169
1170         * config/darwin.c (machopic_select_rtx_section): Don't put relocatable
1171         expressions in the .literal8 section.
1172
1173 2005-02-18  Geoffrey Keating  <geoffk@apple.com>
1174
1175         * config/rs6000/darwin-tramp.asm: Remove stray 'APPLE LOCAL' marker.
1176
1177 2005-02-18  Roger Sayle  <roger@eyesopen.com>
1178
1179         * fold-const.c (constant_boolean_node): Always create values of the
1180         specified type, don't bother calling truthvalue_conversion.
1181
1182 2005-02-18  Joseph S. Myers  <joseph@codesourcery.com>
1183
1184         * except.c (output_function_exception_table): Call
1185         assemble_external_libcall (eh_personality_libfunc).
1186
1187 2005-02-18  Joseph S. Myers  <joseph@codesourcery.com>
1188
1189         PR target/19886
1190         * config/ia64/ia64.h (struct machine_function): Add state_num.
1191         * config/ia64/ia64.c (process_epilogue,
1192         process_for_unwind_directive): Use new unwind state numbers each
1193         time rather than state 1.
1194
1195 2005-02-18  Ulrich Weigand  <uweigand@de.ibm.com>
1196
1197         PR target/20054
1198         * config/s390/s390.md ("*llgt_sidi", "*llgt_sidi_split"): Move to
1199         before the "*llgt_didi" pattern.
1200
1201 2005-02-18  Jason Merrill  <jason@redhat.com>
1202
1203         * gimplify.c (gimplify_modify_expr_rhs) [CALL_EXPR]: Revert again.
1204
1205 2005-02-18  Richard Earnshaw  <rearnsha@arm.com>
1206
1207         * arm/lib1funcs.asm (FUNC_ALIAS): New macro.
1208         (div0): Use it in place of ARM_FUNC_ALIAS.
1209         (lshrdi3, ashrdi3, ashlrdi3): Likewise.
1210
1211 2005-02-18  Andrew Pinski  <pinskia@physics.uc.edu>
1212
1213         PR middle-end/20030
1214         * fold-const.c (fold_indirect_ref_1): Use the correct index for zero
1215         access, the lower bound of the array type if it exists.
1216
1217 2005-02-18  Alexandre Oliva  <aoliva@redhat.com>
1218
1219         PR c++/20008
1220         * stmt.c (expand_case): Don't assume cleanup_tree_cfg will remove
1221         cases that are out-of-range for the index type.
1222
1223 2005-02-18  James A. Morrison  <phython@gcc.gnu.org>
1224
1225         * stmt.c (emit_case_bit_tests): Call fold_convert instead of convert.
1226         (estimate_case_costs): Don't call convert.
1227         * expmed.c (expand_shift): Likewise.
1228         (make_tree): Call fold_convert instead of convert.
1229
1230 2005-02-18  Jakub Jelinek  <jakub@redhat.com>
1231
1232         PR c++/19813
1233         * emit-rtl.c (set_mem_attributes_minus_bitpos): Add assertion
1234         that ref to be marked MEM_READONLY_P doesn't have base that needs
1235         constructing.
1236
1237 2005-02-18  Joseph S. Myers  <joseph@codesourcery.com>
1238
1239         * genautomata.c (output_get_cpu_unit_code_func,
1240         output_cpu_unit_reservation_p): Don't generate old-style function
1241         definitions.
1242
1243 2005-02-18  Jakub Jelinek  <jakub@redhat.com>
1244
1245         PR c++/20023
1246         PR tree-optimization/20009
1247         * convert.c (convert_to_integer): Revert 2005-02-16 change.
1248
1249         PR tree-optimization/18947
1250         * cgraphunit.c (cgraph_finalize_function): When redefining an extern
1251         inline, remove all nodes that are inlined into the extern inline
1252         being redefined.
1253
1254 2005-02-17  Kazu Hirata  <kazu@cs.umass.edu>
1255
1256         * bt-load.c, cfgloop.c, convert.c, dominance.c, global.c,
1257         loop-invariant.c, stmt.c, tree-ssa-forwprop.c,
1258         tree-ssa-live.c, tree-ssanames.c, tree-vn.c,
1259         config/host-linux.c, config/arm/fpa.md, config/avr/avr.h:
1260         Update copyright.
1261
1262 2005-02-17  Roger Sayle  <roger@eyesopen.com>
1263
1264         PR tree-optimization/19917
1265         * tree-eh.c (tree_could_trap_p): Consider calls to weak functions
1266         to be potentially trapping.
1267
1268 2005-02-17  Kazu Hirata  <kazu@cs.umass.edu>
1269
1270         * libgcc2.c, tree-vect-analyze.c: Fix comment typos.
1271
1272 2005-02-17  Andreas Krebbel  <krebbel1@de.ibm.com>
1273
1274         * builtins.c (expand_builtin_return_addr): Remove tem parameter.
1275         tem becomes a local variable which is set to the value of the
1276         back end defined INITIAL_FRAME_ADDRESS macro.
1277         (expand_builtin_frame_address): Omit the base parameter to
1278         expand_builtin_return_addr.
1279         (expand_builtin_profile_func): Likewise.
1280         * config/s390/s390.h (INITIAL_FRAME_ADDRESS_RTX): Define new macro.
1281         (DYNAMIC_CHAIN_ADDRESS): Remove the case for the initial frame.
1282         * doc/tm.texi: Documentation for INITIAL_FRAME_ADDRESS_RTX added.
1283
1284 2005-02-17  Jakub Jelinek  <jakub@redhat.com>
1285
1286         * config/s390/s390.c (s390_alloc_pool, s390_free_pool,
1287         s390_chunkify_start): Use BITMAP_ALLOC and BITMAP_FREE.
1288         * config/frv/frv.c (frv_function_epilogue): Likewise.
1289
1290 2005-02-17  Daniel Berlin  <dberlin@dberlin.org>
1291
1292         * lambda-code (perfect_nestify): Remove mark/unmark
1293         for rewriting hack.
1294         * tree-loop-linear.c (linear_transform_loops): Add
1295         rewrite_into_ssa call so that ssa is correct for
1296         rewriting into loop closed.
1297
1298 2005-02-17  Nathan Sidwell  <nathan@codesourcery.com>
1299
1300         * bitmap.h (BITMAP_XMALLOC, BITMAP_XFREE): Remove.
1301         * bb-reorder.c (duplicate_computed_gotos): Use BITMAP_ALLOC and
1302         BITMAP_FREE.
1303         * bt-load.c (btr_def_live_range, combine_btr_defs,
1304         migrate_btr_def, migrate_btr_defs): Likewise.
1305         * cfgcleanup.c (thread_jump): Likewise.
1306         * cfgloop.c (get_loop_body_in_bfs_order): Likewise.
1307         * df.c (df_insn_table_realloc, df_bitmaps_alloc, df_bitmaps_free,
1308         df_alloc, df_free, df_du_chain_create, df_bb_rd_local_compute,
1309         df_rd_local_compute, df_reg_info_compute): Likewise.
1310         * dominance.c (init_dom_info, free_dom_info): Likewise.
1311         * flow.c (init_propagate_block_info,
1312         free_propagate_block_info): Likewise.
1313         * gcse.c (alloc_gcse_mem, free_gcse_mem): Likewise.
1314         * global.c (allocate_bb_info, free_bb_info, calculate_reg_pav,
1315         modify_reg_pav): Likewise.
1316         * loop-invariant.c (find_defs, find_invariant_insn,
1317         find_invariants, free_inv_motion_data): Likewise.
1318         * predict.c (tree_predict_by_opcode,
1319         estimate_bb_frequencies): Likewise.
1320         * stmt.c (expand_case): Likewise.
1321         * tree-cfg.c (tree_duplicate_sese_region): Likewise.
1322         * tree-dfa.c (mark_new_vars_to_rename): Likewise.
1323         * tree-if-conv.c (get_loop_body_in_if_conv_order): Likewise.
1324         * tree-into-ssa.c (insert_phi_nodes_for, def_blocks_free,
1325         get_def_blocks_for, mark_def_site_blocks, rewrite_into_ssa,
1326         rewrite_ssa_into_ssa): Likewise.
1327         * tree-optimize.c (tree_rest_of_compilation): Likewise.
1328         * tree-outof-ssa.c (new_temp_expr_table, free_temp_expr_table,
1329         analyze_edges_for_bb, perform_edge_inserts): Likewise.
1330         * tree-scalar-evolution.c (scev_initialize, scev_finalize): Likewise.
1331         * tree-sra.c (tree_sra): Likewise.
1332         * tree-ssa-alias.c (init_alias_info, delete_alias_info): Likewise.
1333         * tree-ssa-ccp.c (ccp_fold_builtin): Likewise.
1334         * tree-ssa-dce.c (tree_dce_init, tree_dce_done): Likewise.
1335         * tree-ssa-dom.c (tree_ssa_dominator_optimize): Likewise.
1336         * tree-ssa-dse.c (tree_ssa_dse): Likewise.
1337         * tree-ssa-forwprop.c (tree_ssa_forward_propagate_single_use_var):
1338         Likewise.
1339         * tree-ssa-live.c (new_tree_live_info, delete_tree_live_info,
1340         calculate_live_on_entry, calculate_live_on_exit,
1341         build_tree_conflict_graph): Likewise.
1342         * tree-ssa-loop-ivopts.c (tree_ssa_iv_optimize_init, record_use,
1343         record_important_candidates, set_use_iv_cost, find_depends,
1344         determine_use_iv_costs, iv_ca_new, iv_ca_free, free_loop_data,
1345         tree_ssa_iv_optimize_finalize): Likewise.
1346         * tree-ssa-loop-manip.c (add_exit_phis_var, get_loops_exit,
1347         find_uses_to_rename_use, rewrite_into_loop_closed_ssa,
1348         tree_duplicate_loop_to_header_edge): Likewise.
1349         * tree-ssa-pre.c (init_pre, fini_pre): Likewise.
1350         * tree-ssa.c (verify_flow_insensitive_alias_info,
1351         verify_name_tags, verify_ssa, init_tree_ssa,
1352         delete_tree_ssa): Likewise.
1353         * tree-ssanames.c (marked_ssa_names, init_ssanames,
1354         fini_ssanames): Likewise.
1355         * tree-vectorizer.c (slpeel_tree_peel_loop_to_edge): Likewise.
1356
1357 2005-02-17  Ralf Corsepius  <ralf.corsepius@rtems.org>
1358
1359         * config/rs6000/t-rtems: Completely reworked.
1360
1361 2005-02-17  Ira Rosen  <irar@il.ibm.com>
1362
1363         * tree-data-ref.c (array_base_name_differ_p): Remove gcc_assert.
1364
1365 2005-02-17  Ira Rosen  <irar@il.ibm.com>
1366
1367         * tree-vect-analyze.c (vect_analyze_pointer_ref_access): Use
1368         POINTER_TYPE_P when checking that type is a pointer.
1369         (vect_get_memtag): Remove.
1370         (vect_address_analysis): Use POINTER_TYPE_P. Call
1371         vect_object_analysis with dummy parameter for memtag.
1372         (vect_object_analysis): Extract memtag (functionality that
1373         used to be in vect_get_memtag and moved here). Fix printings.
1374         (vect_analyze_data_refs): Fix comment. Call vect_object_analysis
1375         with correct parameters. Remove call to vect_get_memtag.
1376
1377 2005-02-17  Dorit Naishlos  <dorit@il.ibm.com>
1378
1379         * Makefile.in (tree-vect-analyze.o, tree-vect-transform.o): New.
1380         (tree-vectorizer.o): Added missing dependencies.
1381
1382         * tree-vectorizer.h (vect_dump, vect_verbosity_level): Added extern
1383         decleration.
1384         (slpeel_tree_peel_loop_to_edge): Function externalized (had a static
1385         declaration in tree-vectorizer.c, now has an extern declaration in
1386         tree-vectorizer.h).
1387         (slpeel_make_loop_iterate_ntimes, slpeel_can_duplicate_loop_p,
1388         slpeel_verify_cfg_after_peeling, vect_strip_conversion,
1389         get_vectype_for_scalar_type, vect_is_simple_use,
1390         vect_is_simple_iv_evolution, vect_can_force_dr_alignment_p,
1391         vect_supportable_dr_alignment, new_loop_vec_info, destroy_loop_vec_info,
1392         new_stmt_vec_info, vect_analyze_loop, vectorizable_load,
1393         vectorizable_store, vectorizable_operation, vectorizable_assignment,
1394         vect_transform_loop, vect_print_dump_info, vect_set_verbosity_level,
1395         find_loop_location): Likewise.
1396
1397         * tree-vectorizer.c (langhooks.h): #include removed.
1398         (slpeel_tree_peel_loop_to_edge): Function externalized. Declaration
1399         moved to tree-vectorized.h.
1400         (slpeel_make_loop_iterate_ntimes, slpeel_can_duplicate_loop_p,
1401         slpeel_verify_cfg_after_peeling, vect_strip_conversion,
1402         get_vectype_for_scalar_type, vect_is_simple_use,
1403         vect_is_simple_iv_evolution, vect_can_force_dr_alignment_p,
1404         vect_supportable_dr_alignment, new_loop_vec_info,
1405         destroy_loop_vec_info, new_stmt_vec_info, vect_print_dump_info,
1406         vect_set_verbosity_level, find_loop_location): Likewise.
1407
1408         (vect_analyze_loop): Function externalized. Declaration moved to
1409         tree-vectorized.h. Function definition moved to tree-vect-analyze.c.
1410         (vect_analyze_loop_form): Moved to tree-vect-analyze.c.
1411         (vect_mark_stmts_to_be_vectorized, vect_analyze_scalar_cycles,
1412         vect_analyze_data_ref_accesses, vect_analyze_data_ref_dependences,
1413         vect_analyze_data_refs_alignment, vect_compute_data_refs_alignment,
1414         vect_enhance_data_refs_alignment, vect_analyze_operations,
1415         exist_non_indexing_operands_for_use_p, vect_mark_relevant,
1416         vect_stmt_relevant_p, vect_get_loop_niters,
1417         vect_analyze_data_ref_dependence, vect_compute_data_ref_alignment,
1418         vect_analyze_data_ref_access, vect_analyze_pointer_ref_access,
1419         vect_can_advance_ivs_p, vect_get_ptr_offset, vect_analyze_offset_expr,
1420         vect_base_addr_differ_p, vect_object_analysis, vect_address_analysis,
1421         vect_get_memtag): Likewise.
1422
1423         (vectorizable_load): Function externalized. Declaration moved to
1424         tree-vectorized.h. Function definition moved to tree-vect-transform.c.
1425         (vectorizable_store, vectorizable_operation, vectorizable_assignment,
1426         vect_transform_loop): Likewise.
1427         (vect_transform_stmt): Moved to tree-vect-transform.c.
1428         (vect_align_data_ref, vect_create_destination_var,
1429         vect_create_data_ref_ptr, vect_create_index_for_vector_ref,
1430         vect_create_addr_base_for_vector_ref, vect_get_new_vect_var,
1431         vect_get_vec_def_for_operand, vect_init_vector,
1432         vect_finish_stmt_generation, vect_generate_tmps_on_preheader,
1433         vect_build_loop_niters, vect_update_ivs_after_vectorizer,
1434         vect_gen_niters_for_prolog_loop, vect_update_inits_of_dr,
1435         vect_update_inits_of_drs, vect_do_peeling_for_alignment,
1436         vect_do_peeling_for_loop_bound): Likewise.
1437
1438         * tree-vect-analyze.c: New file.
1439         * tree-vect-transform.c: New file.
1440
1441 2005-02-17  Jason Merrill  <jason@redhat.com>
1442
1443         PR mudflap/19319, c++/19317
1444         * gimplify.c (gimplify_modify_expr_rhs) [CALL_EXPR]: Make return
1445         slot explicit.
1446
1447 2005-02-17  Gerald Pfeifer  <gerald@pfeifer.com>
1448
1449         * doc/install.texi (Specific): Update link for Darwin-specific
1450         tool binary site.
1451
1452 2005-02-16  James A. Morrison  <phython@gcc.gnu.org>
1453
1454         * fold-const.c (invert_truthvalue): <INTEGER_CST>: Call
1455         constant_boolean_node.
1456
1457 2005-02-16  David Edelsohn  <edelsohn@gnu.org>
1458
1459         PR target/19019
1460         * config/rs6000/t-aix43 (SHLIB_MAPFILES): Add libgcc-ppc64.ver.
1461         * config/rs6000/t-aix52 (SHLIB_MAPFILES): Same.
1462
1463 2005-02-16  Richard Henderson  <rth@redhat.com>
1464
1465         PR 19920
1466         * libgcc2.c (WORD_SIZE): Remove all definitions; replace uses
1467         with W_TYPE_SIZE.
1468         (HIGH_WORD_COEFF, HIGH_HALFWORD_COEFF): Remove all definitions;
1469         replace uses with Wtype_MAXp1_F.
1470         (L_fixunstfdi, L_fixtfdi, L_floatditf, L_fixunsxfdi, L_fixxfdi,
1471         L_floatdixf, L_fixunsxfsi, L_fixunsdfdi, L_floatdidf, L_fixunsdfsi,
1472         L_powidf2, L_powixf2, L_powitf2, L_muldc3, L_divdc3, L_mulxc3,
1473         L_divxc3, L_multc3, L_divtc3): Protect with HAVE_DFMODE, HAVE_XFMODE,
1474         and HAVE_TFMODE as appropriate.
1475         (__fixunssfDI): Provide an implementation that doesn't need DFmode.
1476         (__floatdisf): Likewise.
1477         * libgcc2.h (LIBGCC2_DOUBLE_TYPE_SIZE): New.
1478         (HAVE_DFMODE, HAVE_XFMODE, HAVE_TFMODE): New.
1479         (Wtype_MAXp1_F): New.
1480         (DFtype, DCtype, __fixdfdi, __floatdidf, __fixunsdfSI, __fixunsdfDI,
1481         __powidf2, __divdc3, __muldc3): Protect with HAVE_DFMODE.
1482
1483 2005-02-16  Richard Earnshaw  <rearnsha@arm.com>
1484
1485         * PR target/19162
1486         * arm.c (arm_apply_result_size): New function.
1487         * arm.h (APPLY_RESULT_SIZE): Define.
1488         * arm-protos.h (arm_apply_result_size): Add prototype.
1489         * arm.md (RO_REGNUM, FPA_F0_REGNUM, FPA_F7_REGNUM): New constants.
1490         (movxf): New expand.
1491         (ldmsi_postinc4_thumb, stmsi_postinc4_thumb): New patterns for Thumb.
1492         (call_value_symbol): Remove predicate for operand 0.
1493         (call_value_insn, sibcall_value, sibcall_value_insn): Likewise.
1494         (untyped_call): Rework to correclty return values for any type.
1495         (untyped_return): New expand.
1496         * fpa.md (movxf_fpa): Simplify and use sfm/lfm when appropriate.
1497
1498 2005-02-16  Stan Shebs  <shebs@apple.com>
1499
1500         * config.gcc (powerpc-*-darwin*): Use fragment for Darwin 8 or later.
1501         * config/rs6000/t-darwin8: New, for 64-bit multilib.
1502
1503 2005-02-16  Eric Botcazou  <ebotcazou@libertysurf.fr>
1504
1505         * doc/install.texi (sparc-sun-solaris2*): Document required GMP
1506         configure settings on Solaris 7 and later.
1507
1508 2005-02-16  Diego Novillo  <dnovillo@redhat.com>
1509
1510         PR tree-optimization/19865
1511         * tree-optimize.c (init_tree_optimization_passes): Run
1512         pass_may_alias after pass_sra.
1513
1514 2005-02-16  Richard Henderson  <rth@redhat.com>
1515             Stuart Hastings  <stuart@apple.com>
1516
1517         PR debug/19521
1518         * dbxout.c (dbxout_function_end): Take decl parameter; update callers.
1519         Do nothing if debug info suppressed for this function.
1520         (dbxout_begin_function): Early exit if debug info suppressed for
1521         this function.
1522
1523 2005-02-16  Kazu Hirata  <kazu@cs.umass.edu>
1524
1525         PR target/20007
1526         * config/ip2k/ip2k.c (ip2k_reorg): Adjust calls to
1527         find_basic_blocks.
1528         * config/sh/sh.c (sh_output_mi_thunk): Likewise.
1529
1530         PR tree-optimization/19967
1531         * builtins.c (expand_builtin_strstr, expand_builtin_strpbrk,
1532         expand_builtin_strchr, expand_builtin_strrchr): Take a new
1533         argument TYPE.  Adjust calls to fold_builtin_XXX.
1534         (expand_builtin, fold_builtin_1): Adjust calls to
1535         expand_builtin_XXX.
1536         (fold_builtin_strchr, fold_builtin_strpbrk,
1537         fold_builtin_strstr, fold_builtin_strrchr): Convert the folded
1538         result to a requested type TYPE.
1539
1540 2005-02-16  Jakub Jelinek  <jakub@redhat.com>
1541
1542         PR middle-end/19857
1543         * fold-const.c (fold): Don't optimize (T)(x & cst) to
1544         (T)x & (T)cst if (T)cst overflows.
1545         * convert.c (convert_to_integer) <case POINTER_TYPE>: Pass
1546         TYPE_UNSIGNED (type) as type_for_size's UNSIGNEDP argument.
1547
1548 2005-02-15  Jeff Law  <law@redhat.com>
1549
1550         * gcse.c (blocks_with_calls): New bitmap.
1551         (alloc_gcse_mem): Allocate it.
1552         (free_gcse_mem): Free it.
1553         (clear_modifY_mem_tables): Clear it.
1554         (record_last_mem_set_info): Set the proper bit in BLOCK_WITH_CALLS
1555         when we encounter CALL_INSNs.
1556         (compute_transp, case MEM): Handle blocks with calls separate
1557         from blocks without calls.  Use bitmap iterators rather than
1558         FOR_EACH_BB.
1559
1560 2005-02-15  Peter O'Gorman  <peter@pogma.com>
1561
1562         PR bootstrap/18810
1563         * mklibgcc.in (vis_hide): Use a temporary object file, not
1564         -o /dev/null.
1565
1566 2005-02-15  Andy Hutchinson  <HutchinsonAndy@netscape.net>
1567
1568         PR target/19924
1569         * config/avr/avr.h (MODES_TIEABLE_P): Define to 1 to allow subreg
1570         access optimization.
1571
1572 2005-02-15  David Edelsohn  <edelsohn@gnu.org>
1573             Alan Modra  <amodra@bigpond.net.au>
1574
1575         PR target/19019
1576         * config/rs6000/darwin-ldouble.c (_xlqadd): Rename to __gcc_qadd.
1577         (_xlqsub): Rename to __gcc_qsub.
1578         (_xlqmul): Rename to __gcc_qmul.
1579         (_xlqdiv): Rename to __gcc_qdiv.
1580         Provide versioned symbol aliases with old names.
1581         * config/rs6000/libgcc-ppc64.ver: Rename symbols.
1582         * config/rs6000/rs6000.c (rs6000_init_libfuncs): Rename symbols.
1583         * config/rs6000/t-aix43 (LIB2FUNCS_EXTRA): New.
1584         * config/rs6000/t-aix52 (LIB2FUNCS_EXTRA): New.
1585         * config/rs6000/t-newas (LIB2FUNCS_EXTRA): New.
1586
1587 2005-02-15  James A. Morrison  <phython@gcc.gnu.org>
1588
1589         * fold-const.c (fold): Fold -(~A) to A + 1.  Fold ~(-A) to A - 1.
1590         Fold ~(A - 1) and ~(A + -1) to -A.
1591
1592 2005-02-15  James A. Morrison  <phython@gcc.gnu.org>
1593
1594         PR pch/14940
1595         PR target/19300
1596         * config/host-linux.c (linux_gt_pch_use_address): Copy from
1597         config/pa/pa-host.c:pa_gt_pch_use_address.
1598
1599 2005-02-15  Daniel Berlin  <dberlin@dberlin.org>
1600
1601         * tree-vn.c (get_value_handle): Make sure that given an
1602         is_gimple_min_invariant expression, we always return it.
1603
1604 2005-02-15  Kazu Hirata  <kazu@cs.umass.edu>
1605
1606         * passes.c (rest_of_handle_gcse): Fix a comment.
1607
1608 2005-02-15  Jeff Law  <law@redhat.com>
1609
1610         * gcse.c (canon_modify_mem_set_list_set): Kill unnecessary
1611         bitmap.
1612         (alloc_gcse_mem, free_gcse_mem): Corresponding changes.
1613         (canon_list_insert, record_last_mem_set_info): Similarly.
1614         (clear_modify_mem_tables): Similarly.
1615
1616 2005-02-15  Kazu Hirata  <kazu@cs.umass.edu>
1617
1618         * bitmap.c, bitmap.h, lambda-code.c, tree-dfa.c, tree-dump.c,
1619         tree-dump.h, tree-ssa-loop-manip.c, value-prof.c,
1620         config/mips/mips.md, config/rs6000/aix.h,
1621         config/rs6000/beos.h, config/rs6000/sysv4.h: Update copyright.
1622
1623 2005-02-15  Richard Henderson  <rth@redhat.com>
1624
1625         * bb-reorder.c (find_traces_1_round): Force fallthru edge from a
1626         call to be best_edge.
1627
1628 2005-02-14  Kazu Hirata  <kazu@cs.umass.edu>
1629
1630         * basic-block.h: Adjust the prototype for find_basic_blocks.
1631         * cfgbuild.c (find_basic_blocks): Remove unused arguments.
1632         * passes.c (rest_of_handle_loop_optimize): Adjust the call to
1633         find_basic_blocks.
1634
1635         * flow.c (recompute_reg_usage): Remove all arguments.
1636         * passes.c (rest_of_compilation): Adjust the call to
1637         recompute_reg_usage.
1638         * rtl.h: Adjust the prototype for recompute_reg_usage.
1639
1640 2005-02-14  Daniel Berlin  <dberlin@dberlin.org>
1641
1642         * tree-dump.c (dump_files): Update to reflect new member
1643         of dump_file_info.
1644         (dump_register): Add new argument.
1645         Set glob name.
1646         (dump_switch_p_1): Check against glob name if doglob was passed.
1647         (dump_switch_p): Check against regular first, then glob if
1648         we didn't have any hits on the dump name.
1649         * tree-optimize.c (register_one_dump_file):
1650         Pass in glob name as well.
1651         * tree-pass.h (struct dump_file_info): Add glob
1652         member.
1653
1654 2005-02-14  Joseph S. Myers  <joseph@codesourcery.com>
1655
1656         PR preprocessor/16323
1657         * doc/invoke.texi: Document that -Wendif-labels is on by default.
1658
1659 2005-02-14  David Edelsohn  <edelsohn@gnu.org>
1660
1661         PR target/19019
1662         * config/rs6000/rs6000.md (trunctfdf2): Change to define_expand.
1663         (trunctfdf2_internal1): New.
1664         (trunctfdf2_internal2): Renamed from trunctfdf2.
1665
1666 2005-02-14  Diego Novillo  <dnovillo@redhat.com>
1667
1668         PR tree-optimization/19853
1669         * tree-dfa.c (add_referenced_var): Always examine DECL_INITIAL.
1670
1671 2005-02-14  Kazu Hirata  <kazu@cs.umass.edu>
1672
1673         * passes.c (rest_of_handle_loop_optimize): Remove calls to
1674         delete_dead_jumptables and cleanup_cfg.
1675
1676 2005-02-14  Ulrich Weigand  <uweigand@de.ibm.com>
1677
1678         * reload.c (find_reloads): Swap address_reloaded flags when
1679         swapping commutative operands.
1680
1681 2005-02-14  Sebastian Pop  <pop@cri.ensmp.fr>
1682
1683         * lambda-code.c (lambda_loopnest_to_gcc_loopnest, perfect_nestify):
1684         Use standard_iv_increment_position for computing the bsi position
1685         for create_iv.
1686         * tree-ssa-loop-manip.c (create_iv): Add a comment on how to compute
1687         the bsi position.
1688
1689 2005-02-13  Zdenek Dvorak  <dvorakz@suse.cz>
1690
1691         PR target/17428
1692         * cfgrtl.c (safe_insert_insn_on_edge): Avoid extending
1693         life range of hard registers.
1694         * value-prof.c (insn_prefetch_values_to_profile): Only
1695         scan normal insns.
1696
1697         * value-prof.c (rtl_find_values_to_profile): Do not look for values to
1698         profile in libcalls.
1699
1700 2005-02-13  Nathan Sidwell  <nathan@codesourcery.com>
1701
1702         * bitmap.h (bitmap_and_compl_into): Return bool.
1703         * bitmap.c (bitmap_and_compl_into): Return changed flag.
1704
1705 2005-02-13  James A. Morrison  <phython@gcc.gnu.org>
1706
1707         PR tree-optimization/19944
1708         * fold-const.c (fold): Re-add ABS_EXPR folding.
1709
1710 2005-02-13  David Edelsohn  <edelsohn@gnu.org>
1711
1712         PR target/19019
1713         * config/rs6000/aix.h ({TARGET,MASK}_XL_CALL): Rename to
1714         {TARGET,MASK}_XL_COMPAT.
1715         (SUBTARGET_SWITCHES): Rename xl-call to xl-compat.  Use
1716         MASK_XL_COMPAT.
1717         * config/rs6000/beos.h ({TARGET,MASK}_XL_CALL): Remove.
1718         * config/rs6000/rs6000.c (function_arg): Change TARGET_XL_CALL to
1719         TARGET_XL_COMPAT.
1720         (rs6000_arg_partial_bytes): Same.
1721         (rs6000_generate_compare): Generate PARALLEL for compare if TFmode
1722         and XL compatibility enabled.
1723         * config/rs6000/rs6000.h (TARGET_XL_CALL): Rename to TARGET_XL_COMPAT.
1724         * config/rs6000/rs6000.md (cmptf_internal1): Add !TARGET_XL_COMPAT
1725         test to final condition.
1726         (cmptf_internal2): New.
1727         * doc/invoke.texi (RS/6000 Subtarget Options): Change xl-call to
1728         xl-compat.  Add TFmode information to description.
1729
1730 2005-02-13  Kazu Hirata  <kazu@cs.umass.edu>
1731
1732         * flags.h, read-rtl.c, tree-ssa-live.h: Update copyright.
1733
1734 2005-02-13  Jason Merrill  <jason@redhat.com>
1735
1736         PR c++/16405
1737         * fold-const.c (fold_indirect_ref_1): Split out from...
1738         (build_fold_indirect_ref): Here.
1739         (fold_indirect_ref): New fn.
1740         * tree.h: Declare it.
1741         * gimplify.c (gimplify_compound_lval): Call fold_indirect_ref.
1742         (gimplify_modify_expr_rhs): Likewise.
1743         (gimplify_expr): Likewise.
1744
1745 2005-02-13  James A. Morrison  <phython@gcc.gnu.org>
1746
1747         PR tree-optimization/14303
1748         PR tree-optimization/15784
1749         * fold-const.c (fold): Fold ABS_EXPR<x> >= 0 to true, when possible.
1750         Fold ABS_EXPR<x> < 0 to false.  Fold ABS_EXPR<x> == 0 to x == 0 and
1751         ABS_EXPR<x> != 0 to x != 0.
1752
1753 2005-02-12  Kazu Hirata  <kazu@cs.umass.edu>
1754
1755         * c-tree.h, combine.c, expmed.c, flow.c, libgcc2.c,
1756         simplify-rtx.c, tree-ssa-live.h: Fix comment typos.  Follow
1757         spelling conventions.
1758
1759         * passes.c (rest_of_handle_gcse): Don't run cse_main and
1760         delete_trivially_dead_insns too many times.
1761
1762         * passes.c (rest_of_handle_gcse): Remove dead assignments to
1763         tem and tem2.
1764
1765 2005-02-12  Ira Rosen  <irar@il.ibm.com>
1766
1767         * tree-vectorizer.c (vect_get_base_and_offset): Remove.
1768         (vect_is_simple_iv_evolution): Remove redundant parameter
1769         and step check.
1770         (vect_analyze_scalar_cycles): Call vect_is_simple_iv_evolution
1771         without last parameter.
1772         (vect_analyze_pointer_ref_access): Get access_fn as parameter.
1773         Return pointer step. Call vect_is_simple_iv_evolution without
1774         last parameter. Check only that the step is multiple of size
1775         type. Remove stmt_vinfo updates.
1776         (vect_get_memtag_and_dr): Remove.
1777         (vect_get_memtag): New function.
1778         (vect_address_analysis): New function.
1779         (vect_object_analysis): New function.
1780         (vect_analyze_data_refs): Call vect_object_analysis and
1781         vect_get_memtag. Update stmt_vinfo fields.
1782
1783 2005-02-12  Ira Rosen  <irar@il.ibm.com>
1784
1785         * tree-data-ref.c (array_base_name_differ_p): Check that the bases
1786         exist and are objects. Remove checks for pointer.
1787         * tree-vectorizer.c (vect_create_addr_base_for_vector_ref): Use
1788         STMT_VINFO_VECT_DR_BASE_ADDRESS instead of DR_BASE_NAME.
1789         (vect_create_data_ref_ptr): Likewise.
1790         (vect_base_addr_differ_p): New function.
1791         (vect_analyze_data_ref_dependence): Call vect_base_addr_differ_p.
1792         (vect_analyze_pointer_ref_access): Add output parameter - ptr_init.
1793         Don't set the DR_BASE_NAME field of data-ref.
1794         (vect_get_memtag_and_dr): Use ptr_init instead of DR_BASE_NAME.
1795
1796 2005-02-12  Uros Bizjak  <uros@kss-loka.si>
1797
1798         * optabs.h (enum optab_index): Add new OTI_ldexp.
1799         (ldexp_optab): Define corresponding macro.
1800         * optabs.c (init_optabs): Initialize ldexp_optab.
1801         * genopinit.c (optabs): Implement ldexp_optab using ldexp?f3
1802         patterns.
1803         * builtins.c (expand_builtin_mathfn_2): Handle BUILT_IN_LDEXP{,F,L}
1804         using ldexp_optab.
1805         (expand_builtin): Expand BUILT_IN_LDEXP{,F,L} using
1806         expand_builtin_mathfn_2 if flag_unsafe_math_optimizations is set.
1807
1808         * config/i386/i386.md (ldexpsf3, ldexpdf3, ldexpxf3): New expanders
1809         to implement ldexpf, ldexp and ldexpl built-ins as inline x87
1810         intrinsics.
1811
1812 2005-02-12  Ira Rosen  <irar@il.ibm.com>
1813
1814         * tree-vectorizer.h (struct _stmt_vec_info): Rename a field: base
1815         to base_address.
1816         * tree-vectorizer.c (new_stmt_vec_info): Rename the above field of
1817         stmt_vec_info.
1818         (vect_get_base_and_offset): Always return an address.
1819         (vect_create_addr_base_for_vector_ref): Remove treatment for
1820         different data reference types.
1821         (vect_compute_data_ref_alignment): Rename base to base_address in
1822         stmt_vec_info. Get the object in order to force its alignment.
1823         (vect_get_memtag_and_dr): Rename base to base_address in
1824         stmt_vec_info. Extract the object for memtag analysis.
1825
1826 2005-02-12  Hans-Peter Nilsson  <hp@axis.com>
1827
1828         PR regression/19898.
1829         * config/cris/cris.c (cris_notice_update_cc): When testing if insn
1830         changes cc_status, use apply modified_in_p to part of cc_status
1831         and insn, not cris_reg_overlap_mentioned_p on SET_DEST of insn
1832         body.
1833
1834 2005-02-11  Richard Henderson  <rth@redhat.com>
1835
1836         * tree-complex.c (expand_complex_libcall): New.
1837         (expand_complex_multiplication): Use it for c99 compliance.
1838         (expand_complex_division): Likewise.
1839         * fold-const.c (fold_complex_add, fold_complex_mult): New.
1840         (fold): Call them.
1841         * builtins.c (built_in_names): Remove const.
1842         * tree.c (build_common_builtin_nodes): Build complex arithmetic
1843         builtins.
1844         * tree.h (BUILT_IN_COMPLEX_MUL_MIN, BUILT_IN_COMPLEX_MUL_MAX): New.
1845         (BUILT_IN_COMPLEX_DIV_MIN, BUILT_IN_COMPLEX_DIV_MAX): New.
1846         (built_in_names): Remove const.
1847         * c-common.c (c_common_type_for_mode): Handle complex modes.
1848         * flags.h, toplev.c (flag_complex_method): Rename from
1849         flag_complex_divide_method.
1850         * libgcc2.c (__divsc3, __divdc3, __divxc3, __divtc3,
1851         __mulsc3, __muldc3, __mulxc3, __multc3): New.
1852         * libgcc2.h: Declare them.
1853         * libgcc-std.ver: Export them.
1854         * mklibgcc.in (lib2funcs): Build them.
1855
1856 2005-02-11  Steven Bosscher  <stevenb@suse.de>
1857
1858         PR tree-optimization/19876
1859         Partially revert my change from 2005-01-14
1860         * tree-ssa-pre.c (compute_antic_aux): Make recursive once again...
1861         (compute_antic): ...and remove the loop here.
1862
1863 2005-02-11  Jakub Jelinek  <jakub@redhat.com>
1864
1865         PR middle-end/19858
1866         * fold-const.c (make_bit_field_ref): If bitpos == 0 and bitsize
1867         is number of inner's bits, avoid creating a BIT_FIELD_REF.
1868
1869         * config/rs6000/sysv4.h (ENDFILE_LINUX_SPEC): Use crtendS.o instead of
1870         crtend.o if -pie.  Use %{x:a;:b} spec syntax.
1871
1872 2005-02-11  Daniel Jacobowitz  <dan@codesourcery.com>
1873
1874         * config/mips/linux-unwind.h (mips_fallback_frame_state): Adjust
1875         offsets for the big-endian 32-bit case.
1876
1877 2005-02-11  Joseph S. Myers  <joseph@codesourcery.com>
1878
1879         * config/ia64/hpux.h (WCHAR_TYPE, WCHAR_TYPE_SIZE): Define.
1880
1881 2005-02-11  Dale Johannesen  <dalej@apple.com>
1882
1883         * cselib.c (cselib_process_insn):  Clear out regs where
1884         HARD_REGNO_CALL_PART_CLOBBERED is true at a call.
1885         * reload.c (find_equiv_reg): Ditto.
1886
1887 2005-02-11  Ian Lance Taylor  <ian@airs.com>
1888
1889         * read-rtl.c (read_rtx_1): Give fatal error if we see a vector
1890         with no elements.
1891
1892         * tree.c (build_function_type_list): Work correctly if there are
1893         no arguments.
1894
1895 2005-02-11  Ulrich Weigand  <uweigand@de.ibm.com>
1896
1897         * config/s390/s390.md ("*cmpdi_cct", "*cmpsi_cct", "*cmpdi_ccs",
1898         "*cmpsi_ccs"): Use %h instead of %c to print immediate operand.
1899         ("*zero_extendhisi2_64", "*zero_extendhisi2_31"): Choose based on
1900         TARGET_ZARCH instead of TARGET_64BIT.
1901
1902 2005-02-11  Ralf Corsepius  <ralf.corsepius@rtems.org>
1903
1904         * config/rs6000/t-rtems:
1905         (MULTILIB_OPTIONS): Remove mcpu=602.
1906         (MUTLILIB_DIRNAMES): Remove m602.
1907         (MULTILIB_MATCHES): Add ${MULTILIB_MATCHES_FLOAT}.
1908         Let mcpu=602 match mcpu=603.
1909         (MULTILIB_NEW_EXCEPTIONS_ONLY): Add mcpu=601, mcpu=602, mcpu=m603.
1910
1911 2005-02-10  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
1912
1913         * pa/linux-unwind.h (pa32_fallback_frame_state): Handle misaligned
1914         signal trampolines.
1915
1916 2005-02-10  David Daney  <ddaney@avtrex.com>
1917
1918         * config/alpha/linux-unwind.h: Add exception clause to copyright.
1919         * config/i386/linux-unwind.h: Likewise.
1920         * config/ia64/linux-unwind.h: Likewise.
1921         * config/mips/linux-unwind.h: Likewise.
1922         * config/pa/linux-unwind.h: Likewise.
1923         * config/rs6000/linux-unwind.h: Likewise.
1924         * config/s390/linux-unwind.h: Likewise.
1925         * config/sh/linux-unwind.h: Likewise.
1926         * config/sparc/linux-unwind.h: Likewise.
1927
1928 2005-02-10  Steven Bosscher  <stevenb@suse.de>
1929
1930         PR tree-optimization/17549
1931         * tree-outof-ssa.c (find_replaceable_in_bb): Do not allow
1932         TER to replace a DEF with its expression if the DEF and the
1933         rhs of the expression we replace into have the same root
1934         variable.
1935
1936 2005-02-10  Richard Sandiford  <rsandifo@redhat.com>
1937
1938         * config/mips/mips.md: Fix the placement of the match_scratch in the
1939         lea64 peephole2.
1940
1941 2005-02-10  Kazu Hirata  <kazu@cs.umass.edu>
1942
1943         * cse.c, tree-ssa-loop-ivopts.c, config/rs6000/linux-unwind.h:
1944         Fix comment typos.
1945
1946 2005-02-10  Zdenek Dvorak  <dvorakz@suse.cz>
1947
1948         * tree-ssa-loop-ivopts.c (determine_base_object): Ignore casts.
1949         (strip_offset): Handle addresses.
1950         (add_address_candidates): Use strip_offset.
1951         (difference_cost): Reflect strip_offset change.
1952         (force_var_cost, difference_cost): Strip nops.
1953
1954 2005-02-10  Kazu Hirata  <kazu@cs.umass.edu>
1955
1956         * df.h (DF_REF_MODE_CHANGE, DF_REF_MEM_OK): Remove.
1957
1958         * builtins.def, haifa-sched.c, libgcc2.c, libgcc2.h,
1959         tree-ssa-loop-ivcanon.c, tree-ssa-loop-niter.c,
1960         config/cris/cris-protos.h, config/cris/cris.c: Update
1961         copyright.
1962
1963 2005-02-10  Jeff Law  <law@redhat.com>
1964
1965         * tree-ssa-dom.c (thread_across_edge): Use xmalloc, not xcalloc.
1966         (lookup_avail_expr): Similarly.
1967
1968 2005-02-10  Richard Guenther  <rguenth@gcc.gnu.org>
1969
1970         * builtins.c (fold_builtin_powi): New function.
1971         (fold_builtin_1): Call it.
1972
1973 2005-02-10  Steven Bosscher  <stevenb@suse.de>
1974
1975         PR documentation/19309
1976         * doc/cpp.texi: The __GNUC__ and related predefined macros
1977         are also defined for the "standalone" cpp.
1978         Some non-GCC compilers may also define __GNUC__.
1979
1980 2005-02-10  Jakub Jelinek  <jakub@redhat.com>
1981
1982         PR c/19342
1983         * c-typeck.c (common_type): New routine.  Old common_type renamed
1984         to...
1985         (c_common_type): ...this.
1986         (build_conditional_expr, build_binary_op): Use c_common_type instead
1987         of common_type.
1988
1989 2005-02-10  Steven Bosscher  <stevenb@suse.de>
1990
1991         * doc/md.texi: Replace @samp{length} with @code{length}.
1992
1993 2005-02-09  Zdenek Dvorak  <dvorakz@suse.cz>
1994
1995         PR tree-optimization/18687
1996         * tree-flow.h (find_loop_niter): Declare.
1997         * tree-ssa-loop-ivcanon.c (canonicalize_loop_induction_variables):
1998         Try using scev even for loops with more than one exit.
1999         * tree-ssa-loop-ivopts.c (struct loop_data): Removed niter field.
2000         (struct ivopts_data): Added niters field.
2001         (struct nfe_cache_elt): New.
2002         (nfe_hash, nfe_eq, niter_for_exit, niter_for_single_dom_exit): New
2003         functions.
2004         (tree_ssa_iv_optimize_init): Initialize niters cache.
2005         (determine_number_of_iterations): Removed.
2006         (find_induction_variables): Do not call determine_number_of_iterations.
2007         Access niters for single exit through niter_for_single_dom_exit.
2008         (add_iv_outer_candidates): Access niters for single exit through
2009         niter_for_single_dom_exit.
2010         (may_eliminate_iv): Take data argument.  Use niter_for_exit.  Do not use
2011         number_of_iterations_cond.
2012         (iv_period): New function.
2013         (determine_use_iv_cost_condition): Pass data to may_eliminate_iv.
2014         (may_replace_final_value): Take data argument.  Use
2015         niter_for_single_dom_exit.
2016         (determine_use_iv_cost_outer): Pass data to may_replace_final_value.
2017         (rewrite_use_compare): Pass data to may_eliminate_iv.
2018         (rewrite_use_outer): Pass data to may_replace_final_value.
2019         (free_loop_data): Clean up the niters cache.
2020         (tree_ssa_iv_optimize_finalize): Free the niters cache.
2021         (tree_ssa_iv_optimize_loop): Do not call loop_commit_inserts.
2022         * tree-ssa-loop-niter.c (find_loop_niter): New function.
2023         (find_loop_niter_by_eval): Use tree_int_cst_lt.
2024         (num_ending_zeros): Moved to tree.c.
2025         * tree.h (num_ending_zeros): Declare.
2026         * tree.c (num_ending_zeros): Moved from tree.c.
2027
2028 2005-02-09  Richard Henderson  <rth@redhat.com>
2029
2030         * builtins.c (DEF_BUILTIN): Add COND argument.
2031         * tree.h (DEF_BUILTIN): Likewise.
2032         * builtins.def (DEF_GCC_BUILTIN, DEF_LIB_BUILTIN, DEF_EXT_LIB_BUILTIN,
2033         DEF_C94_BUILTIN, DEF_C99_BUILTIN, DEF_C99_C90RES_BUILTIN): Update to
2034         match.
2035         (DEF_BUILTIN_STUB): New.
2036         (BUILT_IN_STACK_SAVE, BUILT_IN_STACK_RESTORE, BUILT_IN_INIT_TRAMPOLINE,
2037         BUILT_IN_ADJUST_TRAMPOLINE, BUILT_IN_NONLOCAL_GOTO,
2038         BUILT_IN_PROFILE_FUNC_ENTER, BUILT_IN_PROFILE_FUNC_EXIT): Use it.
2039         * c-common.c (DEF_BUILTIN): Add COND argument.
2040         * tree.c (local_define_builtin): New.
2041         (build_common_builtin_nodes): New.
2042
2043 2005-02-09  Roger Sayle  <roger@eyesopen.com>
2044
2045         * fold-const.c (fold_strip_sign_ops): New function to simplify a
2046         floating point expression ignoring the sign of the result.
2047         (fold) <ABS_EXPR>: Use it to simplify fabs(x).
2048         (fold) <MULT_EXPR>: Use it to simplify x*x.
2049         * tree.h (fold_strip_sign_ops): Prototype here.
2050         * builtins.c (fold_builtin_copysign): Take an additional FNDECL
2051         argument.  Use fold_strip_sign_ops to simplify the first argument.
2052         (fold_builtin_pow):  Use fold_strip_sign_ops to simplify the
2053         first argument when the second argument is an even integer
2054         constant, but only with -funsafe_math_optimizations.
2055         (fold_builtin_1): Update call to fold_builtin_copysign.
2056
2057 2005-02-09  Ian Lance Taylor  <ian@airs.com>
2058
2059         PR middle-end/19583
2060         * gimple-low.c (try_catch_may_fallthru): In EH_FILTER_EXPR case,
2061         just check whether EH_FILTER_FAILURE falls through.
2062
2063 2005-02-09  Andreas Krebbel  <krebbel1@de.ibm.com>
2064
2065         * gcc/haifa-sched.c (schedule_block): Make queued sched group
2066         insns return to ready list in the next turn.
2067
2068 2005-02-09  Richard Guenther  <rguenth@gcc.gnu.org>
2069
2070         PR middle-end/19402
2071         * builtins.def: New __builtin_powi[lf].
2072         * builtins.c (mathfn_built_in): Handle BUILT_IN_POWI.
2073         (expand_builtin_powi): New function.
2074         (expand_builtin): Dispatch to expand_builtin_powi.
2075         * libgcc2.h: Add prototypes for __builtin_powi[lf].
2076         * libgcc2.c: Add __builtin_powi[lf] implementation.
2077         * mklibgcc.in: Add __builtin_powi[lf] to lib2funcs.
2078         * optabs.h: Add powi_optab.
2079         * optabs.c (init_optabs): Initialize powi_optab.
2080         * doc/extend.texi: Document __builtin_powi[lf].
2081
2082 2005-02-09  Dorit Naishlos  <dorit@il.ibm.com>
2083
2084         * tree-vectorizer.c (vect_set_dump_settings): Check that dump_file
2085         exists.
2086
2087 2005-02-09  Richard Guenther  <rguenth@gcc.gnu.org>
2088
2089         PR middle-end/19854
2090         * fold-const.c (try_move_mult_to_index): Remove redundant
2091         type argument.  Create ADDR_EXPR with correct type.
2092         (fold): Update callers of try_move_mult_to_index.  Convert
2093         result to the appropriate type.
2094
2095 2005-02-09  Roger Sayle  <roger@eyesopen.com>
2096
2097         PR target/19597
2098         * config/avr/avr.c (default_rtx_costs): Delete.
2099         (avr_operand_rtx_cost): New function.
2100         (avr_rtx_costs): Completely rewrite.
2101
2102 2005-02-08  Hans-Peter Nilsson  <hp@axis.com>
2103
2104         PR target/19806
2105         * config/cris/cris.c (in_code): New variable.
2106         (cris_output_addr_const): Now a static function, a wrapper for
2107         output_addr_const.
2108         (cris_asm_output_symbol_ref): New function, broken out SYMBOL_REF
2109         case from old cris_output_addr_const.
2110         (cris_asm_output_label_ref): Similar for LABEL_REF.
2111         (cris_output_addr_const_extra): Similar for UNSPEC.
2112         * config/cris/cris.h (OUTPUT_ADDR_CONST_EXTRA)
2113         (ASM_OUTPUT_SYMBOL_REF, ASM_OUTPUT_LABEL_REF): Define.
2114         * config/cris/cris-protos.h (cris_output_addr_const): Remove
2115         declaration.
2116         (cris_asm_output_symbol_ref, cris_output_addr_const_extra)
2117         (cris_asm_output_label_ref): Declare.
2118
2119 2005-02-08  Paolo Bonzini  <bonzini@gnu.org>
2120
2121         PR preprocessor/19801
2122         * doc/cppinternals.texi (Conventions, Lexer, Files): Adjust
2123         filenames that changed when libcpp was moved to the toplevel.
2124
2125 2005-02-07  Roger Sayle  <roger@eyesopen.com>
2126
2127         * simplify-rtx.c (simplify_relational_operation_1): Avoid creating
2128         zero extensions of BImode operands.  Call lowpart_subreg instead
2129         of gen_lowpart_common and gen_lowpart_SUBREG.
2130
2131 2005-02-07  Nathanael Nerode  <neroden@gcc.gnu.org>
2132
2133         PR ada/19489
2134         * libada-mk.in: Use cc_for_cross_gnattools, not cc_set_by_configure.
2135         * configure.ac: Set cc_for_cross_gnattools.
2136         * configure: Regenerate.
2137
2138 2005-02-08  Alan Modra  <amodra@bigpond.net.au>
2139
2140         PR target/19803
2141         * predict.c (PROB_VERY_UNLIKELY): Use 1% instead of 10%.
2142
2143 2005-02-07  Eric Botcazou  <ebotcazou@libertysurf.fr>
2144
2145         PR debug/19327
2146         * dbxout.c (dbxout_symbol) <FUNCTION_DECL>: Skip inline instance
2147         of nested functions.
2148
2149 2005-02-07  Jonathan Wakely  <redi@gcc.gnu.org>
2150
2151         * doc/extend.texi: Document deprecated extensions allowing
2152         static floating-point members to have initializers and allowing
2153         floating-point literals in integral constant expressions.
2154
2155 2005-02-07  Kazu Hirata  <kazu@cs.umass.edu>
2156
2157         * cfgcleanup.c, df.h, diagnostic.c, rtl.c, tree-vectorizer.h,
2158         config/darwin7.h, config/mips/mips.c,
2159         config/rs6000/altivec.md, config/rs6000/darwin-tramp.asm:
2160         Update copyright.
2161
2162         * cse.c: Update comments.
2163
2164 2005-02-07  Richard Guenther  <rguenth@gcc.gnu.org>
2165
2166         PR middle-end/19775
2167         * builtins.c (fold_builtin_sqrt): Transform
2168         sqrt(pow(x,y)) to pow(fabs(x),y*0.5), not
2169         pow(x,y*0.5).
2170
2171 2005-02-07  Leehod Baruch  <leehod@il.ibm.com>
2172             Dorit Naishlos  <dorit@il.ibm.com>
2173
2174         * doc/invoke.texi (ftree-vectorizer-verbose): New.
2175         * opts.c (OPT_ftree_vectorizer_verbose_): New case for switch.
2176         * common.opt (ftree-vectorizer-verbose): New Flag for the vectorizer
2177         was added.
2178         * tree.h (vect_set_verbosity_level): New extern function declaration
2179         added.
2180         * tree-vectorizer.h (verbosity_levels): New enum type.
2181         * tree-vectorizer.c (vect_debug_stats): Function removed.
2182         (vect_debug_details): Likewise.
2183         (vect_verbosity_level): Global variable was defined and initialized.
2184         (vect_dump): Global variable definition.
2185         (vect_print_dump_info): New function.
2186         (vect_set_dump_settings): New function.
2187         (vect_set_verbosity_level): New function.
2188         (vectorize_loops): Add call to vect_set_dump_settings.
2189
2190         (slpeel_make_loop_iterate_ntimes): Dump condition was changed.
2191         (slpeel_tree_duplicate_loop_to_edge_cfg): Likewise.
2192         (slpeel_tree_peel_loop_to_edge): Likewise.
2193
2194         (vect_analyze_offset_expr): Call to vect_print_dump_info with
2195         appropriate verbosity level instead of call to vect_debug_details
2196         or vect_debug_stats.
2197         (vect_get_base_and_offset):
2198         (vect_create_addr_base_for_vector_ref):
2199         (get_vectype_for_scalar_type):
2200         (vect_create_data_ref_ptr):
2201         (vect_init_vector):
2202         (vect_get_vec_def_for_operand):
2203         (vect_finish_stmt_generation):
2204         (vectorizable_assignment):
2205         (vectorizable_operation):
2206         (vectorizable_store):
2207         (vectorizable_load):
2208         (vect_transform_stmt):
2209         (vect_update_ivs_after_vectorizer):
2210         (vect_do_peeling_for_loop_bound):
2211         (vect_update_inits_of_drs):
2212         (vect_do_peeling_for_alignment):
2213         (vect_transform_loop):
2214         (vect_is_simple_use):
2215         (vect_analyze_operations):
2216         (vect_is_simple_iv_evolution):
2217         (vect_analyze_scalar_cycles):
2218         (vect_analyze_data_ref_dependence):
2219         (vect_analyze_data_ref_dependences):
2220         (vect_compute_data_ref_alignment):
2221         (vect_enhance_data_refs_alignment):
2222         (vect_analyze_data_refs_alignment):
2223         (vect_analyze_data_ref_access):
2224         (vect_analyze_data_ref_accesses):
2225         (vect_analyze_pointer_ref_access):
2226         (vect_get_memtag_and_dr):
2227         (vect_analyze_data_refs):
2228         (vect_mark_relevant):
2229         (vect_stmt_relevant_p):
2230         (vect_mark_stmts_to_be_vectorized):
2231         (vect_can_advance_ivs_p):
2232         (vect_get_loop_niters):
2233         (vect_analyze_loop_form):
2234         (vect_analyze_loop):
2235         (vectorize_loops): Likewise.
2236
2237         (vect_do_peeling_for_loop_bound): Dump format slightly changed.
2238         (vect_update_inits_of_drs):
2239         (vect_do_peeling_for_alignment):
2240         (vect_transform_loop):
2241         (vect_analyze_operations):
2242         (vect_analyze_scalar_cycles):
2243         (vect_analyze_data_ref_dependences):
2244         (vect_analyze_data_refs_alignment):
2245         (vect_analyze_data_ref_accesses):
2246         (vect_analyze_data_refs):
2247         (vect_mark_stmts_to_be_vectorized):
2248         (vect_get_loop_niters):
2249         (vect_analyze_loop_form):
2250         (vect_analyze_loop): Likewise.
2251         (vect_mark_stmts_to_be_vectorized): Add call to print_generic_expr.
2252
2253 2005-02-07  Richard Sandiford  <rsandifo@redhat.com>
2254
2255         PR bootstrap/19796
2256         Revert:
2257         2005-01-26  Richard Sandiford  <rsandifo@redhat.com>
2258         * config/mips/iris6.h (ENDFILE_SPEC): Don't link in irix-csr.o if
2259         either -ffast-math or -funsafe-math-optimizations is in use.
2260
2261         2005-01-24  Richard Sandiford  <rsandifo@redhat.com>
2262         * config/mips/irix-csr.c: New file.
2263         * config/mips/t-iris6 (irix-csr.o): New rule to build it.
2264         (EXTRA_MULTILIB_PARTS): Add irix-csr.o.
2265         * config/mips/iris6.h (ENDFILE_SPEC): Include it in n32 and n64
2266         executables.
2267
2268 2005-02-07  Alexandre Oliva  <aoliva@redhat.com>
2269
2270         * config/mn10300/linux.h (LIB_SPEC, STARTFILE_SPEC): Remove
2271         redundant, incorrect definitions.
2272
2273         * config/frv/frv.md ("tls_indirect_call"): Turn into libcall-like
2274         expand.
2275         ("*tls_indirect_call"): New, reference hard regs directly.
2276         * config/frv/frv.c (gen_inlined_tls_plt): Adjust.
2277
2278 2005-02-07  Ralf Corsepius  <ralf.corsepius@rtems.org>
2279
2280         * config/arm/rtems-elf.h (SUBTARGET_EXTRA_ASM_SPEC):
2281         Let !-mhard-float !-msoft-float imply -mfpu=softfpa.
2282
2283 2005-02-06  Roger Sayle  <roger@eyesopen.com>
2284
2285         PR rtl-optimization/19800
2286         * simplify_rtx.c (simplify_relational_operation_1): Explicitly
2287         call gen_lowpart_common and gen_lowpart_SUBREG instead of calling
2288         gen_lowpart.
2289
2290 2005-02-07  Ralf Corsepius  <ralf.corsepius@rtems.org>
2291
2292         * config/m68k/t-rtems (MULTILIB_MATCHES): Let m528x match m5200.
2293
2294 2005-02-07  Joseph S. Myers  <joseph@codesourcery.com>
2295
2296         PR other/17135
2297         * doc/invoke.texi: Correct documentation of -freorder-functions.
2298
2299 2005-02-06  Joseph S. Myers  <joseph@codesourcery.com>
2300
2301         PR other/14402
2302         * doc/invoke.texi: Don't mention gccbug.
2303
2304 2005-02-06  Roger Sayle  <roger@eyesopen.com>
2305             Andrew Pinski  <pinskia@physics.uc.edu>
2306             Paolo Bonzini  <paolo.bonzini@lu.unisi.ch>
2307
2308         * simplify-rtx.c (simplify_relational_operation_1): Simplify
2309         (ne:SI (zero_extract:SI FOO (const_int 1) BAR) (const_int 0))
2310         into just (zero_extract:SI FOO (const_int 1) BAR).
2311
2312 2005-02-06  Joseph S. Myers  <joseph@codesourcery.com>
2313
2314         * doc/cpp.texi: Include gcc-common.texi.  Don't define gcctabopt
2315         macro locally.  Don't give last revision date.  Use GCC version
2316         number from gcc-common.texi.
2317         * doc/cppinternals.texi: Include gcc-common.texi.  Don't give last
2318         revision date.  Use GCC version number from gcc-common.texi.
2319         Describe being a library as current state rather than as 3.x
2320         history.
2321         * doc/gcc.texi: Remove last update date.
2322         * doc/gccint.texi: Likewise.  Update copyright dates.
2323         * doc/install.texi: Update copyright dates.
2324
2325 2005-02-06  Joseph S. Myers  <joseph@codesourcery.com>
2326
2327         PR other/7549
2328         * doc/invoke.texi: Mention for each option included in -Wall that
2329         it is included in -Wall.
2330         * doc/gcc.texi: Update copyright and last modification date.
2331
2332 2005-02-06  Zdenek Dvorak  <dvorakz@suse.cz>
2333
2334         * tree-ssa-loop-ivopts.c (rewrite_use_nonlinear_expr): Do not add
2335         unnecessary cast to original induction variable increments.
2336
2337 2005-02-06  Zdenek Dvorak  <dvorakz@suse.cz>
2338
2339         PR tree-optimization/18219
2340         * tree-ssa-loop-ivopts.c (get_computation_at): Produce computations
2341         in distributed form.
2342
2343 2005-02-06  Richard Sandiford  <rsandifo@redhat.com>
2344
2345         * expmed.c (store_bit_field): Make the SUBREG code adjust bitnum.
2346         Set bitpos and offset later in the function.  Do nothing if the
2347         target is a register and if the bitfield lies completely outside
2348         that register.
2349         (extract_bit_field): Make the same SUBREG, bitpos and offset changes
2350         here.  Return an uninitialised register if the source value is stored
2351         in a register and the bitfield lies completely outside that register.
2352
2353 2005-02-06  Steven Bosscher  <stevenb@suse.de>
2354
2355         * df.c (df_insn_refs_record): Use XEXP to get the operand of a USE,
2356         not SET_DEST.
2357
2358 2005-02-06  Marcin Dalecki  <martin@dalecki.de>
2359
2360         * diagnostic.c (default_diagnostic_finalizer): Fix use of attribute.
2361
2362 2005-02-06  Geoffrey Keating  <geoffk@apple.com>
2363
2364         * config.gcc (*-*-darwin*): Separate darwin7 and darwin8 configs.
2365         * config/darwin8.h: New.
2366         * config/darwin7.h: Update comment.
2367
2368 2005-02-03  Leehod Baruch  <leehod@il.ibm.com>
2369             Dorit Naishlos  <dorit@il.ibm.com>
2370
2371         * tree-vectorizer.h (LOC): New type.
2372         (UNKNOWN_LOC, EXPR_LOC, LOC_FILE, LOC_LINE): New macros.
2373         (loop_line_number): New field in struct _loop_vec_info.
2374         (LOOP_VINFO_LOC, LOOP_LOC): New macros.
2375
2376         * tree-vectorizer.c (input.h): Included.
2377         (find_loop_location): New function.
2378         (vect_debug_stats): Argument changed from loop to LOC. Computation of
2379         loop line number removed.
2380         (vect_debug_details): Likewise.
2381         (new_loop_vec_info): Initialize new field LOOP_VINFO_LOC.
2382
2383         (slpeel_make_loop_iterate_ntimes): Call find_loop_location. Argument in
2384         call to vect_debug_details/stats changed from loop to loop_loc.
2385         (slpeel_tree_duplicate_loop_to_edge_cfg): Likewise.
2386         (slpeel_tree_peel_loop_to_edge): Likewise.
2387
2388         (vect_analyze_offset_expr): Argument in call to vect_debug_details/stats
2389         changed from NULL to UNKNOWN_LOC.
2390         (vect_get_base_and_offset):
2391         (vect_create_addr_base_for_vector_ref):
2392         (get_vectype_for_scalar_type):
2393         (vect_create_data_ref_ptr):
2394         (vect_init_vector):
2395         (vect_get_vec_def_for_operand):
2396         (vect_finish_stmt_generation):
2397         (vectorizable_assignment):
2398         (vectorizable_operation):
2399         (vectorizable_store):
2400         (vectorizable_load):
2401         (vect_transform_stmt):
2402         (vect_update_ivs_after_vectorizer):
2403         (vect_do_peeling_for_loop_bound):
2404         (vect_do_peeling_for_alignment):
2405         (vect_transform_loop):
2406         (vect_is_simple_use):
2407         (vect_analyze_operations):
2408         (vect_is_simple_iv_evolution):
2409         (vect_analyze_scalar_cycles):
2410         (vect_analyze_data_ref_dependences):
2411         (vect_compute_data_ref_alignment):
2412         (vect_enhance_data_refs_alignment):
2413         (vect_analyze_data_ref_access):
2414         (vect_analyze_data_ref_accesses):
2415         (vect_analyze_pointer_ref_access):
2416         (vect_get_memtag_and_dr):
2417         (vect_analyze_data_refs):
2418         (vect_mark_relevant):
2419         (vect_stmt_relevant_p):
2420         (vect_mark_stmts_to_be_vectorized):
2421         (vect_can_advance_ivs_p):
2422         (vect_get_loop_niters):
2423         (vect_analyze_loop):
2424         (vectorize_loops): Likewise.
2425
2426         (vectorizable_load): Argument in call to vect_debug_details/stats
2427         changed from loop to LOOP_LOC (loop_vinfo).
2428         (vect_transform_loop):
2429         (vect_analyze_operations):
2430         (vect_analyze_scalar_cycles):
2431         (vect_analyze_data_ref_dependence):
2432         (vect_enhance_data_refs_alignment):
2433         (vect_analyze_data_ref_accesses):
2434         (vect_analyze_pointer_ref_access):
2435         (vect_analyze_data_refs):
2436         (vect_analyze_loop): Likewise.
2437
2438         (vect_analyze_loop_form): Argument in call to vect_debug_details/stats
2439         changed from loop to loop_loc.
2440
2441         (vect_enhance_data_refs_alignment): Removed unused variable loop.
2442
2443 2005-02-03  Leehod Baruch  <leehod@il.ibm.com>
2444             Dorit Naishlos  <dorit@il.ibm.com>
2445
2446         * tree-vectorizer.c (vect_analyze_data_ref_dependence): Function
2447         declaration added.
2448         (vect_analyze_data_ref_dependences): Likewise.
2449
2450         (vect_is_simple_use): Argument changed from loop structure to
2451         loop_vect_info structure.
2452         (vect_can_advance_ivs_p): Likewise.
2453         (vect_create_index_for_vector_ref): Likewise.
2454         (vect_update_ivs_after_vectorizer): Likewise.
2455         (new_stmt_vec_info): Likewise.
2456
2457         (new_loop_vec_info): Second argument in call to new_stmt_vec_info was
2458         changed from loop to loop_vinfo.
2459         (vect_create_data_ref_ptr): First argument in call to
2460         vect_create_index_for_vector_ref was changed from loop to loop_vinfo.
2461         (vectorizable_assignment): Second argument in call to vect_is_simple_use
2462         was changed from loop to loop_vinfo.
2463         (vectorizable_operation): Likewise.
2464         (vectorizable_store): Likewise.
2465         (vect_mark_stmts_to_be_vectorized): Likewise.
2466         (vect_do_peeling_for_loop_bound): First argument in call to
2467         vect_update_ivs_after_vectorizer was changed from loop to loop_vinfo.
2468         (vect_analyze_operations): Argument in call to vect_can_advance_ivs_p
2469         was changed from loop to loop_vinfo.
2470         (vect_analyze_data_ref_dependences): Third argument in call to
2471         vect_analyze_data_ref_dependence was changed from loop to loop_vinfo.
2472
2473         (vect_create_index_for_vector_ref): Get the loop from loop_vinfo.
2474         (vect_create_data_ref_ptr): Likewise.
2475         (vect_init_vector): Likewise.
2476         (vect_get_vec_def_for_operand): Likewise.
2477         (vectorizable_assignment): Likewise.
2478         (vectorizable_operation): Likewise.
2479         (vectorizable_store): Likewise.
2480         (vectorizable_load): Likewise.
2481         (vect_update_ivs_after_vectorizer): Likewise.
2482         (vect_is_simple_use): Likewise.
2483         (vect_analyze_data_ref_dependence): Likewise.
2484         (vect_analyze_pointer_ref_access): Likewise.
2485         (vect_can_advance_ivs_p): Likewise.
2486
2487         * tree-vectorizer.h: (_loop_vec_info): Definition and macros moved
2488         before _stmt_vec_info.
2489         (_stmt_vec_info): Loop field replaced by loop_vec_info.
2490         (STMT_VINFO_LOOP): Replaced with STMT_VINFO_LOOP_VINFO.
2491         (new_stmt_vec_info): Argument changed from loop structure to
2492         loop_vect_info structure
2493
2494         (vect_analyze_data_ref_dependences): Unnecessary line was removed.
2495         (vect_analyze_offset_expr): Avoid 80 columns overflow.
2496         (vect_create_addr_base_for_vector_ref): Likewise.
2497         (vect_analyze_pointer_ref_access): Likewise.
2498
2499 2005-02-03  Andrew Pinski  <pinskia@physics.uc.edu>
2500
2501         PR tree-opt/19768
2502         * tree-ssa-dse.c (fix_phi_uses): Update the occurs in abnormal
2503         phi flag if the phi is abnormal.
2504
2505 2005-02-03  Andrew Pinski  <pinskia@physics.uc.edu>
2506
2507         PR tree-opt/19736
2508         * tree-ssa.c (replace_immediate_uses): Update the immediate_uses
2509         information for the new statement.
2510
2511 2005-02-03  Joseph S. Myers  <joseph@codesourcery.com>
2512
2513         PR driver/19117
2514         * gcc.c (main): Include the target in -v output.
2515
2516 2005-02-03  Alexandre Oliva  <aoliva@redhat.com>
2517
2518         * combine.c (simplify_comparison, case SIGN_EXTEND, ZERO_EXTEND):
2519         Do not drop the extend if we'd have to add a paradoxical subreg
2520         later.  Include optabs.h and insn-codes.h.
2521         * Makefile.in (combine.o): Depend on $(OPTABS_H).
2522
2523 2005-02-02  Roger Sayle  <roger@eyesopen.com>
2524
2525         PR middle-end/19405
2526         * real.h (REAL_MODE_FORMAT_COMPOSITE_P): New macro.
2527         * fold-const.c (const_binop): Avoid constant folding floating
2528         point operations in modes that use composite representations.
2529         * simplify-rtx.c (simplify_binary_operation): Likewise.
2530
2531 2005-02-02  Geoffrey Keating  <geoffk@apple.com>
2532
2533         * config/rs6000/altivec.md (altivec_dst): Make the first operand
2534         a REG, not a MEM.
2535         (altivec_dstt): Likewise.
2536         (altivec_dstst): Likewise.
2537         (altivec_dststt): Likewise.
2538         * config/rs6000/rs6000.c (altivec_expand_dst_builtin): Adjust creation
2539         of first operand.
2540
2541 2005-02-03  Dorit Naishlos  <dorit@il.ibm.com>
2542
2543         * tree-vectorizer.c (slpeel_make_loop_iterate_ntimes): Copy
2544         EXPR_LOCUS from orig_cond to the new cond_stmt.
2545         (vect_finish_stmt_generation): Copy EXPR_LOCUS from stmt to
2546         the new vec_stmt.
2547
2548 2005-02-03  Dorit Naishlos  <dorit@il.ibm.com>
2549
2550         * tree-vectorizer.c (slpeel_make_loop_iterate_ntimes): Call
2551         standard_iv_increment_position. Remove call to bsi_next
2552         (no need to bump the iterator anymore).
2553         (vect_create_index_for_vector_ref): Call
2554         standard_iv_increment_position. Remove second function argument.
2555         (vect_finish_stmt_generation): Remove call to bsi_next
2556         (no need to bump the iterator anymore).
2557         (vect_create_data_ref_ptr): Remove second argument (bsi) in call
2558         to vect_create_index_for_vector_ref.
2559
2560 2005-02-03  Dorit Naishlos  <dorit@il.ibm.com>
2561
2562         * tree-vectorizer.c (vect_mark_stmts_to_be_vectorized): Check if
2563         phis are used out of the loop.
2564
2565 2005-02-03  Joseph S. Myers  <joseph@codesourcery.com>
2566
2567         PR c/17807
2568         * c-decl.c (undef_nested_function): New variable.
2569         (pop_scope): Diagnose undefined nested functions.
2570         (finish_function): Don't attempt cgraph processing or genericizing
2571         if current top-level function contained an undefined nested
2572         function.  Reset undef_nested_function at the end of a top-level
2573         function.
2574
2575 2005-02-02  Zdenek Dvorak  <dvorakz@suse.cz>
2576
2577         * tree.c (build_int_cst_type): Take sign of the value into account
2578         when deciding whether sign extend the value.
2579
2580 2005-02-02  Joseph S. Myers  <joseph@codesourcery.com>
2581
2582         PR c/18502
2583         * gcc.c (cpp_unique_options): Remove %{trigraphs}.
2584         (cpp_options, cc1_options): Change %{std*&ansi} to
2585         %{std*&ansi&trigraphs}.
2586
2587 2005-02-02  Kazu Hirata  <kazu@cs.umass.edu>
2588
2589         * cse.c: Update comments.
2590
2591 2005-02-02  Aldy Hernandez  <aldyh@redhat.com>
2592
2593         * config/rs6000/rs6000.c (rs6000_spe_function_arg): Multi-reg
2594         arguments go on the stack.  Do not put complex doubles in odd/even
2595         pairs.
2596
2597 2005-02-02  Steven Bosscher  <stevenb@suse.de>
2598
2599         * doc/invoke.texi: Update the options enabled at -O1, -O2,
2600         and -O3.  Update the documentation for -fgcse-sm, -fgcse-las,
2601         -ftree-pre, and -fthread-jumps.
2602
2603 2005-02-02  Richard Sandiford  <rsandifo@redhat.com>
2604
2605         PR tree-optimization/19578
2606         * tree-flow.h (modified_noreturn_calls): Declare.
2607         (noreturn_call_p): Declare.
2608         * tree-flow-inline.h (noreturn_call_p): New function.
2609         (modify_stmt): Add modified noreturn calls to modified_noreturn_calls.
2610         * tree-cfg.c (modified_noreturn_calls): New variable.
2611         (cleanup_control_flow): Use noreturn_call_p.  Split basic blocks
2612         that contain a mid-block noreturn call.
2613         * tree-ssa.c (delete_tree_ssa): Clear modified_noreturn_calls.
2614
2615 2005-02-02  Kazu Hirata  <kazu@cs.umass.edu>
2616
2617         * df.c (df_def_record_1, df_uses_record): Don't use
2618         DF_FOR_REGALLOC.
2619         * df.h (DF_FOR_REGALLOC): Remove.
2620
2621 2005-02-02  Joseph S. Myers  <joseph@codesourcery.com>
2622
2623         PR c/19435
2624         * c-typeck.c (really_start_incremental_init): Reset
2625         constructor_max_index for arrays of incomplete type.
2626
2627 2005-02-02  Jeff Law  <law@redhat.com>
2628
2629         * gcse.c (struct reg_set): Store the block index where the register
2630         was set rather than the setting insn.
2631         (record_one_set, compute_transp): Corresponding changes.
2632         (pre_insert_copy_insn): Do not call replace_one_set.
2633         (replace_one_set): Remove.
2634
2635 2005-02-02  Joseph S. Myers  <joseph@codesourcery.com>
2636
2637         PR other/15514
2638         * doc/gcov.texi: Fix typo.
2639
2640 2005-02-01  Richard Henderson  <rth@redhat.com
2641
2642         PR target/19680
2643         * config/i386/i386.h (MODES_TIEABLE_P): Use ix86_modes_tieable_p.
2644         * config/i386/i386.c (ix86_hard_regno_mode_ok): Change return
2645         type to bool.
2646         (ix86_tieable_integer_mode_p, ix86_modes_tieable_p): New.
2647         * config/i386/i386-protos.h: Update.
2648
2649 2005-02-01  Steven Bosscher  <stevenb@suse.de>
2650
2651         PR tree-optimization/19217
2652         * tree-cfg.c (verify_expr): Use the data field to see if TP was
2653         seen inside a PHI node.  Do not do the ADDR_EXPR check if it was.
2654         (verify_stmts): Pass (void*)1 as data to verify_expr to signal
2655         that it is walking a PHI node.
2656
2657 2005-02-01  Joseph S. Myers  <joseph@codesourcery.com>
2658
2659         * doc/extend.texi (Nested Functions): Update.
2660
2661 2005-02-01  Richard Henderson  <rth@redhat.com>
2662
2663         PR 19696
2664         * optabs.c (expand_copysign_absneg): Export.
2665         * optabs.h (expand_copysign_absneg): Declare.
2666         * config/rs6000/rs6000.md (copysigntf3): New.
2667
2668 2005-02-01  Diego Novillo  <dnovillo@redhat.com>
2669
2670         PR tree-optimization/19633
2671         * tree-flow.h (struct ptr_info_def): Add field 'pt_null'.
2672         * tree-ssa-alias.c (init_alias_info): Initialize.
2673         (merge_pointed_to_info): Set.
2674         (add_pointed_to_expr): Set pt_null if EXPR is a NULL pointer.
2675         (dump_points_to_info_for): Show value of pt_null.
2676         (struct count_ptr_d): Declare.
2677         (find_ptr_dereference): Remove.
2678         (ptr_is_dereferenced_by): Remove.
2679         (count_ptr_derefs): New local function.
2680         (count_uses_and_derefs): New local function.
2681         (compute_points_to_and_addr_escape): Call it.  If the number
2682         of dereferences is greater than zero, mark the pointer as
2683         dereferenced.  If there are fewer dereferences than uses of
2684         the pointer, the pointer's value escapes.
2685
2686 2005-02-01  Diego Novillo  <dnovillo@redhat.com>
2687
2688         PR tree-optimization/19670
2689         * tree-ssa.c (verify_ssa_name): Don't set TREE_VISITED
2690         here...
2691         (verify_use): ... set it here, instead.
2692
2693 2005-02-01  Janis Johnson  <janis187@us.ibm.com>
2694
2695         * doc/sourcebuild.texi (Test directives): Fix formatting.
2696
2697         * doc/sourcebuild.texi (Test directives): Describe selector
2698         expressions.
2699
2700 2005-02-01  Segher Boessenkool  <segher@kernel.crashing.org>
2701
2702         * config.gcc (powerpc64-*-linux*): Default to -m64 also for
2703         specific 64-bit CPUs.
2704
2705 2005-02-01  Richard Earnshaw  <rearnsha@arm.com>
2706
2707         PR target/16201
2708         * arm.c (arm_eliminable_register): New function.
2709         (adjacent_mem_locations): Don't allow eliminable registers.  Use
2710         HOST_WIDE_INT for address offsets.
2711         * arm-protos.h (arm_eliminable_register): Add prototype.
2712
2713 2005-02-01  Steven Bosscher  <stevenb@suse.de>
2714
2715         PR optimization/15242
2716         * params.def (PARAM_MAX_GOTO_DUPLICATION_INSNS): New param.
2717         * basic-block.h (duplicate_computed_gotos): Add prototype.
2718         * bb-reorder.c (duplicate_computed_gotos): New function to
2719         duplicate sufficiently small blocks ending in a computed jump.
2720         * passes.c (rest_of_compilation): Call duplicate_computed_gotos
2721         if not optimizing for size.
2722         * cfgcleanup.c (try_crossjump_bb): If not optimizing for size,
2723         never do tail merging for blocks ending in a computed jump.
2724         * doc/invoke.texi: Document the max-goto-duplication-insns param.
2725
2726 2005-02-01  Eric Botcazou  <ebotcazou@libertysurf.fr>
2727
2728         Patch from Richard Sandiford <rsandifo@redhat.com>
2729         * reload1.c (choose_reload_regs): Prevent the find_equiv_reg() code
2730         from inheriting a subreg equivalence with a non-spill register.
2731
2732         * tree.h (DECL_FUNCTION_CODE): Document that it is overloaded.
2733
2734 2005-02-01  Alexandre Oliva  <aoliva@redhat.com>
2735
2736         * config/frv/frv.c (movcc_fp_destination_operand): New.
2737         (gpr_or_memory_operand): Fix typo in comment.
2738         (gpr_or_memory_operand_with_scratch): New.
2739         * config/frv/frv.h (PREDICATE_CODES): Add the two new predicates.
2740         * config/frv/frv.md (movcc_fp, movcc_fp_internal): Use
2741         movcc_fp_destination_operand.
2742         (reload_incc_fp): Use gpr_or_memory_operand_with_scratch.
2743         Legitimize memory addresses using a scratch register.
2744
2745 2005-01-31  Jeff Law  <law@redhat.com>
2746
2747         * tree-into-ssa.c (mark_def_sites_global_data): Make KILLS
2748         bitmap a sparse bitmap instead of a simple bitmap.
2749         (mark_def_sites_initialize_block):  Corresponding changes.
2750         (ssa_mark_def_sites_initialize_block): Likewise.
2751         (ssa_mark_phi_uses): Likewise.
2752         (mark_def_site, ssa_mark_def_sites): Likewise.
2753         (mark_def_site_blocks): Likewise.
2754         (rewrite_ssa_into_ssa): Likewise.
2755
2756         * tree-ssa-dom.c (record_cond): Pass correct variable type
2757         for last argument to htab_find_slot_with_hash.
2758
2759         * fold-const.c (fold, case CEIL_MOD_EXPR): Do not lose side
2760         effects when optimizing 0 % X.  Do not try to optimize X % 0.
2761
2762 2005-01-31  James E. Wilson  <wilson@specifixinc.com>
2763
2764         * config/ia64/itanium1.md (1_scall bypass): Change 2_mmalua to
2765         1_mmalua.
2766
2767 2005-02-01  Eric Christopher  <echristo@redhat.com>
2768
2769         * config/mips/mips.c (override_options): Warn if -mint64
2770         is used.
2771         * doc/invoke.texi (MIPS Options): Document that -mint64 is
2772         deprecated.
2773
2774 2005-02-01  Kazu Hirata  <kazu@cs.umass.edu>
2775
2776         * cse.c (cse_reg_info): Remove hash_next, next, regno.  Add
2777         timestamp.
2778         (cse_reg_info_list, cse_reg_info_list_free, REGHASH_SHIFT,
2779         REGHASH_SIZE, REGHASH_MASK, reg_hash, REGHASH_FN,
2780         cached_cse_reg_info, GET_CSE_REG_INFO): Remove.
2781         (cached_regno): Initialize to INVALID_REGNUM.
2782         (cse_reg_info_table_size,
2783         cse_reg_info_table_first_uninitialized,
2784         cse_reg_info_timestamp): New.
2785         (REG_TICK, REG_IN_TABLE, SUBREG_TICKED, REG_QTY): Use
2786         get_cse_reg_info.
2787         (init_cse_reg_info, get_cse_reg_info_1): New.
2788         (get_cse_reg_info): Cache the last look-up.
2789         (new_basic_block): Update the code to clear mappings from
2790         registers to cse_reg_info entries.
2791         (cse_main): Call init_cse_reg_info.
2792
2793         * cse.c (get_cse_reg_info): Update a comment.
2794
2795 2005-01-31  Steven Bosscher  <stevenb@suse.de>
2796
2797         PR c/19333
2798         * c-decl.c (start_decl): Do not warn about arrays of elements with
2799         an incomplete type here.
2800         (grokdeclarator): Do it here by making a pedwarn an error.
2801         * c-typeck.c (push_init_level): If there were previous errors with
2802         the constructor type, do not warn about braces for initializers.
2803         (process_init_element): Likewise for excess initializer elements.
2804
2805 2005-01-31  Kazu Hirata  <kazu@cs.umass.edu>
2806
2807         * cse.c (delete_trivially_dead_insn): Don't iterate.
2808
2809 2005-01-31  Andrew Pinski  <pinskia@physics.uc.edu>
2810
2811         * config/rs6000/rs6000.md (copysignsf3): New expand.
2812         (copysigndf3): Likewise.
2813
2814 2005-01-31  Steven Bosscher  <stevenb@suse.de>
2815
2816         * recog.c (constrain_operands): Only look for earlyclobber operand
2817         conflicts if an '&' constraint was seen.
2818
2819 2005-01-31  Marc Espie <espie@openbsd.org>
2820
2821         * config.gcc: Don't include embedded systems fragment, switches default
2822         debugging format to ELF.
2823         * config/i386/openbsdelf.h: Add DBX_REGISTER_NUMBER since we no
2824         longer pick it up there.
2825
2826 2005-01-31  Dale Johannesen  <dalej@apple.com>
2827
2828         * doc/extend.texi (nested functions): Fix linkage description.
2829         Clarify that static is not allowed.
2830
2831 2005-01-31  Dale Johannesen  <dalej@apple.com>
2832
2833         * config/rs6000/darwin.md (movsf_low_di):  Make work.
2834         (movdf_low_di):  Make work.
2835
2836 2005-01-31  Dale Johannesen  <dalej@apple.com>
2837
2838         * config/rs6000/darwin-tramp.asm (__trampoline_setup):
2839         Make work for 64 bit.
2840
2841 2005-01-31  Roger Sayle  <roger@eyesopen.com>
2842             Dale Johannesen  <dalej@apple.com>
2843
2844         PR middle-end/19650
2845         * fold-const.c (fold_binary_op_with_conditional_arg):
2846         Make types match original operands, before STRIP_NOPS.
2847
2848 2005-01-31  Alan Modra  <amodra@bigpond.net.au>
2849
2850         * config/rs6000/linux-unwind.h (struct gcc_vregs): New.
2851         (struct gcc_regs): Rename from gcc_pt_regs.  Add more regs.
2852         (struct gcc_sigcontext): Delete.  Merge contents to..
2853         (struct gcc_ucontext): ..here.
2854         (get_sigcontext): Delete.
2855         (get_regs): New function, like get_sigcontext but return regs ptr.
2856         64-bit version finds regs from r1 to support vdso.
2857         (ppc_linux_aux_vector): New function.
2858         (ppc_fallback_frame_state): Modify for get_regs.  Restore fprs
2859         and vector regs.
2860
2861 2005-01-31  Ira Rosen  <irar@il.ibm.com>
2862
2863         * tree-vectorizer.c (vect_analyze_offset_expr): Use ssizetype instead
2864         sizetype.
2865         (vect_get_base_and_offset): Use ssizetype instead sizetype. Remove
2866         redundant fold. Fix misalignment for MINUS_EXPR.
2867         (vect_compute_data_ref_alignment): Use ssizetype instead sizetype.
2868         (vect_analyze_pointer_ref_access): Likewise.
2869         (vect_get_memtag_and_dr): Likewise.
2870
2871 2005-01-31  Richard Henderson  <rth@redhat.com>
2872
2873         * config/i386/i386.c (absnegsf2_mixed): Remove all of the # hackery.
2874         (absnegsf2_sse, absnegsf2_i387, absnegdf2_mixed, absnegdf2_sse,
2875         absnegdf2_i387, absnegxf2_i387): Likewise.
2876
2877 2005-01-31  Richard Henderson  <rth@redhat.com>
2878
2879         PR 19696
2880         * optabs.c (expand_copysign_absneg): New.
2881         (expand_copysign_bit): Split out from ...
2882         (expand_copysign): ... here.  Use expand_copysign_absneg.
2883
2884 2005-01-30  Roger Sayle  <roger@eyesopen.com>
2885
2886         PR middle-end/19697
2887         * config/pa/pa.md (anddi3, iordi3): On HPPA64, disallow an integer
2888         constant as the second operand and a register as the third.
2889
2890 2005-01-31  Danny Smith  <dannysmith@users.sourceforge.net>
2891
2892         PR target/19704
2893         * config/i386/i386.c (ix86_function_ok_for_sibcall):  Also check
2894         that dllimport'd functions do not use all call-clobbered registers
2895         to pass parameters.
2896
2897 2005-01-30  Richard Henderson  <rth@redhat.com>
2898
2899         PR 19696
2900         * optabs.c (expand_absneg_bit): Split out from expand_unop and
2901         expand_abs_nojump and generalize.  Use operand_subword and
2902         emit_no_conflict_block.  Support large modes.
2903         (expand_abs_nojump): Use it.  Use HONOR_SIGNED_ZEROS to fall
2904         back to maximum.
2905         (expand_unop): Likewise.  Use HONOR_SIGNED_ZEROS to fall back
2906         negation to subtraction.
2907         (expand_copysign): Check that the format has signed zeros.
2908         Use operand_subword and emit_no_conflict_block.  Support large modes.
2909
2910 2005-01-30  Daniel Berlin  <dberlin@dberlin.org>
2911
2912         Fix PR tree-optimization/19624
2913
2914         * Makefile.in (tree-ssa-pre.o): Add CFGLOOP_H.
2915         * tree-ssa-pre.c: Add cfgloop.h.
2916         Update comment.
2917         (pre_stats): New member, constified.
2918         (inserted_exprs): New static variable.
2919         (NECESSARY): New macro.
2920         (create_expression_by_pieces): Fold the expression, and
2921         mark it as defaulting to not necessary. Also put in
2922         inserted_exprs.
2923         (fully_constant_expression): New function.
2924         (insert_into_preds_of_block): Modify to not insert phis when we
2925         are playing with induction variables.
2926         Push phis onto the inserted_exprs vector, and mark them as not
2927         necessary by default.
2928         (insert_aux): Call fully_constant_expression on eprime.
2929         If all edges produce the same value, mark it constant.
2930         (mark_operand_necessary): New function.
2931         (remove_dead_inserted_code): New function.
2932         (init_pre): Init loop optimizer to get loop info.
2933         (fini_pre): Free loop_optimizer, and inserted_exprs vec.
2934         (execute_pre): Commit edge inserts, then remove dead code.
2935
2936 2005-01-30  Richard Henderson  <rth@redhat.com>
2937
2938         * rtl.c (rtx_equal_p): No early exit for CONST_VECTOR.
2939         * varasm.c (const_rtx_hash_1): Handle CONST_VECTOR.
2940
2941 2005-01-30  Richard Henderson  <rth@redhat.com>
2942
2943         PR target/19700
2944         * config/i386/i386.c (ix86_expand_copysign): New.
2945         (ix86_split_copysign_const): New.
2946         (ix86_split_copysign_var): Rename from ix86_split_copysign,
2947         rearrange op1/nmask operands.
2948         * config/i386/i386-protos.h: Update.
2949         * config/i386/i386.md (copysignsf3): Use ix86_expand_copysign.
2950         (copysigndf3): Likewise.
2951         (copysignsf3_const, copysigndf3_const): New.
2952         (copysignsf3_var): Rename from copysignsf3, split out splitter
2953         and fix split predicate for X constraint.
2954         (copysigndf3_var): Similarly.
2955
2956 2005-01-30  Kazu Hirata  <kazu@cs.umass.edu>
2957
2958         * optabs.c, doc/c-tree.texi, doc/install.texi, doc/md.texi,
2959         doc/passes.texi, doc/rtl.texi, doc/sourcebuild.texi,
2960         doc/tm.texi, doc/tree-ssa.texi: Update copyright.
2961
2962 2005-01-29  Richard Henderson  <rth@redhat.com>
2963
2964         PR target/19690
2965         * config/i386/i386.md (movdf_nointeger, movdf_integer): Fix ordering
2966         of # and * in constraints.
2967
2968 2005-01-29  Richard Henderson  <rth@redhat.com>
2969
2970         PR middle-end/19689
2971         * expr.c (store_field): Don't strip sub-mode cast when the input
2972         data is even smaller.
2973
2974 2005-01-29  Richard Henderson  <rth@redhat.com>
2975
2976         PR middle-end/19687
2977         * expr.c (categorize_ctor_elements_1): Check for CONSTRUCTOR of a
2978         union being empty.
2979
2980 2005-01-29  Richard Henderson  <rth@redhat.com>
2981
2982         * combine.c (make_field_assignment): Fix argument order
2983         to gen_int_mode.
2984
2985 2005-01-29  Richard Guenther <richard.guenther@uni-tuebingen.de>
2986
2987         PR tree-optimization/15791
2988         * fold-const.c (extract_array_ref): New function.
2989         (fold): Fold comparisons between &a[i] and &a[j] or
2990         semantically equivalent trees.
2991
2992 2005-01-29  Jeff Law  <law@redhat.com>
2993
2994         * gcse.c (insert_expr_in_table): Revamp handling of available
2995         and anticipatable occurrence lists to avoid unnecessary list
2996         walking.
2997         (insert_set_in_table): Similarly.
2998
2999 2005-01-29  Joseph S. Myers  <joseph@codesourcery.com>
3000
3001         * c-common.c (fix_string_type): Just use c_build_qualified_type to
3002         build string type.
3003         (c_build_qualified_type): Build qualified array types with
3004         TYPE_MAIN_VARIANT pointing to corresponding unqualified type.
3005         * c-decl.c (c_make_fname_decl): Build unqualified array type
3006         before qualified type.
3007         (grokdeclarator): Use TYPE_MAIN_VARIANT of typedef type if element
3008         type is qualified, not just if type itself is.  Don't apply
3009         qualifiers to array type when declarator is processed.  Apply
3010         qualifiers to field type whether or not it is an array type.
3011         Don't handle array types specially for applying qualifiers to
3012         variables.
3013         * c-typeck.c (composite_type): Build unqualified element type and
3014         array type when forming composite of array types.
3015         (common_pointer_type, comptypes, comp_target_types,
3016         type_lists_compatible_p, build_indirect_ref, build_array_ref,
3017         convert_for_assignment): Don't apply TYPE_MAIN_VARIANT to array
3018         types.
3019         (type_lists_compatible_p): Cache TREE_VALUE (args1) and TREE_VALUE
3020         (args2) in variables a1 and a2.
3021
3022 2005-01-29  Kazu Hirata  <kazu@cs.umass.edu>
3023
3024         * cse.c (n_elements_made, max_elements_made): Remove.
3025         (insert): Don't touch n_elements_made.
3026         (cse_main): Don't touch n_elements_made or max_elements_made.
3027
3028 2005-01-28  Stephane Carrez  <stcarrez@nerim.fr>
3029
3030         PR target/15384
3031         * config/m68hc11/t-m68hc11-gas (dp-bit.c): Fix typo causing a
3032         configuration part of dp-bit.c to be lost.
3033
3034 2005-01-28  Roger Sayle  <roger@eyesopen.com>
3035
3036         * expmed.c (expand_mult_highpart_optab): When attempting to use
3037         a non-widening multiplication in a wider mode, the operands need
3038         to be converted (zero or sign extended) to that mode.
3039
3040 2005-01-28  Ian Lance Taylor  <ian@airs.com>
3041
3042         PR middle-end/16558
3043         PR middle-end/19583
3044         * gimple-low.c (block_may_fallthru): TRY_FINALLY_EXPR only falls
3045         through if both operands fall through.
3046
3047 2005-01-28  Kazu Hirata  <kazu@cs.umass.edu>
3048
3049         * cse.c (fold_rtx) <PC>: Don't optimize.
3050
3051 2005-01-28  Jeff Law  <law@redhat.com>
3052
3053         * fold-const.c (fold, case CEIL_MOD_EXPR): Optimize 0 % X.
3054         (case FLOOR_MOD_EXPR, ROUND_MOD_EXPR, TRUNC_MOD_EXPR): Similarly.
3055
3056 2005-01-28  Kazu Hirata  <kazu@cs.umass.edu>
3057
3058         * cse.c (cse_reg_info_free_list, cse_reg_info_used_list,
3059         cse_reg_info_used_list_end): Remove.
3060         (cse_reg_info_list, cse_reg_info_list_free): New.
3061         (get_cse_reg_info): When allocating an instance of
3062         cse_reg_info, add it to the beginning of the cse_reg_info_list
3063         list.  Remove code to maintain cse_reg_info_used_list.
3064         (new_basic_block): Reset the free list to the beginning of
3065         cse_reg_info_list.
3066
3067 2005-01-28  Richard Sandiford  <rsandifo@redhat.com>
3068
3069         * config/frv/frv.c (bdesc_2arg): Remove __MDPACKH.
3070         (frv_init_builtins): Change its prototype to take 4 uhalf arguments.
3071         (frv_expand_mdpackh_builtin): New function.
3072         (frv_expand_builtin): Use it to expand __MDPACKH.
3073         * doc/extend.texi (__MDPACKH): Update documentation.
3074
3075 2005-01-28  Uros Bizjak  <uros@kss-loka.si>
3076
3077         * config/i386/i386.c (ix86_expand_fp_absneg_operator): Use
3078         SSE_FLOAT_MODE_P for use_sse computation.
3079
3080 2005-01-28  Ralf Corsepius  <ralf.corsepius@rtems.org>
3081
3082         PR target/19663
3083         * config/sparc/rtemself.h (LINK_GCC_C_SEQUENCE_SPEC): undefine.
3084
3085 2005-01-27  Richard Henderson  <rth@redhat.com>
3086
3087         * builtins.c (expand_builtin_copysign): New.
3088         (expand_builtin): Call it.
3089         * genopinit.c (optabs): Add copysign_optab.
3090         * optabs.c (init_optabs): Initialize it.
3091         (expand_copysign): New.
3092         * optabs.h (OTI_copysign, copysign_optab): New.
3093         (expand_copysign): Declare.
3094
3095         * config/alpha/alpha.md (UNSPEC_COPYSIGN): New.
3096         (copysignsf3, ncopysignsf3, copysigndf3, ncopysigndf3): New.
3097
3098         * config/i386/i386.c (ix86_build_signbit_mask): Split from ...
3099         (ix86_expand_fp_absneg_operator): ... here.
3100         (ix86_split_copysign): New.
3101         * config/i386/i386-protos.h: Update.
3102         * config/i386/i386.md (UNSPEC_COPYSIGN): New.
3103         (copysignsf3, copysigndf3): New.
3104
3105         * config/ia64/ia64.md (UNSPEC_COPYSIGN): New.
3106         (copysignsf3, ncopysignsf3): New.
3107         (copysigndf3, ncopysigndf3): New.
3108         (copysignxf3, ncopysignxf3): New.
3109         * config/ia64/ia64.c (rtx_needs_barrier): Handle UNSPEC_COPYSIGN.
3110
3111 2005-01-27  Arend Bayer  <arend.bayer@web.de>
3112             Kazu Hirata  <kazu@cs.umass.edu>
3113
3114         * cse.c: (find_best_addr): Don't call copy_rtx before calling
3115         fold_rtx.  Save cost recomputation if fold_rtx did nothing.
3116         (fold_rtx) <ASM_OPERANDS>: Don't do anything if INSN is
3117         NULL_RTX.
3118
3119 2005-01-27  Jeff Law  <law@redhat.com>
3120
3121         * tree-into-ssa.c (ssa_rewrite_initialize_block): Do not register
3122         definitions of SSA_NAMEs which are not being rewritten.
3123         (rewrite_ssa_into_ssa): Only initialize the current definition
3124         of an SSA_NAME if that SSA_NAME has been marked for rewriting.
3125         If checking is enabled, assert that SSA_NAME_AUX is clear for all
3126         SSA_NAMEs before returning.
3127
3128 2005-01-27  Kazu Hirata  <kazu@cs.umass.edu>
3129
3130         * c-common.def, c-dump.c, c-gimplify.c, c-objc-common.c,
3131         cfgexpand.c, dbxout.c, function.h, opts.c, tree-flow-inline.h,
3132         tree-ssa-operands.h, tree-ssa-threadupdate.c, tree-tailcall.c,
3133         config/avr/avr.md, config/cris/aout.h, config/cris/cris.h,
3134         config/mips/iris6.h, config/sh/sh.c: Update copyright.
3135
3136 2005-01-27  Steven Bosscher  <stevenb@suse.de>
3137
3138         PR middle-end/17278
3139         * opts.c (decode_options): Move flag_thread_jumps from -O1 and
3140         higher to -O2 and higher.  Likewise for tree PRE.
3141         * tree-ssa-dom.c (tree_ssa_dominator_optimize): Only iterate at -O2
3142         and better.
3143
3144 2005-01-27  Ian Lance Taylor  <ian@airs.com>
3145
3146         PR middle-end/19583
3147         * gimple-low.c (try_catch_may_fallthru): New static function.
3148         (block_may_fallthru): Handle TRY_CATCH_EXPR.
3149         * tree-inline.c (expand_call_inline): Don't warn about reaching
3150         the end of a non-void function being inlined if the function uses
3151         a return slot.
3152
3153 2005-01-27  Jakub Jelinek  <jakub@redhat.com>
3154
3155         * config/i386/i386.h (CALL_USED_REGISTERS): Fix comment pastos.
3156
3157         PR c/18946
3158         * c-decl.c (warn_if_shadowing): Handle old_decl error_mark_node.
3159         (pushdecl): Only use DECL_FILE_SCOPE_P if DECL_P.
3160         (implicitly_declare): Handle error_mark_node.
3161
3162 2005-01-27  Richard Henderson  <rth@redhat.com>
3163
3164         PR tree-opt/14329
3165         * tree.h (struct tree_decl): Add debug_expr_is_from.
3166         (DECL_DEBUG_EXPR_IS_FROM): New.
3167         (DECL_DEBUG_EXPR): Rename from DECL_DEBUG_ALIAS_OF.
3168         * dwarf2out.c (dwarf2out_var_location): Update to match.
3169         * tree-outof-ssa.c (create_temp): Likewise.
3170         * var-tracking.c (track_expr_p): Likewise.
3171         * tree-sra.c (instantiate_element): Set DECL_DEBUG_EXPR.
3172         * c-objc-common.c (c_tree_printer) <'D'>: Handle DECL_DEBUG_EXPR.
3173         * toplev.c (default_tree_printer): Likewise.
3174
3175 2005-01-27  Alexandre Oliva  <aoliva@redhat.com>
3176
3177         * config/frv/frv.c (frv_class_likely_spilled_p): Add GR8_REGS,
3178         GR9_REGS, GR89_REGS, FDPIC_FPTR_REGS, FDPIC_REGS.
3179
3180 2005-01-27  Steven Bosscher  <stevenb@suse.de>
3181
3182         * tree.h (SWITCH_COND, SWITCH_BODY, SWITCH_LABELS, CASE_LOW,
3183         CASE_HIGH, CASE_LABEL, ASM_STRING, ASM_OUTPUTS, ASM_INPUTS,
3184         ASM_CLOBBERS): Add tree checks.
3185
3186         * c-common.h (SWITCH_TYPE): Rename to SWITCH_STMT_TYPE.
3187         (SWITCH_STMT_COND, SWITCH_STMT_BODY): New.
3188         * c-common.def (SWITCH_STMT): Update to match.
3189         * c-common.c (c_do_switch_warnings): Use SWITCH_STMT accessor
3190         macros instead of SWITCH_EXPR ones.
3191         * c-dump.c (c_dump_tree): Likewise.
3192         * c-gimplify.c (gimplify_switch_stmt): Likewise.
3193         * c-typeck.c (c_start_case, do_case, c_finish_case): Likewise.
3194
3195         * doc/c-tree.texi (SWITCH_STMT): Update accessor macro names.
3196
3197 2005-01-27  Alan Modra  <amodra@bigpond.net.au>
3198
3199         * unwind-dw2.c (execute_stack_op): Add missing cases for
3200         DW_OP_shl, DW_OP_shr, DW_OP_shra, DW_OP_xor.
3201
3202 2005-01-27  Eric Botcazou  <ebotcazou@libertysurf.fr>
3203
3204         * config.gcc (Obsolete configurations): Remove 'dummy', add
3205         sparclite-*-coff*, sparclite-*-elf*, sparc86x-*-elf* and
3206         sparc-*-openbsd*.
3207
3208 2005-01-26  Diego Novillo  <dnovillo@redhat.com>
3209
3210         PR tree-optimization/19633
3211         * tree-ssa-alias.c (ptr_is_dereferenced_by): Also handle
3212         CALL_EXPRs.
3213         (maybe_create_global_var): Do not create .GLOBAL_VAR if there
3214         are no call-clobbered variables.
3215         * tree-outof-ssa.c (check_replaceable): Return false for calls
3216         with side-effects.
3217
3218 2005-01-26  Ulrich Weigand  <uweigand@de.ibm.com>
3219
3220         * dbxout.c (dbxout_symbol_location): Resolve constant pool references
3221         even for variables with NULL DECL_INITIAL.
3222
3223 2005-01-26  Stuart Hastings  <stuart@apple.com>
3224
3225         * gimplify.c (shortcut_cond_expr): Re-compute side-effects.
3226
3227 2005-01-26  Richard Henderson  <rth@redhat.com>
3228
3229         PR middle-end/18008
3230         * c-decl.c (finish_struct): Set DECL_MODE after resetting a
3231         field's type.
3232         * expr.c (store_field): Strip conversions to odd-bit-sized types
3233         if the destination field width matches.
3234
3235 2005-01-26  Richard Henderson  <rth@redhat.com>
3236
3237         * c-decl.c, expmed.c, expr.c: Revert last change.
3238
3239 2005-01-26  Richard Henderson  <rth@redhat.com>
3240
3241         PR middle-end/18008
3242         * c-decl.c (finish_struct): Set DECL_MODE after resetting a
3243         field's type.
3244         * expmed.c (store_fixed_bit_field): Create a paradoxical subreg
3245         if we don't need the bits above those present in the current mode.
3246         * expr.c (store_field): Strip conversions to odd-bit-sized types
3247         if the destination field width matches.
3248
3249 2005-01-26  Richard Sandiford  <rsandifo@redhat.com>
3250
3251         * config/mips/iris6.h (ENDFILE_SPEC): Don't link in irix-csr.o if
3252         either -ffast-math or -funsafe-math-optimizations is in use.
3253
3254 2005-01-26  Marek Michalkiewicz  <marekm@amelek.gda.pl>
3255
3256         PR target/19293
3257         PR target/19329
3258         * config/avr/avr.c (notice_update_cc): Only set condition code for
3259         ashrqi3 if shift count > 0.
3260         (out_shift_with_cnt): Handle shift count <= 0 as a no-op.
3261         (ashlqi3_out, ashlhi3_out, ashlsi3_out, ashrqi3_out, ashrhi3_out,
3262         ashrsi3_out, lshrqi3_out, lshrhi3_out, lshrsi3_out): Handle shift
3263         count <= 0 as a no-op, and shift count >= width by copying zero
3264         or sign bit to all bits of the result.
3265         * config/avr/avr.md (all shifts): Add alternatives for zero shift
3266         count, with attribute "length" set to 0 and "cc" set to "none".
3267
3268 2005-01-26  Aldy Hernandez  <aldyh@redhat.com>
3269
3270         * doc/invoke.texi: Document -mTLS.
3271
3272         * testsuite/gcc.target/frv/all-tls-global-dynamic.c: New.
3273         * testsuite/gcc.target/frv/all-tls-initial-exec.c: New.
3274         * testsuite/gcc.target/frv/all-tls-initial-exec-pic.c: New.
3275         * testsuite/gcc.target/frv/all-tls-local-dynamic.c: New.
3276         * testsuite/gcc.target/frv/all-tls-local-dynamic-plt.c: New.
3277         * testsuite/gcc.target/frv/all-tls-local-dynamic-plt-pic.c: New.
3278         * testsuite/gcc.target/frv/all-tls-local-exec.c: New.
3279         * testsuite/gcc.target/frv/all-tls-local-exec-TLS.c: New.
3280
3281         * configure.ac: Check for a TLS capable gas.
3282
3283         * configure: Regenerate.
3284
3285 2005-01-26  Richard Henderson  <rth@redhat.com>
3286
3287         PR middle-end/18008
3288         * combine.c (make_field_assignment): Simplify store to zero_extract
3289         from a source with an overlapping mask.
3290
3291 2005-01-26  Aldy Hernandez  <aldyh@redhat.com>
3292
3293         2004-11-11  Eric Christopher  <echristo@redhat.com>
3294
3295         * config/frv/frv.md: Add fr400_integer automaton. Don't
3296         allow TYPE_MUL, TYPE_MACC, or TYPE_CUT to issue in parallel
3297         to TYPE_MACC.
3298
3299 2005-01-26  Steven Bosscher  <stevenb@suse.de>
3300
3301         PR middle-end/16585
3302         * cfgbuild.c (make_edges): Do not clear or set
3303         current_function_has_computed_jump.
3304         * function.h (struct function): Remove the has_computed_jump field.
3305         (current_function_has_computed_jump): Do not define.
3306         * sched-rgn.c (is_cfg_nonregular): Return true if a basic block ends
3307         in a computed jump.  Ignore current_function_has_computed_jump.
3308
3309 2005-01-26  Richard Henderson  <rth@redhat.com>
3310
3311         PR middle-end/19515
3312         * expr.c (categorize_ctor_elements): New argument p_must_clear.
3313         (categorize_ctor_elements_1): Likewise.  Detect a union that isn't
3314         fully initialized.
3315         (mostly_zeros_p): Update for new categorize_ctor_elements argument.
3316         * gimplify.c (gimplify_init_constructor): Likewise.  Only shove
3317         objects into static storage if they have more than one non-zero value.
3318         * tree.h (categorize_ctor_elements): Update decl.
3319
3320 2005-01-26  Steven Bosscher  <stevenb@suse.de>
3321
3322         PR middle-end/19616
3323         * tree.h (CALL_EXPR_TAILCALL): Add comment.
3324         * calls.c (check_sibcall_argument_overlap_1): Revert the change
3325         to this function from 2004-07-10.
3326         * tree-tailcall.c (suitable_for_tail_opt_p): Do not consider the
3327         the current function for tail call optimizations if the address
3328         of one of it its arguments is taken.
3329
3330 2005-01-26  Kazu Hirata  <kazu@cs.umass.edu>
3331
3332         * cse.c (fold_rtx): Call equiv_constant only when necessary.
3333
3334 2005-01-26  Bernd Schmidt  <bernd.schmidt@analog.com>
3335
3336         * function.c (expand_function_end): If current_function_calls_alloca,
3337         emit stack restore in a place that is reached when the function falls
3338         through at the end.
3339
3340 2005-01-26  Alexandre Oliva  <aoliva@redhat.com>
3341
3342         * Makefile.in (../$(build_subdir)/fixincludes/fixincl): Add dummy
3343         rule to avoid matching inappropriate suffix rule.
3344
3345 2005-01-26  Jan Hubicka  <jh@suse.cz>
3346
3347         PR tree-optimization/19241
3348         * tree-inline.c (copy_body_r): Do not walk subtrees after substituting.
3349
3350 2005-01-26  Hans-Peter Nilsson  <hp@axis.com>
3351
3352         * config/cris/cris.h (LIB_SPEC) <sim*>: Use -lsyslinux, not
3353         -lsyssim.  Wrap -lc -lsyssim in --start-group --end-group instead
3354         of doubling.
3355         (STARTFILE_SPEC): Add crti.o, before crtbegin.o.
3356         <sim*>: Always use crt1.o, regardless of N in simN.
3357         <!sim>: Drop support for -pg and -p variants; always use crt0.o.
3358         (ENDFILE_SPEC): Add crtn.o, after crtend.o.
3359         (CRT_CALL_STATIC_FUNCTION): Remove.
3360         * config/cris/aout.h (STARTFILE_SPEC): <!melinux && sim*>: Always
3361         use crt1.o, regardless of N in simN.
3362         <!sim>: Drop support for -pg and -p variants; always use crt0.o.
3363         (LIB_SPEC): Do not define; default to the one in config/cris/cris.h.
3364         (CRIS_CPP_SUBTARGET_SPEC) <melinux && !nostdinc>: Remove special
3365         case isystem setting.
3366         (MAX_OFILE_ALIGNMENT): Correct to 32, not 16.
3367
3368 2005-01-25  Ian Lance Taylor  <ian@airs.com>
3369
3370         * gimple-low.c (block_may_fallthru): Correct handling of
3371         SWITCH_EXPR--may fall through if SWITCH_LABELS is NULL.
3372
3373 2005-01-26  Hans-Peter Nilsson  <hp@axis.com>
3374
3375         * config/cris/cris.h (CPP_SPEC): Adjust the various mtune=
3376         handlers to match indentation; nested under the mtune=* handler.
3377         Similar for mcpu= and march=.
3378
3379 2005-01-25  Daniel Jacobowitz  <dan@codesourcery.com>
3380
3381         * config/mips/linux.h (LIB_SPEC): Remove -rpath-link.
3382         * config/mips/linux64.h (LIB_SPEC): Likewise.
3383         * config/mn10300/linux.h (LIB_SPEC): Likewise.
3384         * config/sh/linux.h (LIB_SPEC): Likewise.
3385
3386 2005-01-25  Aldy Hernandez  <aldyh@redhat.com>
3387
3388         * config/frv/frv.c (frv_legitimize_tls_address): New.
3389         (TARGET_HAVE_TLS): Define.
3390         (FRV_SYMBOL_REF_TLS_P): Define.
3391         (frv_override_options): Handle new register classes.
3392         (frv_legitimate_address_p): Reject tls addresses.
3393         (frv_legitimize_address): Handle TLS addresses.
3394         (gen_inlined_tls_plt): New.
3395         (gen_tlsmoff): New.
3396         (frv_legitimize_tls_address): New.
3397         (unspec_got_name): Add TLS entries.
3398         (got12_operand): Add R_FRV_TLSMOFF12 case.
3399         (frv_emit_move): Fixup TLS addresses.
3400         (frv_emit_movsi): Legitimize TLS addresses.
3401
3402         * config/frv/frv.h (MASK_BIG_TLS): New.
3403         (TARGET_BIG_TLS): New.
3404         (HAVE_AS_TLS): Define.
3405         (TARGET_SWITCHES): Add -mTLS and -mtls options.
3406         (enum reg_class): Add GR8_REGS, GR9_REGS, GR89_REGS.
3407         (REG_CLASS_NAMES): Same.
3408         (REG_CLASS_CONTENTS): Same.
3409         (CONSTRAINT_LEN): New.
3410         (REG_CLASS_FROM_CONSTRAINT): New.
3411         (PREDICATE_CODES): Add symbolic_operand.
3412
3413         * config/frv/frv.md (define_constants): Add UNSPEC_GETTLSOFF,
3414         UNSPEC_TLS_LOAD_GOTTLSOFF12, UNSPEC_TLS_INDIRECT_CALL,
3415         UNSPEC_TLS_TLSDESC_LDD, UNSPEC_TLS_TLSDESC_LDD_AUX,
3416         UNSPEC_TLS_TLSOFF_LD, UNSPEC_TLS_LDDI, UNSPEC_TLSOFF_HILO,
3417         R_FRV_GOTTLSOFF_HI, R_FRV_GOTTLSOFF_LO, R_FRV_TLSMOFFHI,
3418         R_FRV_TLSMOFFLO, R_FRV_TLSMOFF12, R_FRV_TLSDESCHI,
3419         R_FRV_TLSDESCLO, R_FRV_GOTTLSDESCHI, R_FRV_GOTTLSDESCLO, GR8_REG,
3420         GR9_REG, GR14_REG, LRREG.
3421         (type): Add load_or_call attribute.
3422         ("load_or_call"): New reservation.
3423         ("call_gettlsoff"): New.
3424         ("tls_indirect_call"): New.
3425         ("tls_load_gottlsoff12"): New.
3426         ("tlsoff_hilo"): New.
3427         ("tls_tlsdesc_ldd"): New.
3428         ("tls_tlsoff_ld"): New.
3429         ("tls_lddi"): New.
3430
3431         * config/frv/frv-protos.h (symbolic_operand): Protoize.
3432
3433         2005-01-25  Alexandre Oliva  <aoliva@redhat.com>
3434
3435         * config/frv/frv.h (ASM_OUTPUT_DWARF_DTPREL): Define.
3436         * config/frv/frv-protos.h (frv_output_dwarf_dtprel): Declare.
3437         * config/frv/frv.c (TLS_BIAS): Define.
3438         (frv_output_dwarf_dtprel): New.
3439
3440 2005-01-26  Jakub Jelinek  <jakub@redhat.com>
3441
3442         PR rtl-optimization/19579
3443         * ifcvt.c (noce_try_cmove_arith): If emitting instructions to set up
3444         both A and B, see if they don't clobber registers the other expr uses.
3445
3446 2005-01-25  J"orn Rennecke <joern.rennecke@st.com>
3447
3448         * real.c (do_add): Initialize signalling and canonical members.
3449
3450         * real.c (real_from_integer): Zero out destination.
3451
3452 2005-01-18  Jan Hubicka  <jh@suse.cz>
3453
3454         PR tree-optimize/19337
3455         * tree-inline.c (initialize_inlined_parameters): Copy
3456         saved_static_chain_decl only.
3457
3458 2005-01-25  Richard Henderson  <rth@redhat.com>
3459
3460         PR target/19556
3461         PR target/19584
3462         * config/i386/i386.c (x86_inter_unit_moves): Zero.
3463         (ix86_preferred_reload_class): Rewrite fp-constant section, with
3464         80387 enabled, to return a proper subclass.  Return the subset that
3465         overlaps with GENERAL_REGS for PLUS.
3466         * config/i386/i386.md (movsi_1, movdi_2): Set type to "mmx" for pxor.
3467