OSDN Git Service

* basic-block.h (PROP_POSTRELOAD): Do not include PROP_AUTOINC, we
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
1 2004-13-12  Steven Bosscher  <stevenb@suse.de>
2
3         * basic-block.h (PROP_POSTRELOAD): Do not include PROP_AUTOINC, we
4         can never create autoinc insns after reload.
5
6 2004-12-13  Jeff Law  <law@redhat.com>
7             Kazu Hirata  <kazu@cs.umass.edu>
8
9         * tree-ssa-dom.c (thread_across_edge): Do not thread jumps if a
10         PHI argument is set from a PHI_RESULT in the same block and the
11         PHI argument is not the same as the PHI result.
12
13 2004-12-13  David Edelsohn  <edelsohn@gnu.org>
14
15         * xcoffout.c (xcoffout_declare_function): Always strip storage
16         class encoding.
17
18 2004-12-13  Andrew Pinski  <pinskia@physics.uc.edu>
19
20         PR target/18964
21         * config/darwin.c (darwin_assemble_visibility): Fix minor diagnostic
22         problem, adding a space at the end of the string before concatenation.
23
24 2004-12-13  Kazu Hirata  <kazu@cs.umass.edu>
25
26         * c-common.c (fname_as_string): Free namep if we are returning
27         cstr.text.
28
29         * tree-ssa-dom.c (record_edge_info): Fix memory leak.
30
31 2004-12-13  Andrew Pinski  <pinskia@physics.uc.edu>
32
33         * tree-cfg.c (remove_useless_stmts_cond): Call fold on COND_EXPR_COND.
34
35 2004-12-13  Kazu Hirata  <kazu@cs.umass.edu>
36
37         * tree-ssa-dom.c (record_equivalences_from_phis): Speed up by
38         doing a pointer comparison.
39
40         * tree-ssa-dom.c (record_equivalences_from_phis): Add a
41         comment.
42
43         * defaults.h, stmt.c, tree-cfg.c, tree-ssa-dce.c: Fix comment
44         typos.
45
46 2004-12-13  Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
47
48         * config/m32r/t-linux (SHLIB_MAPFILES): Add libgcc-glibc.ver to
49         the list rather than replacing the existing value.
50
51 2004-12-13  Richard Henderson  <rth@redhat.com>
52
53         * cfg.c (dump_flow_info): Don't dump pseudo info after reload.
54
55 2004-12-13  Richard Henderson  <rth@redhat.com>
56
57         * Makefile.in (insn-preds.o): Depend on REGS_H.
58         * genpreds.c (write_insn_preds_c): Include regs.h.
59         * config/i386/predicates.md (index_register_operand): Use
60         REG_OK_FOR_INDEX_STRICT_P and REG_OK_FOR_INDEX_NONSTRICT_P.
61
62         * config/i386/i386.h (REG_CLASS_FROM_LETTER): Add 'l'.
63         * config/i386/i386.md (lea_general_1, lea_general_1_zext,
64         lea_general_2, lea_general_2_zext, lea_general_3, lea_general_3_zext,
65         adddi_1_rex64, addsi_1, addsi_1_zext, addhi_1_lea, addqi_1_lea,
66         ashldi3_1_rex64, ashlsi3_1, ashlsi3_1_zext, ashlhi3_1_lea,
67         ashlqi3_1_lea): Use 'l' for index register operand.
68         (ashldi3_1_rex64 splitter): Use index_register_operand.
69         (ashlsi3_1 splitter): Be more careful with modes.
70
71 2004-12-13  Danny Smith  <dannysmith@users.sourceforge.net>
72
73         PR target/18459
74         * defaults.h (TARGET_USE_JCR_SECTION): New macro.
75         * doc/tm.texi (TARGET_USE_JCR_SECTION): Document it.
76         * config/i386/cygming.h (TARGET_USE_JCR_SECTION): Override
77         default.
78
79 2004-12-13 Uros Bizjak <uros@kss-loka.si>
80
81         PR target/14941
82         PR target/18503
83         * config/i386/i386.md (sse_movss, sse2_movsd, sse2_movhpd):
84         Fix wrong vec_merge selector bitmask.
85
86 2004-12-12  Richard Henderson  <rth@redhat.com>
87
88         PR rtl-opt/17186
89         * reg-stack.c (move_nan_for_stack_reg): New.
90         (subst_stack_regs_pat): Use it.
91         (move_for_stack_reg): Handle source register not live with a nan.
92
93 2004-12-12  Richard Henderson  <rth@redhat.com>
94
95         * config/i386/i386.c (ix86_gimplify_va_arg): Fix type mismatch
96         errors across operations.
97
98 2004-12-12  Di-an Jan  <dianj@freeshell.org>  
99
100         * doc/passes.texi (Pass Manager): Correct list of source files.
101
102 2004-12-12  Richard Henderson  <rth@redhat.com>
103
104         * expr.c (emit_move_change_mode): New.
105         (emit_move_via_alt_mode): Use it.
106
107 2004-12-12  Nathanael Nerode  <neroden@gcc.gnu.org>
108             John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
109
110         PR middle-end/17564
111         * dojump.c (do_compare_and_jump): Only canonicalize function pointers
112         in a comparison if both sides are function pointers.
113
114 2004-12-12  Richard Henderson  <rth@redhat.com>
115
116         PR target/18932
117         * config/i386/i386.md (all splits and peepholes): Use flags_reg_operand
118         and compare_operator to propagate the input CC mode to the output.
119         * config/i386/predicates.md (compare_operator): New.
120
121 2004-12-12  Andrew Pinski  <pinskia@physics.uc.edu>
122
123         PR tree-opt/18040
124         * expr.c (get_inner_reference): Remove NON_LVALUE_EXPR, NOP_EXPR,
125         CONVERT_EXPR cases.
126         (handled_component_p): Likewise.
127
128 2004-12-12  Kazu Hirata  <kazu@cs.umass.edu>
129
130         * reg-stack.c (convert_regs_2): Free stack.
131
132         * tree-ssa-dom.c (thread_across_edge, dom_opt_finalize_block): Fix
133         comment typos.
134
135 2004-12-12  Daniel Berlin  <dberlin@dberlin.org>
136
137         * tree-ssa-loop-ch.c (copy_loop_headers): Loop can be null.
138         * tree-ssa-loop-im.c (determine_lsm): tree_root may not have a real
139         inner loop.
140
141 2004-12-12  Diego Novillo  <dnovillo@redhat.com>
142
143         * tree-gimple.c (get_base_address): Update documentation.
144
145 2004-12-12  Kazu Hirata  <kazu@cs.umass.edu>
146
147         * lcm.c (optimize_mode_switching): Free ptr even when mode_set
148         is NULL_RTX.
149
150 2004-12-12  Roger Sayle  <roger@eyesopen.com>
151
152         * reg-stack.c (change_stack): Avoid placing the new top-of-stack in
153         its correct location during popping if we need to permute the stack
154         afterwards.  Attempt to preserve the original stack ordering.
155
156 2004-12-12  Kazu Hirata  <kazu@cs.umass.edu>
157
158         * lcm.c (optimize_mode_switching): Free insert and delete in
159         the "for" loop.
160
161 2004-12-11  David Edelsohn  <edelsohn@gnu.org>
162             Ulrich Weigand  <uweigand@de.ibm.com>
163
164         PR target/18641
165         * config/rs6000/darwin.h (PREFERRED_RELOAD_CLASS): Reload all
166         constants into all register classes intersecting with FLOAT_REGS
167         via memory.
168         * config/rs6000/rs6000.h (PREFERRED_RELOAD_CLASS): Same.
169         * config/rs6000/rs6000.md (movdi_internal32): Ignore FPRs when
170         choosing register preferences.
171         (movdi_internal64): Same.
172
173 2004-12-11  Kazu Hirata  <kazu@cs.umass.edu>
174
175         * tree-into-ssa.c (rewrite_ssa_into_ssa): Free SSA_NAME_AUX
176         before we release an SSA_NAME.
177
178 2004-12-11  Roger Sayle  <roger@eyesopen.com>
179
180         PR middle-end/18921
181         * fold-const.c (fold_unwidened_comparison): Use omit_one_operand
182         instead of constant_boolean_node as arg0 may have side-effects.
183
184 2004-12-10  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
185
186         * pa-host.c (pa_gt_pch_use_address): Use lseek and read to copy PCH
187         file to anonymous private map.
188
189 2004-12-10  Roger Sayle  <roger@eyesopen.com>
190
191         PR target/18002
192         PR middle-end/18424
193         * dojump.c (do_jump): When attempting to reverse the effects of
194         fold_single_bit_test, we need to STRIP_NOPS and narrowing type
195         conversions, and handle BIT_XOR_EXPR that's used to invert the
196         sense of the single bit test.
197
198 2004-12-10  Devang Patel  <dpatel@apple.com>
199
200         PR 18732
201         * gcc.c (main): Do not break out of loop when error is reported while
202         processing one source file.
203         
204 2004-12-10  Diego Novillo  <dnovillo@redhat.com>
205
206         * tree-into-ssa.c (REWRITE_THIS_STMT): Define.
207         (mark_def_sites): Clear REWRITE_THIS_STMT for statements that
208         don't need any operands rewritten.
209         (rewrite_stmt): Ignore statements that don't need to be
210         rewritten.
211         (rewrite_operand): Validate that an existing SSA_NAME is
212         identical to the current reaching definition of the operand.
213
214 2004-12-10  Diego Novillo  <dnovillo@redhat.com>
215
216         * tree-dfa.c (mark_call_clobbered_vars_to_rename): New function.
217         * tree-vectorizer.c (vectorizable_load): Call it.
218         * tree-flow.h (mark_call_clobbered_vars_to_rename): Declare.
219         * tree-sra.c (mark_all_v_defs): Also mark VUSEs for renaming.
220
221 2004-12-10  Kazu Hirata  <kazu@cs.umass.edu>
222
223         * regmove.c (combine_stack_adjustments_for_block): Free
224         memlist if it hasn't been freed.
225
226 2004-12-10  Ziemowit Laski  <zlaski@apple.com>
227
228         * c-typeck.c (lookup_field): Check if a TYPE_LANG_SPECIFIC
229         pointer field is set before dereferencing it.
230
231 2004-12-10  Andrew Pinski  <pinskia@physics.uc.edu>
232
233         PR middle-end/18903
234         * tree-cfg.c (remove_bb): Put the moved label at the beginning
235         of the basic block.
236
237 2004-12-10  Kazu Hirata  <kazu@cs.umass.edu>
238
239         * tree-data-ref.c (free_data_refs): Free each data_reference
240         object.
241
242         * tree-ssa-dom.c (thread_across_edge): Speed up by avoiding a
243         call to is_gimple_min_invariant if we know the result.
244
245 2004-12-10  Jeff Law  <law@redhat.com>
246
247         * tree-ssa-alias.c (setup_pointers_and_addressables): Remove
248         redundant test of v_ann->mem_tag_kind.
249
250         * tree-ssa-operands.c (get_indirect_ref_operands): Remove
251         redundant conditional clearing opf_kill_def.
252
253 2004-12-10  Richard Sandiford  <rsandifo@redhat.com>
254
255         * config/frv/frv-modes.def: Fix comment typos.
256         (CC_NZ): Define new mode.
257         * config/frv/frv-protos.h (frv_select_cc_mode): Declare.
258         (condexec_intop_cmp_operator): Delete.
259         * config/frv/frv.c (comparison_string): New function.
260         (frv_print_operand): Use it to handle 'c' and 'C'.
261         (relational_operator): Redefine in terms of integer_relational_operator
262         and float_relational_operator.
263         (signed_relational_operator, unsigned_relational_operator): Delete.
264         (integer_relational_operator): New predicate, combining the above.
265         Check the mode of the first operand but leave frv.md to check the rest.
266         (float_relational_operator): Just check the mode of the first operand
267         and leave frv.md to check the rest.
268         (intop_compare_operator): Assume the result is compared with zero
269         in mode CC_NZmode.  Allow PLUS and MINUS.  Leave frv.md to check
270         the operand predicates.
271         (condexec_intop_cmp_operator): Delete.
272         (frv_ifcvt_modify_tests, frv_ifcvt_modify_multiple_tests)
273         (frv_hard_regno_mode_ok): Handle CC_NZmode.
274         (frv_select_cc_mode): New function.
275         * config/frv/frv.h (SELECT_CC_MODE): Use frv_select_cc_mode.
276         (REVERSIBLE_CC_MODE): Include CC_NZmode.
277         (PREDICATE_CODES): Replace entries for signed_relational_operand and
278         unsigned_relational_operator with one for integer_relational_operator.
279         Delete entry for condexec_intop_cmp_operator.
280         * config/frv/frv.md (movcc_nz, *internal_movcc_nz, reload_incc_nz)
281         (reload_outcc_nz, *cmpsi_cc_nz, *cond_exec_cmpsi_cc_nz): New patterns.
282         (*combo_intop_compare2, *combo_intop_compare4): Delete.
283         (*combo_intop_compare1): Change mode to CC_NZ.
284         (*combo_intop_compare2): Likewise.  Renamed from *combo_intop_compare3.
285         (branch_{un,}signed_true, branch_{un,}signed_false)
286         (*scc_{un,}signed, *scc_neg1_{un,}signed, *ck_{un,}signed)
287         (*movqicc_internal1_{un,}signed, *movqicc_internal2_{un,}signed)
288         (*movhicc_internal1_{un,}signed, *movhicc_internal2_{un,}signed)
289         (*movsicc_internal1_{un,}signed, *movsicc_internal2_{un,}signed)
290         (*movsfcc_has_fprs_{un,}signed, *movsfcc_no_fprs_{un,}signed)
291         (*return_{unsigned_,}true, *return_{unsigned_,}false): Merge these
292         pattern pairs.  Use integer_relational_operator.  Remove mode from
293         icc_operand.
294
295 2004-12-10  Mark Dettinger  <dettinge@de.ibm.com>
296
297         * config/s390/s390.c (struct processor_costs): New fields ml,
298         sqdbr, sqebr.
299         (s390_rtx_costs): Added the missing handling of multiply & add,
300         square root, and umulsidi.
301
302 2004-12-10  Kazu Hirata  <kazu@cs.umass.edu>
303
304         * expmed.c (synth_mult): Initialize new_limit.latency before
305         making a recursive call.
306
307 2004-12-10  Nick Clifton  <nickc@redhat.com>
308
309         * config/mn10300/mn10300.c (legitimate_address_p): Reject address
310         whose index is itself the sum of two other parts.
311
312 2004-12-10  Alan Modra  <amodra@bigpond.net.au>
313
314         * config/t-slibgcc-sld (SHLIB_LINK): Correct symlink.
315
316 2004-12-10  Uros Bizjak  <uros@kss-loka.si>
317
318         * config/i386/i386.md (*cmpfp_sf): Change type attribute to "multi".
319
320 2004-12-09  Richard Henderson  <rth@redhat.com>
321
322         PR c/18282
323         * attribs.c (decl_attributes): Use relayout_decl.
324         * c-common.c (handle_mode_attribute): Copy all relevant type
325         parameters from the new underlying integral type.
326
327 2004-12-09  Richard Henderson  <rth@redhat.com>
328
329         * c-common.c (shorten_compare): Don't special-case min/maxval
330         for C enumerations.
331
332 2004-12-09  Richard Sandiford  <rsandifo@redhat.com>
333
334         * simplify-rtx.c (simplify_subreg): In the CONCAT case, check whether
335         the request subreg is entirely contained in the requested component.
336         (simplify_gen_subreg): Return null for CONCATs that are rejected
337         by simplify_subreg.
338         * expmed.c (store_bit_field): Create a temporary when changing the
339         value to an integer mode.
340
341 2004-12-09  David Edelsohn  <edelsohn@gnu.org>
342
343         * real.c (ibm_extended): Correct comment.
344
345 2004-12-09  Stan Shebs  <shebs@apple.com>
346
347         * config/rs6000/darwin-asm.h: New file, 32/64-bit assembly macros
348         formerly in darwin-tramp.asm.
349         * config/rs6000/darwin-tramp.asm: Include darwin-asm.h.
350         * config/rs6000/darwin-fpsave.asm: Use 32/64-bit macros.
351         * config/rs6000/t-darwin: Add dependencies.
352
353 2004-12-09  Richard Henderson  <rth@redhat.com>
354
355         PR target/17025
356         * config/i386/i386.md (testqi_1_maybe_si, andqi_2_maybe_si): New.
357         (test_qi_1, andqi_2): Do not promote to simode.
358
359 2004-12-09  Andrew Pinski  <pinskia@physics.uc.edu>
360
361         PR tree-opt/18904
362         * tree-chrec.c (chrec_convert): Use fold_convert
363         instead of convert.
364
365 2004-12-09  Matt Rice  <ratmice@yahoo.com>
366
367         PR preprocessor/18102
368         * c-incpath.c (remove_duplicates): Check for construct
369         equality.
370
371 2004-12-09  Dorit Naishlos  <dorit@il.ibm.com>
372
373         * genopinit.c (vec_realign_store_optab): Initialization removed.
374         * optabs.c (optab_for_tree_code): REALIGN_STORE_EXPR case removed.
375         * optabs.h (optab_index): OTI_vec_realign_store Removed.
376         (vec_realign_store_optab): Removed.
377         * target-def.h (TARGET_VECTORIZE_BUILTIN_MASK_FOR_STORE): Removed.
378         * target.h (builtin_mask_for_store): Removed.
379         * tree.def (REALIGN_STORE_EXPR): Removed.
380         * config/rs6000/rs6000.c (rs6000_builtin_mask_for_store): Removed.
381         (altivec_builtin_mask_for_store): Removed.
382         (altivec_init_builtins): Removed initialization of
383         altivec_builtin_mask_for_store.
384
385         * doc/tm.texi (TARGET_VECTORIZE_MISALIGNED_MEM_OK): New.
386         (TARGET_VECTORIZE_BUILTIN_MASK_FOR_LOAD): New.
387
388 2004-12-09  Nathan Sidwell  <nathan@codesourcery.com>
389
390         * tree.def (SET_TYPE): Remove.
391         (CONSTRUCTOR): Update description.
392         * builtins.c (type_to_class) Remove SET_TYPE case.
393         * dbxout.c (dbxout_type): Likewise.
394         * dwarf2out.c (is_base_type): Likewise.
395         (gen_set_type_die): Remove.
396         (gen_type_die): Remove SET_TYPE case.
397         * expr.c (count_type_elements): Likewise.
398         (mostly_zeroes_p): Likewise.
399         (store_constructor): Likewise.
400         * print_tree.c (print_node): Likewise.
401         * stor-layout.c (layout_type): Likewise.
402         * tree-browser.c (browse_tree): Likewise.
403         * tree-inline.c (remap_type): Likewise.
404         * tree-pretty-print.c (dump_generic_node): Likewise.
405         * tree.c (type_contains_plaeholder_1, type_hash_eq,
406         variably_modified_type_p, initializer_zerop): Likewise.
407         * tree.h (SET_OR_ARRAY_CHECK): Remove.
408         (AGGREGATE_TYPE_P): Remove SET_TYPE check.
409         (TYPE_DOMAIN): Use ARRAY_TYPE_CHECK.
410         * typeclass.h (enum type_class): Remove set_type_class.
411         * varasm.c (const_hash_1): Remove SET_TYPE case.
412         (compare_constant, copy_constant, output_constant): Likewise.
413         * config/i386/i386.c (classify_argument): Likewise.
414         * config/ia64/ia64.c (hfa_element_mode): Likewise.
415         * config/sparc/sparc.c (sparc_type_code): Likewise.
416
417         PR c++/16681
418         * tree-inline.c (estimate_num_insns_1): Add RANGE_EXPR case.
419
420 2004-12-08  Richard Henderson  <rth@redhat.com>
421
422         * config/i386/i386.md: Use FLAGS_REG everywhere.
423
424 2004-12-08  Eric Christopher  <echristo@redhat.com>
425
426         * config/mips/mips.c (mips_scalar_mode_supported_p): Rewrite
427         to avoid call to default function.
428
429 2004-12-08  Zack Weinberg  <zack@codesourcery.com>
430
431         PR 17982
432         * varasm.c (pending_assemble_externals): New static.
433         (assemble_external_real): Meat of assemble_external split out
434         to this new function.
435         (process_pending_assemble_externals): New function.
436         (assemble_external): Use gcc_assert.  If flag_unit_at_a_time
437         is true and the basic test passes, merely cons the decl onto
438         the pending list to be handled later.
439         * tree.h: Declare process_pending_assemble_externals.
440         * cgraphunit.c (cgraph_optimize): Call it.
441
442         * config/h8300/h8300.h: Do not define ASM_OUTPUT_EXTERNAL.
443
444 2004-12-08  Kazu Hirata  <kazu@cs.umass.edu>
445
446         * cfgloopmanip.c (create_preheader): Speed up by "unrolling"
447         and simplifying FOR_EACH_EDGE.
448
449 2004-12-08  Richard Sandiford  <rsandifo@redhat.com>
450
451         * config/frv/frv.c (frv_sort_insn_group): Always initialize
452         packet_group->nop.
453
454 2004-12-08  Nathan Sidwell  <nathan@codesourcery.com>
455
456         PR c++/18672
457         * gimplify.c (canonicalize_addr_expr): Cope with array of
458         incomplete type.
459         (gimplify_conversion): Remove redundant checks.
460
461         * doc/trouble.texi (Non-bugs): Clarify empty loop removal.
462
463 2004-12-08  Uros Bizjak  <uros@kss-loka.si>
464
465         * config/i386/i386.c (output_387_binary_op,
466         ix86_prepare_fp_compare_args): Fix is_sse condition.
467
468 2004-12-07  Uros Bizjak  <uros@kss-loka.si>
469
470         * config/i386/i386-protos.h (ix86_split_fp_branch): New rtx
471         argument.
472
473         * config/i386/i386.c (output_fp_compare): Fix is_sse condition.
474         Use EFLAGS_P only when fcomi insn should be used. Fix handling
475         of eflags_p variable. Change alt table accordingly. For non-fcomi
476         compare insn always use trailing fnstsw insn. Fix intmode
477         calculation for ficom insn.
478         (ix86_split_fp_branch): Add "rtx pushed" as new parameter. Call
479         ix86_free_from_memory when "pushed" is specified.
480         (ix86_expand_branch): Change call to ix86_split_fp_branch.
481
482         * config/i386/i386.md (*cmpfp_0_sf, *cmpfp_0_df, *cmpfp_0_xf):
483         Change eflags_p parameter in call to output_fp_compare.
484         (*cmpfp_2_sf, *cmpfp_2_df, *cmpfp_2_xf): Remove.
485         (*cmpfp_2_sf_1, *cmpfp_2_df_1, *cmpfp_2_xf_1): Rename to
486         *cmpfp_2_sf, *cmpfp_2_df, *cmpfp_2_xf.  Change eflags_p
487         parameter in call to output_fp_compare.
488         (*cmpfp_2_u): Remove.
489         (*cmpfp_2_u_1): Rename to *cmpfp_2_u. Change eflags_p parameter
490         in call to output_fp_compare.
491         (*ficom_1): Remove insn definition and corresponding define_split.
492         (*cmpfp_si): New insn definition.
493         (*fp_jcc_8): New insn definition. Add new splitters for
494         "memory_operand" and "register_operand".
495         (define_split): Add new parameter in call to ix86_split_fp_branch.
496
497         config/i386/predicates.md (float_operator): New predicate.
498
499 2004-12-08  Kazu Hirata  <kazu@cs.umass.edu>
500
501         * c-common.c (verify_tree): Don't check code length if we know
502         we are handling tcc_unary.
503         * print_tree.c (print_node): Remove code to handle RTL
504         appearing as a part of a tree node.
505         * tree-gimple.c (recalculate_side_effects): Rename fro as len.
506         * tree.c (build1_stat): Don't check TREE_CODE_LENGTH.
507         (PROCESS_ARG): Don't refer to fro.
508         (build2_stat, build3_stat, build4_stat): Don't compute fro.
509
510 2004-12-07  Roger Sayle  <roger@eyesopen.com>
511
512         PR middle-end/18293
513         * expmed.c (EXACT_POWER_OF_2_OR_ZERO_P): Move definition earlier.
514         (expand_mult): Special case powers of two to avoid synth_mult.
515         * loop.c (product_cheap_p): Handle case where expand_mult does
516         require/generate any instructions (i.e. multiplication by zero).
517
518 2004-12-07  Richard Henderson  <rth@redhat.com>
519
520         * tree-pretty-print.c (dump_array_domain): Split out from
521         dump_generic_node; fix off-by-one error on zero-based array bounds.
522         (dump_generic_node): Use it.
523         (print_declaration): Likewise.
524
525 2004-12-08  Richard Guenther <richard.guenther@uni-tuebingen.de>
526
527         * doc/invoke.texi: Adjust default values for
528         large-function-growth and inline-unit-growth to match
529         params.def.  Clarify used algorithm.
530
531 2004-12-07  David Mosberger  <davidm@hpl.hp.com>
532
533         PR target/18443
534         * config/ia64/ia64.c (ia64_assemble_integer): Add support for
535         emitting unaligned pointer-sized integers.
536
537 2004-12-07  Steven Bosscher  <stevenb@suse.de>
538
539         PR c/18867
540         * c-typeck.c (c_start_case): Set orig_type to error_mark_node
541         when the type of the controlling expression is not a valid type.
542
543 2004-12-07  Steven Bosscher  <stevenb@suse.de>
544
545         PR tree-optimization/17340
546         * tree-ssa-pre.c (compute_antic): Fix comment.
547         (compute_avail): Do not recurse, instead do a DFS using a stack
548         and a loop.
549         (execute_pre): Adjust.
550
551 2004-12-07  Ziemowit Laski  <zlaski@apple.com>
552
553         * c-tree.h (struct lang_type): Rename 'objc_protocols' field
554         to 'objc_info'.
555
556 2004-12-07  Eric Christopher  <echristo@redhat.com>
557
558         PR target/16317
559         * config/netbsd.h (NO_IMPLICIT_EXTERN_C): Define.
560
561 2004-12-07  Eric Christopher  <echristo@redhat.com>
562
563         * config/mips/mips-protos.h (mips_valid_pointer_mode): Move
564         prototype...
565         * config/mips/mips.c: ... here. Make static.
566
567 2004-12-07  Eric Christopher  <echristo@redhat.com>
568
569         PR target/18442
570         * config/mips/mips.c (mips_vector_mode_supported_p): New function.
571         (TARGET_SCALAR_MODE_SUPPORTED_P): Define to above.
572
573 2004-12-07  Kazu Hirata  <kazu@cs.umass.edu>
574
575         * c-common.c, expr.c, fold-const.c, print-tree.c,
576         tree-gimple.c, tree-inline.c, tree-pretty-print.c,
577         tree-ssa-loop-im.c, tree-ssa-loop-ivopts.c: Replace uses of
578         first_rtl_op with TREE_CODE_LENGTH.
579         * tree.c (first_rtl_op): Remove.
580         Replace uses of first_rtl_op with TREE_CODE_LENGTH.
581         * tree.h: Remove the prototype for first_rtl_op.
582
583 2004-12-07  David Edelsohn  <edelsohn@gnu.org>
584
585         * config/rs6000/t-aix43, config/rs6000/t-aix52 (SHLIB_LINK):
586         Revert 2004-12-01 change.
587
588 2004-12-06  Ziemowit Laski  <zlaski@apple.com>
589
590         * c-tree.h (struct lang_type): Add 'objc_protocols' field.
591
592 2004-12-06  DJ Delorie  <dj@redhat.com>
593
594         * reload.c (find_valid_class): Fix logic to test inner mode as well.
595         (push_reload): Pass inner mode.
596
597 2004-12-06  Eric Christopher  <echristo@redhat.com>
598
599         * doc/tm.texi (TARGET_VALID_POINTER_MODE): Document.
600
601 2004-12-06  Aldy Hernandez  <aldyh@redhat.com>
602
603         * config/rs6000/sysv4.h: Define RELOCATABLE_NEEDS_FIXUP to 1.
604
605 2004-12-06  Zdenek Dvorak  <dvorakz@suse.cz>
606             Kazu Hirata  <kazu@cs.umass.edu>
607
608         PR tree-optimization/18601
609         * tree-cfg.c (thread_jumps, thread_jumps_from_bb): Removed.
610         (tree_forwarder_block_p): Do not consider blocks that are its own
611         successors forwarders.
612         (cleanup_forwarder_blocks, remove_forwarder_block): New functions.
613         (cleanup_tree_cfg): Use cleanup_forwarder_blocks instead of
614         thread_jumps.
615         * tree-flow.h (bb_ann_d): Remove forwardable.
616
617 2004-12-06  Kazu Hirata  <kazu@cs.umass.edu>
618
619         * expr.c (expand_expr_real_1): Remove an "if" whose condition
620         is always false.
621
622 2004-12-06  Roger Sayle  <roger@eyesopen.com>
623
624         * c-gimplify.c (gimplify_c_loop): Improve initial implementations
625         for loops whose conditions are known at compile-time.
626         * gimplify.c (append_to_statement_list_1): Remove side_effects
627         parameter, this function should never be called if its false.
628         (append_to_statement_list): Only call append_to_statement_list_1
629         if t is non-NULL tree with side-effects.
630         (append_to_statement_list_force):  Likewise, if t is not NULL.
631
632 2004-12-06  J"orn Rennecke <joern.rennecke@st.com>
633
634         * bt-load.c (btr_def_s): New member own_end;
635         (add_btr_to_live_range): Add second parameter.  Changed caller.
636         (clear_btr_from_live_range): Clear btrs_live_at_end bit
637         for the register its definition basic block if own_end is set.
638         (augment_live_range): Also take btrs_live_at_end into account.
639         (combine_btr_defs): Don't bother with
640         other_def->other_btr_uses_after_use if it pertains to a different
641         register.
642         (move_btr_def): Set def->other_btr_uses_before_def after
643         calling combine_btr_defs."
644
645         * bt-load.c (augment_live_range): New argument full_range.
646         Changed all callers.
647
648         * bt-load.c (move_tr_def): Set other_tr_uses_before_def
649         taking new btr assignment into account.
650
651 2004-12-05  Daniel Berlin <dberlin@dberlin.org>
652
653         * tree-ssa-alias.c (create_global_var): Use void_type_node,
654         not size_type_node.
655
656 2004-12-05  Kazu Hirata  <kazu@cs.umass.edu>
657
658         * expr.c (expand_expr_real_1): Abort on COND_EXPR of
659         VOID_TYPE.
660
661 2004-12-05  Richard Henderson  <rth@redhat.com>
662
663         PR target/18841
664         * config/alpha/alpha.md (UNSPECV_SETJMPR_ER): New.
665         (builtin_setjmp_receiver_er_sl_1): Use it.
666         (builtin_setjmp_receiver_er_1): Likewise.
667         (builtin_setjmp_receiver_er, exception_receiver_er): Remove.
668         (builtin_setjmp_receiver): Don't split for explicit relocs until
669         after reload.
670         (exception_receiver): Likewise.
671
672 2004-12-05  Andrew Pinski  <pinskia@physics.uc.edu>
673
674         * mklibgcc.in (vis_hide): Add the prototype for the test.
675
676 2004-12-05  Roger Sayle  <roger@eyesopen.com>
677
678         * c-typeck.c (c_finish_loop): Improve initial implementations
679         for loops whose conditions are known at compile-time.
680
681 2004-12-05  Kazu Hirata  <kazu@cs.umass.edu>
682
683         * builtins.c: Fix comment typos.
684
685 2004-12-04  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
686
687         PR middle-end/18730
688         * emit-rtl.c (get_first_nonnote_insn, get_last_nonnote_insn): When
689         the first/last insn is a sequence, return the first/last insn of the
690         sequence.
691
692         PR bootstrap/18804
693         * mklibgcc.in (vis_hide): Use implementation instead of declaration
694         for test function.
695
696 2004-12-04  Richard Henderson  <rth@redhat.com>
697
698         * config/alpha/alpha.c (alpha_expand_unaligned_load): Don't forget to
699         use ofs in BWX two byte special case.
700         (alpha_expand_unaligned_store): Likewise.
701
702 2004-12-04  Kazu Hirata  <kazu@cs.umass.edu>
703
704         * gcse.c (gcse_main): Add a comment.
705
706 2004-12-04  Andrew  Pinski  <pinskia@physics.uc.edu>
707
708         PR middle-end/17909
709         * builtins.c (fold_builtin_next_arg): Export and return true
710         when there is a warning or an error.
711         (expand_builtin_va_start): When fold_builtin_next_arg returns true,
712         return const0_rtx.
713         (expand_builtin): Likewise.
714         * gimplify.c (gimplify_call_expr): Error out if there is not
715         enough arguments to va_start. Call fold_builtin_next_arg also
716         on the second argument.
717         * tree.h (fold_builtin_next_arg): Prototype.
718
719 2004-12-04  Alan Modra  <amodra@bigpond.net.au>
720
721         * mklibgcc.in: Build shared libgcc and shared libunwind in gcc/.
722         Don't subst shlib_dir for SHLIB_LINK, SHLIBUNWIND_LINK,
723         SHLIB_INSTALL, and SHLIBUNWIND_INSTALL.
724         * config/i386/t-nwld (SHLIB_NAME): Use shlib_base_name in place of
725         shlib_dir and shlib_so_name.
726         * config/mips/t-slibgcc-irix (SHLIB_NAME): Likewise.
727         * config/t-libunwind-elf (SHLIB_NAME): Likewise.
728         * config/t-slibgcc-darwin (SHLIB_NAME): Likewise.
729         * config/t-slibgcc-elf-ver (SHLIB_NAME): Likewise.
730         * config/t-slibgcc-sld (SHLIB_NAME): Likewise.
731         (SHLIB_LINK): Don't use shlib_dir when creating symlink.
732
733 2004-12-03  Roger Sayle  <roger@eyesopen.com>
734
735         * doc/tm.texi (TARGET_DELEGITIMIZE_ADDRESS): Document target hook.
736
737 2004-12-03  Richard Henderson  <rth@redhat.com>
738
739         * alias.c (component_uses_parent_alias_set): Rename from
740         can_address_p.  Return bool.  Reverse the sense of the result.
741         Reinstate the check for alias set zero.
742         (get_alias_set): Update to match.
743         * alias.h (component_uses_parent_alias_set): Likewise.
744         * emit-rtl.c (set_mem_attributes_minus_bitpos): Likewise.
745         * expr.c (expand_assignment): Likewise.
746         * expr.h: Remove commented out prototypes that were moved to alias.h.
747
748 2004-12-03  Richard Henderson  <rth@redhat.com>
749
750         * doc/tm.texi (TARGET_BUILD_BUILTIN_VA_LIST): New.
751         (TARGET_CANNOT_FORCE_CONST_MEM): New.
752
753 2004-12-04  Alan Modra  <amodra@bigpond.net.au>
754
755         PR middle end/18718
756         * sched-rgn.c (schedule_region): Don't assume REG_SAVE_NOTEs are
757         in pairs.
758         * sched-ebb.c (schedule_ebb): Likewise.
759
760 2004-12-03  Andreas Schwab  <schwab@suse.de>
761
762         * Makefile.in (HOSTHOOKS_DEF_H): Define.
763         (ggc-common.o): Depend on $(HOSTHOOKS_DEF_H).
764         (host-default.o): Likewise.
765
766 2004-12-03  Eric Christopher  <echristo@redhat.com>
767
768         * config/stormy16/stormy16.md (pushqi, popqi, pushhi,
769         pophi): Add number of arguments to name so that the
770         pattern is recognized as a named pattern.
771
772 2004-12-03  Janis Johnson  <janis187@us.ibm.com>
773
774         * doc/extend.texi (AltiVec Builtins): Fix info about signedness.
775
776 2004-12-03  Andreas Tobler  <a.tobler@schweiz.ch>
777
778         * config/rs6000/rs6000.c (rs6000_override_options): Protect
779         darwin_one_byte_bool with #if.
780
781 2004-12-03  Paolo Bonzini  <bonzini@gnu.org>
782
783         * doc/tm.texi (Misc): Document TARGET_FOLD_BUILTIN.
784
785 2004-12-03  H.J. Lu  <hongjiu.lu@intel.com>
786
787         * mklibgcc.in: Put back the default set of EXTRA_MULTILIB_PART.
788
789 2004-12-03  Richard Sandiford  <rsandifo@redhat.com>
790
791         * configure.ac: Move TL_AC_GCC_VERSION into initialization section.
792         Set libstdcxx_incdir directly.
793         * configure: Regenerate.
794
795 2004-12-03  Kazu Hirata  <kazu@cs.umass.edu>
796
797         * tree-ssa-dom.c (record_equivalences_from_phis): Remove an
798         "if" whose condition is always true.
799
800         * cfgrtl.c (rtl_verify_flow_info_1): Use JUMP_P instead of
801         INSN_P.
802
803 2004-12-02  Stan Shebs  <shebs@apple.com>
804
805         * config/rs6000/rs6000.c (rs6000_override_options): Make 64-bit
806         Darwin default to one-byte bools.
807
808 2004-12-02  Richard Henderson  <rth@redhat.com>
809
810         PR 18774
811         * simplify-rtx.c (simplify_immed_subreg): Fail complex modes.
812
813 2004-12-03  Ben Elliston  <bje@au.ibm.com>
814
815         * doc/cfg.texi (Edges): Update. Document the edge_iterator data
816         type and its methods.
817
818 2004-12-02  Richard Henderson  <rth@redhat.com>
819
820         * expr.c (write_complex_part): Use simplify_gen_subreg when the
821         submode is at least as large as a word.
822         (read_complex_part): Likewise.
823
824 2004-12-02  H.J. Lu  <hongjiu.lu@intel.com>
825
826         PR bootstrap/18532
827         * mklibgcc.in: Build one set of EXTRA_MULTILIB_PARTS for
828         multilib at a time. Don't build the default set. Don't add
829         EXTRA_MULTILIB_PARTS to shared libunwind nor libgcc. Remove
830         filter for shared libunwind and libgcc.
831
832 2004-12-02  Roger Sayle  <roger@eyesopen.com>
833
834         PR target/18759
835         * config/i386/i386.c (override_options): If -fomit-frame-pointer has
836         already been specified, ignore the -momit-leaf-frame-pointer option.
837
838 2004-12-02  H.J. Lu  <hongjiu.lu@intel.com>
839
840         * varasm.c (make_decl_rtl): Add the missing `;'.
841
842 2004-12-02  Andrew Pinski  <pinskia@physics.uc.edu>
843
844         * tree.c (is_attribute_p): Split out to ..
845         (is_attribute_with_length_p): Here.  Use IDENTIFIER_LENGTH instead
846         of strlen and compare the string lengths before calling strcmp.
847         (lookup_attribute): Call is_attribute_with_length_p instead of
848         is_attribute_p.
849
850 2004-12-02  Devang Patel  <dpatel@apple.com>
851
852         * config/darwin.h (TARGET_OPTION_TRANSLATE_TABLE): Add -gfull and -gused.
853         * config/rs6000/darwin.h (CC1_SPEC): Do not handle -gfull and -gused.
854         * config/i386/darwin.h (CC1_SPEC): Same.
855
856 2004-12-02  Richard Henderson  <rth@redhat.com>
857
858         * optabs.c (lowpart_subreg_maybe_copy): New.
859         (expand_unop, expand_abs_nojump): Use it.
860
861 2004-12-02  J"orn Rennecke <joern.rennecke@st.com>
862
863         * sh.md (extv, extzv): Add pattern predicate.
864
865 2004-12-02  Kazu Hirata  <kazu@cs.umass.edu>
866
867         * tree-cfg.c (phi_alternatives_equal): Check that PHI_ARG_DEF
868         is not null.
869
870         * tree-cfg.c (phi_alternatives_equal): Check that PHI_ARG_DEF
871         is not null.
872
873         * tree-cfg.c (thread_jumps): Reduce the size of WORKLIST.
874
875 2004-12-02  Jeff Law  <law@redhat.com>
876
877         * tree-eh.c: Revert yesterday's change.
878
879 2004-12-02  Andrew Pinski  <pinskia@physics.uc.edu>
880
881         * varasm.c (decode_reg_name): Revert change to check for zero
882         length strings.
883         (make_decl_rtl): Make sure that we call decode_reg_name only
884         when needed.
885
886 2004-12-02  Dorit Naishlos  <dorit@il.ibm.com>
887
888         PR tree-opt/18716
889         * tree-vectorizer.c (slpeel_make_loop_iterate_ntimes): Properly set
890         then and else labels.
891
892 2004-12-02  Andreas Schwab  <schwab@suse.de>
893
894         * Makefile.in (WERROR_FLAGS): Renamed from WERROR.
895         (STRICT2_WARN): Use $(WERROR_FLAGS) instead of $(WERROR).
896         (STAGE2_FLAGS_TO_PASS): Likewise.
897
898         * config/i386/x-mingw32: Set WERROR_FLAGS instead of WERROR.
899
900 2004-12-02  Richard Sandiford  <rsandifo@redhat.com>
901
902         * configure.ac: Use TL_AC_GCC_VERSION to set gcc_version.  Remove
903         now-redundant AC_SUBSTs.
904         * aclocal.m4: Include ../config/gcc-version.m4.
905         * configure: Regenerate.
906
907 2004-12-02  Alan Modra  <amodra@bigpond.net.au>
908
909         * config/rs6000/rs6000.c (rs6000_assemble_integer): Put back the
910         #ifdef RELOCATABLE_NEEDS_FIXUP.
911
912 2004-12-01  Roger Sayle  <roger@eyesopen.com>
913
914         PR target/9908
915         * config/i386/i386.md (*call_value_1, *sibcall_value_1): Correct
916         Intel assembler syntax by using %A1 instead of %*%1.
917
918 2004-12-01  Richard Henderson  <rth@redhat.com>
919
920         * expr.c (expand_assignment): Handle CONCAT both as a final
921         destination and as a middle point.
922
923 2004-12-01  Jeff Law  <law@redhat.com>
924
925         * tree-eh.c (save_eptr, save_filt): Now file scoped statics.
926         (honor_protect_cleanup_actions): Only create save_eptr and
927         save_filt if they do not already exist.
928         (lower_eh_constructs): Wipe all knowledge of save_eptr and
929         save_filt before returning.
930
931 2004-12-02  Kazu Hirata  <kazu@cs.umass.edu>
932
933         * tree-phinodes.c (remove_phi_arg_num): Fix a comment.
934
935 2004-12-02  Alan Modra  <amodra@bigpond.net.au>
936
937         PR target/16952
938         * config/rs6000/rs6000.c (rs6000_assemble_integer): Replace
939         #ifdef RELOCATABLE_NEEDS_FIXUP with if.
940         * config/rs6000/linux.h (RELOCATABLE_NEEDS_FIXUP): Define in terms
941         of target_flags_explicit.
942         * config/rs6000/linux64.h (RELOCATABLE_NEEDS_FIXUP): Ditto for biarch
943         case.  Define as 0 for non-biarch.
944
945 2004-12-01  Zack Weinberg  <zack@codesourcery.com>
946
947         * config/rs6000/t-aix43, config/rs6000/t-aix52 (SHLIB_LINK):
948         Change temporary file tag from a prefix to an infix.
949
950 2004-12-02  Andreas Schwab  <schwab@suse.de>
951
952         * gcc.c (struct option_map): Add entry for "--pass-exit-codes".
953
954 2004-12-01  Andrew Pinski  <pinskia@physics.uc.edu>
955
956         PR tree-opt/18763
957         PR tree-opt/18746
958         * tree-ssa-alias.c (init_alias_info): Get statement operands for all
959         the statements if aliases_computed_p is true.
960
961 2004-12-01  Mark Mitchell  <mark@codesourcery.com>
962
963         * Makefile.in (WERROR): New variable.
964         (STRICT2_WARN): Use it.
965         (STAGE2_FLAGS_TO_PASS): Likewise.
966         * config/i386/x-mingw32 (WERROR): Add -Wno-format.
967
968 2004-12-01  Richard Henderson  <rth@redhat.com>
969
970         * expr.c (get_inner_reference): Fix thinko in REAL/IMAGPART_EXPR
971         offsetting.
972
973 2004-12-01  Diego Novillo  <dnovillo@redhat.com>
974
975         PR tree-optimization/18291
976         * tree-ssa-copy.c (merge_alias_info): Fix merging of
977         flow-sensitive alias information.  If the new pointer has no
978         name tag, copy it from the original pointer.  Otherwise, make
979         sure that the pointed-to sets have a common intersection.
980
981 2004-12-01  Richard Henderson  <rth@redhat.com>
982
983         PR rtl-opt/15289
984         * emit-rtl.c (gen_complex_constant_part): Remove.
985         (gen_realpart, gen_imagpart): Remove.
986         * rtl.h (gen_realpart, gen_imagpart): Remove.
987         * expmed.c (extract_bit_field): Remove CONCAT hack catering to
988         gen_realpart/gen_imagpart.
989         * expr.c (write_complex_part, read_complex_part): New.
990         (emit_move_via_alt_mode, emit_move_via_integer, emit_move_resolve_push,
991         emit_move_complex_push, emit_move_complex, emit_move_ccmode,
992         emit_move_multi_word): Split out from ...
993         (emit_move_insn_1): ... here.
994         (expand_expr_real_1) <COMPLEX_EXPR>: Use write_complex_part.
995         <REALPART_EXPR, IMAGPART_EXPR>: Use read_complex_part.
996         * function.c (assign_parm_setup_reg): Hard-code transformations
997         instead of using gen_realpart/gen_imagpart.
998
999         * expr.c (optimize_bitfield_assignment_op): Split out from ...
1000         (expand_assignment): ... here.  Use handled_component_p to gate
1001         get_inner_reference code.  Simplify MEM handling.  Special case
1002         CONCAT destinations.
1003
1004         * expmed.c (store_bit_field): Use simplify_gen_subreg instead
1005         of gen_rtx_SUBREG directly.
1006
1007 2004-12-01  David Edelsohn  <edelsohn@gnu.org>
1008             Nathan Sidwell  <nathan@codesourcery.com>
1009
1010         PR target/17107
1011         * config/rs6000/rs6000.md (sge): Enable for non-TARGET_POWER.
1012         (sgt): Same.
1013         (sle): Same.
1014         (slt): Same.
1015
1016 2004-12-01  Nathan Sidwell  <nathan@codesourcery.com>
1017
1018         PR middle-end/18667
1019         * params.c (set_param_value): Add range check.
1020         * params.def: Add min and max values. Reformat long strings.
1021         * params.h (struct param_info): Add min and max fields.
1022         (enum compiler_param): Adjust DEFPARAM.
1023         * toplev.c (lang_independent_params): Likewise.
1024
1025 2004-12-01  Alan Modra  <amodra@bigpond.net.au>
1026
1027         PR target/12817
1028         * config/rs6000/rs6000.c (rs6000_emit_prologue): Use r0 for vrsave.
1029
1030 2004-12-01  Joseph S. Myers  <joseph@codesourcery.com>
1031
1032         * doc/standards.texi: Update for C99 TC2.
1033
1034 2004-11-30  Jeff Law  <law@redhat.com>
1035
1036         * sbitmap.c (sbitmap_any_common_bits): New function.
1037         * sbitmap.h (sbitmap_any_common_bits): Prototype.
1038         * modulo-sched.c (sms_schedule_by_order): Use sbitmap_any_common_bits
1039         No longer allocate/free "psp", "pss" sbitmaps.
1040         * tree-ssa-alias.c (compute_flow_insensitive_aliasing): Similarly for
1041         the "res" sbitmap.
1042         (group_aliases): Similarly.
1043
1044 2004-11-30  Nathan Sidwell  <nathan@codesourcery.com>
1045
1046         * tree-vectorizer.c (vect_analyze_data_refs): Reformat and avoid
1047         uninitialized variable.
1048
1049 2004-11-30  Eric Christopher  <echristo@redhat.com>
1050
1051         * fold-const.c (fold_widened_comparison): Make sure that we're
1052         passing an INTEGER_TYPE to int_fits_type_p.
1053         (fold): Clean up comment.
1054
1055 2004-11-30  Zack Weinberg  <zack@codesourcery.com>
1056
1057         * mklibgcc.in: Correct calculation of libgcc_s_soname and
1058         libunwind_soname.  Use $out, not $outS, in commands for
1059         no-shared-library case.  Move EXTRA_MULTILIB_PARTS rules above
1060         library build rules, make $libunwind_so and $libgcc_s_so
1061         depend on them in the normal fashion, and filter those objects
1062         out of @shlib_objs@.
1063
1064 2004-11-30  Janis Johnson  <janis187@us.ibm.com>
1065
1066         * config/rs6000/altivec.h (vec_step_help): Support const vector types.
1067
1068 2004-11-30  Andrew Pinski  <pinskia@physics.uc.edu>
1069
1070         PR tree-opt/18298
1071         * tree-optimize.c (init_tree_optimization_passes): Add a may_alias
1072         pass right after fold builtins.
1073
1074 2004-11-30  Andreas Krebbel  <krebbel1@de.ibm.com>
1075
1076         * config/s390/s390-modes.def: Added cc modes documentation.
1077         * config/s390/s390.c: (s390_tm_ccmode, s390_select_ccmode,
1078         s390_expand_addcc): Added cc mode comments.
1079         * config/s390/s390.md: Removed old cc mode documentation.
1080
1081 2004-11-30  Mark Dettinger  <dettinge@de.ibm.com>
1082
1083         * config/s390/s390.c (struct processor_costs): New data type.
1084         (s390_cost, z900_cost, z990_cost): New global variables.
1085         (override_options): Initialize s390_cost.
1086         (s390_rtx_costs): Reimplement.
1087
1088 2004-11-29  Daniel Berlin  <dberlin@dberlin.org>
1089
1090         Fix PR tree-optimization/18673
1091
1092         * tree-ssa-pre.c: Remove splay-tree.h include.
1093         (bitmap_value_replace_in_set): Fix to add if it does not exist.
1094         (find_or_generate_expression): Remove now-wrong condition.
1095         (create_expression_by_pieces): Fix condition and comment reason
1096         for it.
1097         (insert_aux): Fix condition and comment reasons for it.
1098         Factor insertion code from here.
1099         (insert_into_preds_of_block): To here.  Fix conditions in factored
1100         function and comment reasons for them.
1101
1102 2004-11-30  Ira Rosen  <irar@il.ibm.com>
1103
1104         PR tree-opt/18607
1105         * tree-vectorizer.c (vect_analyze_data_refs): Use temporary
1106         variable for data_reference when looking for memtag.
1107
1108 2004-11-30  Jakub Jelinek  <jakub@redhat.com>
1109
1110         * c-opts.c (check_deps_environment_vars): If spec != NULL, set
1111         deps_seen.
1112
1113 2004-11-30  Dorit Naishlos  <dorit@il.ibm.com>
1114
1115         * tree-vectorizer.c (vect_gen_niters_for_prolog_loop): Use
1116         tree_low_cst instead of TREE_INT_CST_LOW.
1117
1118 2004-11-30  Dorit Naishlos  <dorit@il.ibm.com>
1119
1120         PR target/18173
1121         * tree-vectorizer.c (vect_can_force_dr_alignment_p): Return false for
1122         decls that are assembled before vectorization takes place.
1123         (vect_compute_data_ref_alignment): Set DECL_USER_ALIGN to 1.
1124
1125 2004-11-30  Ulrich Weigand  <uweigand@de.ibm.com>
1126
1127         * passes.c (rest_of_handle_old_regalloc): Delete unreachable blocks
1128         if local_alloc modified jumps.
1129
1130 2004-11-30  Alan Modra  <amodra@bigpond.net.au>
1131
1132         * varasm.c (default_encode_section_info): Don't set SYMBOL_FLAG_SMALL
1133         on TLS symbols.
1134         * config/rs6000/rs6000.c (rs6000_elf_in_small_data_p): Remove TLS
1135         check.
1136
1137 2004-11-30  Zack Weinberg  <zack@codesourcery.com>
1138
1139         * gthr-gnat.c, gthr-gnat.h, gthr.h, libgcc2.h, unwind-dw2-fde.h
1140         * unwind.h: Surround all visibility pragmas with #ifndef HIDE_EXPORTS.
1141
1142         * mklibgcc.in: Drastic restructure for comprehensibility.
1143         Remove the old hidden-directive hack.
1144         Eliminate support for .txt files in LIB2ADD etc (never used).
1145         Eliminate support for assembly source files in LIB2ADDEH* and
1146         LIBUNWIND (also never used).
1147         Build up dependency lists for libraries incrementally.
1148         If we have SHLIB_LINK, compile each file twice, once for the
1149         static and once for the shared library; also probe for
1150         -fvisibility=hidden in the generated libgcc.mk.  If found,
1151         pass that and -DHIDE_EXPORTS to the compilation of every C
1152         source file going into the static library.  If found, generate
1153         hidden-directive lists for every assembly source file going
1154         into the static library, but incorporate them with -include
1155         instead of ld -r.
1156         Write comments into generated libgcc.mk to facilitate debugging.
1157         * Makefile.in: Pass ASM_HIDDEN_OP to mklibgcc.
1158         * config/t-slibgcc-darwin: Define ASM_HIDDEN_OP.
1159
1160         * config/darwin.h (REAL_LIBGCC_SPEC): Put -lgcc back in
1161         -Zdynamiclib case.
1162
1163 2004-11-29  Richard Henderson  <rth@redhat.com>
1164
1165         * expr.c (get_inner_reference): Handle REAL/IMAGPART_EXPR.
1166         (handled_component_p): Likewise.
1167         * alias.c (can_address_p): Reformat and simplify.  Handle
1168         REAL/IMAGPART_EXPR.  Do not disable addressability based on
1169         alias set zero.
1170         * fold-const.c (build_fold_addr_expr_with_type): Remove duplicate
1171         check for REAL/IMAGPART_EXPR.
1172         * gimplify.c (gimplify_compound_lval): Likewise.
1173         * tree-cfg.c (verify_expr): Likewise.
1174         * tree-gimple.c (is_gimple_addressable, get_base_address): Likewise.
1175         * tree-nested.c (build_addr, convert_nonlocal_reference): Likewise.
1176         (convert_local_reference): Likewise.
1177         * tree-ssa-loop-ivopts.c (prepare_decl_rtl): Likewise.
1178
1179 2004-11-30  Alan Modra  <amodra@bigpond.net.au>
1180
1181         * expr.c (emit_group_load_1): Don't die on const_int orig_src.
1182
1183 2004-11-29  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
1184
1185         PR pch/14940
1186         * config/pa/pa-host.c, config/pa/x-hpux, config/pa/x-linux: New files.
1187         * config.host (hppa*-*-hpux*, hppa*-*-linux): Define out_host_hook_obj
1188         and host_xmake_file using new host configuration files.
1189
1190 2004-11-29  Roger Sayle  <roger@eyesopen.com>
1191
1192         * reg-stack.c (change_stack): Improve algorithm used to pop regs
1193         off the stack to maximize ffreep usage and reduce fxch count.
1194
1195 2004-11-30  James A. Morrison  <phython@gcc.gnu.org>
1196
1197         PR middle-end/18596
1198         * c-decl.c (grokdeclarator): Reset DECL_INTIAL to error_mark_node
1199         on errors.
1200
1201 2004-11-30  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1202
1203         * expr.c (expand_expr_real_1, case NOP_EXPR): Properly handle
1204         REDUCE_BIT_FIELD by applying it to result, not input, of conversion.
1205
1206 2004-11-30  Ben Elliston  <bje@au.ibm.com>
1207
1208         * Makefile.in (REGS_H): Depend on $(BASIC_BLOCK_H).
1209
1210 2004-11-29  Andrew Pinski  <pinskia@physics.uc.edu>
1211
1212         PR c/18479
1213         * c-common.c (handle_visibility_attribute): When the type decl
1214         is really a identifier node, warn about being ignored and return.
1215
1216 2004-11-29  Richard Henderson  <rth@redhat.com>
1217
1218         * tree-cfg.c (tree_node_can_be_shared): Fix typo'd error_mark_node.
1219
1220 2004-11-29  Steven Bosscher  <stevenb@suse.de>
1221
1222         * cfgcleanup.c (outgoing_edges_match, try_crossjump_to_edge):
1223         Remove CASE_DROPS_THROUGH checks, it is never defined.
1224         * cfglyout.c (fixup_reorder_chain): Likewise.
1225         * cfgrtl.c (rtl_verify_flow_info): Likewise.
1226         * stmt.c (expand_case): Likewise.
1227         * cfgbuild.c (make_edges): Likewise.  Also remove force_fallthru,
1228         it is now always 0.
1229         * system.h (CASE_DROPS_THROUGH): Poison.
1230         * doc/md.texi (casesi): Remove documentation of CASE_DROPS_THROUGH.
1231         * doc/tm.texi (casesi): Remove documentation of CASE_DROPS_THROUGH.
1232
1233         * config/v850/v850.h: Remove commented out CASE_DROPS_THROUGH.
1234
1235 2004-11-29  Andrew Pinski  <pinskia@physics.uc.edu>
1236
1237         PR middle-end/18725
1238         * tree-cfg.c (tree_node_can_be_shared): Error_mark_node can be
1239         shared always.
1240
1241 2004-11-29  Diego Novillo  <dnovillo@redhat.com>
1242
1243         PR tree-optimization/18712
1244         * tree-into-ssa.c (insert_phi_nodes_for): Pass argument
1245         WORK_STACK by reference.
1246         Call VEC_safe_push instead of VEC_quick_push.
1247         Update all users.
1248
1249 2004-11-29  Daniel Jacobowitz  <dan@codesourcery.com>
1250
1251         PR c/7544
1252         * Makefile.in (c-lang.o): Update dependencies.
1253         * c-lang.c: Include "c-pragma.h".
1254         (finish_file): Call maybe_apply_pending_pragma_weaks.
1255         * c-pragma.c (maybe_apply_pending_pragma_weaks): New function.
1256         * c-pragma.h (maybe_apply_pending_pragma_weaks): New prototype.
1257
1258 2004-11-29  Richard Henderson  <rth@redhat.com>
1259
1260         PR target/17224
1261         * config/ia64/predicates.md (sdata_symbolic_operand): Deny offsets
1262         outside the referenced object.
1263
1264 2004-11-29  Kazu Hirata  <kazu@cs.umass.edu>
1265
1266         * tree-if-conv.c (replace_phi_with_cond_modify_expr): Use
1267         EDGE_PRED instead of PHI_ARG_EDGE.
1268         * tree-ssa-live.c: Likewise.
1269         * tree-ssa-loop-manip.c: Likewise.
1270         * tree-ssa.c: Likewise.
1271
1272         * cfgrtl.c (cfg_layout_redirect_edge_and_branch): Speed up by
1273         simplifying edge manipulation.
1274
1275         * cfgrtl.c (rtl_tidy_fallthru_edge): Speed up by using
1276         EDGE_COUNT.
1277
1278         * tree-cfg.c (tree_redirect_edge_and_branch): Call find_edge
1279         only when needed.
1280
1281         * cfg.c (flow_obstack): Remove.
1282         (flow_firstobj): Likewise.
1283         (init_flow): Remove all uses of flow_obstack.
1284
1285 2004-11-29  Alan Modra  <amodra@bigpond.net.au>
1286
1287         * varasm.c (default_elf_select_section_1): Only pass DECL_P decl
1288         to named_section.
1289
1290 2004-11-29  Nathan Sidwell  <nathan@codesourcery.com>
1291
1292         * opts.c (decode_options): Do not set max-inline-insns-rtl.
1293         (common_handle_option): Likewise.
1294         * params.def (PARAM_MAX_INLINE_INSNS_RTL): Remove.
1295         * params.h (MAX_INLINE_INSNS_RTL): Remove.
1296         * doc/invoke.texi (max-inline-insns-rtl): Remove.
1297
1298 2004-11-29  Alan Modra  <amodra@bigpond.net.au>
1299
1300         PR target/9571
1301         * varasm.c (default_elf_select_section_1): Pass decl to named_section.
1302
1303 2004-11-28  Andrew Pinski  <pinskia@physics.uc.edu>
1304
1305         PR middle-end/18164
1306         * gimplify.c (gimplify_asm_expr): If the length of an output operand
1307         is zero, do not process it, just let it go through.
1308
1309 2004-11-28  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1310             Diego Novillo  <dnovillo@redhat.com>
1311
1312         PR/18662, also backported from tree-cleanup-branch.
1313         * tree-ssa-ccp.c (substitute_and_fold): If replaced anything,
1314         always call maybe_clean_eh_stmt and modify_stmt.
1315
1316 2004-11-28  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1317
1318         PR/18664
1319         * tree-ssa-operands.c (build_ssa_operands, case MODIFY_EXPR):
1320         Ignore a VIEW_CONVERT_EXPR on LHS when deciding if must or may def.
1321         * tree-ssa-ccp.c (visit_assignment): If LHS is a VIEW_CONVERT_EXPR,
1322         add an inverse VIEW_CONVERT_EXPR to const_val.
1323
1324         PR/18657
1325         * tree-nested.c (check_for_nested_with_variably_modified): New.
1326         (create_nesting_tree): Call it.
1327
1328         * tree-ssa-alias.c (compute_points_to_and_addr_escapes): Remove
1329         special code for assigning to non-pointer.
1330         (is_escape_site): If RHS is a conversion between pointer and integer
1331         types,  this is an escape site.
1332
1333         * gcse.c (insert_store): Error if try to insert store on abnormal edge.
1334         (store_motion): Don't move store if any edge we'd want to move it
1335         to is abnormal.
1336
1337         * expr.c (expand_expr_real_1, case ARRAY_REF): Properly fold with
1338         non-zero lower bound.
1339
1340         * expr.c (categorize_ctor_elements_1, case STRING_CST): New case.
1341
1342 2004-11-28  Matt Kraai  <kraai@alumni.cmu.edu>
1343
1344         PR diagnostic/17594
1345         * opts.c (find_opt): Require that the input match a switch exactly
1346         or that the switch take a joined option to be interpreted as a
1347         match for another language.
1348
1349 2004-11-28  Andrew Pinski  <pinskia@physics.uc.edu>
1350
1351         * timevar.def (TV_TREE_REDPHI): New timevar.
1352         * tree-ssa.c (pass_redundant_phi): Use TV_TREE_REDPHI for the tv id.
1353
1354 2004-11-28  Nathanael Nerode  <neroden@gcc.gnu.org>
1355
1356         PR preprocessor/17651
1357         * c-opts.c (sanitize_cpp_opts): Make flag_no_output imply
1358         flag_no_line_commands.
1359         * c-ppoutput.c (pp_file_change): Remove now-redundant check of
1360         flag_no_output.
1361
1362 2004-11-28  Theodore A. Roth  <troth@openavr.org>
1363
1364         * config/avr/avr.c (avr_handle_fndecl_attribute): Generate a
1365         warning if the function name does not begin with "__vector" and the
1366         function has either the 'signal' or 'interrupt' attribute.
1367
1368 2004-11-28  Theodore A. Roth  <troth@openavr.org>
1369
1370         * config/avr/avr.c (avr_mcu_types): Add entries for atmega48,
1371         atmega88, atmega168, attiny13, attiny2313, at90can128, atmega165,
1372         atmega325, atmega3250, atmega645 and atmega6450.
1373         * config/avr/avr.h (LINK_SPEC): Ditto.
1374         (LIB_SPEC): Ditto.
1375         (LIBGCC_SPEC): Ditto.
1376         (CRT_BINUTILS_SPECS): Ditto.
1377         * config/avr/t-avr (MULTILIB_MATCHES): Ditto.
1378
1379 2004-11-28  Nathanael Nerode  <neroden@gcc.gnu.org>
1380
1381         PR preprocessor/17610
1382         * testsuite/gcc.dg/cpp/empty-include.c: New testcase.
1383
1384 2004-11-28  Jeff Law  <law@redhat.com>
1385
1386         * tree-ssa-alias.c (count_calls_and_maybe_create_global_var): New.
1387         (pass_maybe_create_global_var): New.
1388         * tree-pass.h (pass_maybe_create_global_var): Declare.
1389         * tree-optimize.c (init_tree_optimization_passes): Link in
1390         pass_maybe_create_global_var.
1391
1392 2004-11-28  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1393
1394         * tree-inline.c (inline_forbidden_p_1, case RECORD_TYPE): Add comment.
1395
1396 2004-11-28  Ulrich Weigand  <uweigand@de.ibm.com>
1397
1398         PR rtl-optimization/18420
1399         * simplify-rtx.c (simplify_gen_subreg): Revert 2004-10-28 change.
1400
1401 2004-11-28  Steven Bosscher  <stevenb@suse.de>
1402             John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
1403
1404         * config/vax/vax.h (CASE_DROPS_THROUGH): Don't define.
1405         * config/vax/vax.md (casesi): Emit a test-and-branch to make sure
1406         that the case is in range, to make sure the casesi insn is always
1407         in range and never falls through.
1408         (casesi1): Add comment to explain why casesi never falls through.
1409         Remove the unnamed special case casesi pattern.
1410
1411 2004-11-28  Hans-Peter Nilsson  <hp@bitrange.com>
1412
1413         PR target/18331
1414         * config/mmix/mmix.md ("*movdicc_real_reversible"): Rename from
1415         "*movdicc_real".  Only match reversible comparisons.
1416         ("*movdicc_real_nonreversible"): New pattern, split from
1417         "*movdicc_real".  Match only nonreversible comparisons.  Exclude
1418         reversed alternatives.
1419         ("*movdfcc_real_reversible", "*movdfcc_real_nonreversible"):
1420         Similar.
1421
1422 2004-11-27  Richard Henderson  <rth@redhat.com>
1423
1424         * config/ia64/ia64.md: Move all define_predicate's ...
1425         * config/ia64/predicates.md: ... here.  New file.
1426
1427 2004-11-27  Per Bothner  <per@bothner.com>
1428
1429         PR bootstrap/18142
1430         Re-applied following, with two modifications: add a URL for the
1431         fixed cctools; only exit if $build = $target.
1432
1433         2004-10-18  Kelley Cook  <kcook@gcc.gnu.org>
1434         * configure.ac (powerpc-*-darwin*): Require assembler to support
1435         .machine directive.
1436         * configure: Regenerate.
1437
1438 2004-11-28  David Edelsohn  <edelsohn@gnu.org>
1439
1440         PR target/16800
1441         * config/rs6000/rs6000.c (rs6000_rtx_costs): Improve accuracy of
1442         EQ, GTU, and LTU costs.  Add costs for GT, LT, and UNORDERED.
1443         Distinguish between SImode and DImode CONST_INT.
1444
1445 2004-11-28  Andreas Fischer <a_fisch@gmx.de>
1446             Alan Modra  <amodra@bigpond.net.au>
1447
1448         PR target/16343
1449         * config/rs6000/rs6000.c (rs6000_elf_in_small_data_p): Disallow
1450         functions, strings and thread-local vars.
1451
1452 2004-11-28  Alan Modra  <amodra@bigpond.net.au>
1453
1454         * config/rs6000/rs6000.h (WORLD_SAVE_P): Define.
1455         * config/rs6000/darwin.h (WORLD_SAVE_P): Define.
1456         * config/rs6000/rs6000.c (compute_save_world_info): Use WORLD_SAVE_P
1457         to allow non-darwin ABIs to optimize away code.
1458         (rs6000_emit_prologue, rs6000_emit_epilogue): Likewise.
1459
1460 2004-11-27  Kazu Hirata  <kazu@cs.umass.edu>
1461
1462         * tree.c (operand_equal_for_phi_arg_p): New.
1463         * tree.h: Add a prototype for operand_equal_for_phi_arg_p.
1464         * tree-cfg.c, tree-ssa-dom.c, tree-ssa-phiopt.c, tree-ssa.c:
1465         Replace operand_equal_p with operand_for_phi_arg_p
1466         appropriately.
1467
1468         * bb-reorder.c (find_traces_1_round): Speed up by using
1469         EDGE_COUNT instead of FOR_EACH_EDGE.
1470
1471         * fold-const.c, config/i386/linux64.h: Fix comment typos.
1472
1473 2004-11-27  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
1474
1475         PR pch/14940
1476         * config/host-linux.c (TRY_EMPTY_VM_SPACE): Revert 2004-11-22 change.
1477
1478 2004-11-27  Kazu Hirata  <kazu@cs.umass.edu>
1479
1480         * config/i386/linux.h: Fix a comment typo.
1481         * doc/extend.texi: Fix a typo.
1482
1483 2004-11-27  Jeff Law  <law@redhat.com>
1484
1485         * tree-cfg.c (cleanup_tree_cfg): Also return true if blocks
1486         are merged.
1487
1488 2004-11-27  Jakub Jelinek  <jakub@redhat.com>
1489
1490         * config/i386/linux64.h (REG_NAME): Define.
1491
1492 2004-11-27  Jakub Jelinek  <jakub@redhat.com>
1493
1494         * fold-const.c (extract_muldiv_1) <case ABS_EXPR>: If ctype is
1495         unsigned and type signed, build ABS_EXPR with signed_type (ctype)
1496         and only afterwards convert to ctype.
1497
1498 2004-11-27  Richard Sandiford  <rsandifo@redhat.com>
1499
1500         * config/mips/mips-protos.h (function_arg_boundary): Declare.
1501         * config/mips/mips.h (PARM_BOUNDARY): Simplify definition.
1502         (STACK_BOUNDARY, MIPS_STACK_ALIGN): Likewise.
1503         (FUNCTION_ARG_BOUNDARY): Use new function_arg_boundary function.
1504         * config/mips/mips.c (function_arg_boundary): New function.
1505         Impose a maximum alignment of STACK_BOUNDARY.
1506
1507 2004-11-27  Jakub Jelinek  <jakub@redhat.com>
1508
1509         PR rtl-optimization/17825
1510         * combine.c (subst): Ignore STRICT_LOW_PART no matter if REG_P (new)
1511         or not.
1512
1513 2004-11-27  Alan Modra  <amodra@bigpond.net.au>
1514
1515         PR target/12769
1516         * config/rs6000/rs6000.c (init_cumulative_args): Set call_cookie
1517         from rs6000_default_long_calls for libcalls.
1518
1519 2004-11-26  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1520
1521         * expmed.c (extract_bit_field): When extracting from non-integer mode,
1522         force a SUBREG into a register because we may be taking a further
1523         SUBREG of it.
1524
1525 2004-11-27  Di-an Jan  <dianj@freeshell.org>
1526
1527         * doc/contrib.texi (Tim Josling): Remove nesting quotation marks.
1528
1529 2004-11-26  Robert Millan  <robertmh@gnu.org>
1530
1531         Changes for k*bsd-gnu support.
1532         * config/i386/linux.h: Define REG_NAME to allow overriding of
1533         register names in sc structure.
1534         * config/i386/linux-unwind.h: Refer to sc->REG_NAME(reg) instead
1535         of sc->reg.
1536         * config.gcc: Detect x86_64-k*bsd-gnu systems.
1537
1538 2004-11-26  Jeff Law  <law@redhat.com>
1539
1540         * tree-ssa.c (verify_flow_sensitive_alias_info): Don't
1541         retrieve annotations or pointer info before it's necessary.
1542         Reorder tests for early continue of the loop.  Manually CSE
1543         SSA_NAME_VAR.
1544
1545 2004-11-26  Eric Botcazou  <ebotcazou@libertysurf.fr>
1546
1547         * target.h (struct gcc_target): New field 'dwarf_handle_frame_unspec'.
1548         * target_def.h (TARGET_DWARF_HANDLE_FRAME_UNSPEC): Define to 0.
1549         (TARGET_INITIALIZER): Add TARGET_DWARF_HANDLE_FRAME_UNSPEC.
1550         * dwarf2out.c (dwarf2out_frame_debug_expr): Allow REG->REG move
1551         to a fixed reg if the source is the Return Address register.
1552         Implement new Rule 15.
1553         * doc/tm.texi (Frame Layout): Document TARGET_DWARF_HANDLE_FRAME_UNSPEC.
1554         * config/sparc/sparc.c (TARGET_DWARF_HANDLE_FRAME_UNSPEC): Define to
1555         sparc_dwarf_handle_frame_unspec.
1556         (gen_save_register_window): New function.
1557         (emit_stack_pointer_increment): Rename into gen_stack_pointer_inc.
1558         (emit_stack_pointer_decrement): Rename into gen_stack_pointer_dec.
1559         (expand_prologue): Adjust calls to emit_stack_pointer_{in,de}crement.
1560         Set RTX_FRAME_RELATED_P on the appropriate insns and members of insns.
1561         (sparc_asm_function_prologue): Do not emit call frame debugging info.
1562         (emit_and_preserve): Adjust calls to emit_stack_pointer_{in,de}crement.
1563         (sparc_expand_epilogue): Likewise.
1564         (sparc_dwarf_handle_frame_unspec): New function.
1565         * config/sparc/sparc.md (save_register_window): Remove.
1566         (save_register_windowdi): Rewrite modelled on the callframe debug info.
1567         (save_register_windowsi): Likewise.
1568
1569 2004-11-26  Alexandre Oliva  <aoliva@redhat.com>
1570
1571         * config/frv/frv-protos.h: Guard ifcvt functions declarations with
1572         BB_HEAD, not BLOCK_HEAD.
1573
1574 2004-11-26  Alexandre Oliva  <aoliva@redhat.com>
1575
1576         * config/frv/frv.c (frv_ifcvt_modify_insn): Don't leave alone
1577         scratch insns that set a register live at the join point.
1578
1579 2004-11-26  Kazu Hirata  <kazu@cs.umass.edu>
1580
1581         * cse.c, tree-ssa-operands.c: Fix comment typos.
1582
1583         * tree-cfg.c (tree_split_edge): Speed up by using find_edge.
1584
1585 2004-11-26  James A. Morrison  <phython@gcc.gnu.org>
1586
1587         PR target/18510
1588         * doc/extend.texi (SPARC VIS Built-in Functions): New section.
1589
1590 2004-11-26  Kazu Hirata  <kazu@cs.umass.edu>
1591
1592         * cfgrtl.c (try_redirect_by_replacing_jump): Speed up the
1593         check that tests if all edges go to the same destination.
1594
1595         * bitmap.c (bitmap_find_bit): Speed up by traversing from
1596         head->first if that seems profitable.
1597
1598 2004-11-25  Jeff Law  <law@redhat.com>
1599
1600         * timevar.def (TV_TREE_LOOP_INIT, TV_TREE_LOOP_FINI): New timevars.
1601         * tree-ssa-loop.c (pass_loop_init): Use TV_TREE_LOOP_INIT.
1602         (pass_loop_done): Use TV_TREE_LOOP_FINI.
1603
1604 2004-11-26  Alan Modra  <amodra@bigpond.net.au>
1605
1606         PR rtl-optimization/16356
1607         * config/rs6000/rs6000.md (floatdisf2_internal2): Rewrite with
1608         separate output register and one less jump.  Enable for powerpc64.
1609         (floatdisf2): Adjust for above.
1610
1611 2004-11-25  Bob Wilson  <bob.wilson@acm.org>
1612
1613         * config/xtensa/xtensa.h (STARTFILE_SPEC): Add crt0.
1614         (GCC_DRIVER_HOST_INITIALIZATION): Define.
1615
1616 2004-11-25  Andrew Pinski  <pinskia@physics.uc.edu>
1617
1618         PR middle-end/17957
1619         * tree-complex.c (vector_inner_type): New variable moved from
1620         build_word_mode_vector_type.
1621         (vector_last_type): Likewise.
1622         (vector_last_nunits): Likewise.
1623         (build_word_mode_vector_type): Use the new variables.
1624         * Makefile.in (tree-complex.o): Add gt-tree-complex.h $(GGC_H).
1625         (GTFILES): Add tree-complex.c.
1626         (gt-tree-complex.h): New rule, add it to the rest of the gt-* rules.
1627
1628 2004-11-25  Bob Wilson  <bob.wilson@acm.org>
1629
1630         * config/xtensa/xtensa.h (TARGET_CPU_CPP_BUILTINS): Define
1631         __XTENSA_WINDOWED_ABI__.
1632
1633 2004-11-25  Richard Henderson  <rth@redhat.com>
1634
1635         * dwarf2out.c (dwarf2out_stack_adjust): Add after_p argument.  Save
1636         args_size adjustments for calls even with cfa as stack pointer.
1637         Search calls for stack adjustments after the insn is issued.
1638         (dwarf2out_frame_debug): Add after_p argument; pass it on.
1639         * dwarf2out.h (dwarf2out_frame_debug): Update to match.
1640         * final.c (final_start_function, final_scan_insn): Likewise.
1641
1642 2004-11-25  Richard Henderson  <rth@redhat.com>
1643
1644         PR c++/6764
1645         * reload1.c (set_initial_eh_label_offset): New.
1646         (set_initial_label_offsets): Use it.
1647
1648 2004-11-25  Kaz Kojima  <kkojima@gcc.gnu.org>
1649
1650         * config/sh/sh.c (sh_output_mi_thunk): Initialize bitmap obstacks
1651         before calling life_analysis and release them after.
1652
1653 2004-11-25  Kazu Hirata  <kazu@cs.umass.edu>
1654
1655         * tree-ssa-forwprop.c (substitute_single_use_vars): Remove
1656         duplicate code.
1657
1658 2004-11-25  Andrew Pinski <pinskia@physics.uc.edu>
1659
1660         * bitmap.h (BITMAP_XMALLOC): Use BITMAP_ALLOC and not
1661         BITMAP_OBSTACK_ALLOC.
1662         (BITMAP_XFREE): Use BITMAP_FREE and not BITMAP_OBSTACK_FREE.
1663
1664 2004-11-25  Andrew Pinski <pinskia@physics.uc.edu>
1665
1666         parts of PR rtl-opt/18463, rtl-opt/17647
1667         * cse.c (canon_for_address): New function.
1668         (find_best_addr): Call canon_for_address before getting the
1669         address's cost when checking if we should take that address.
1670
1671 2004-11-25  Kazu Hirata  <kazu@cs.umass.edu>
1672
1673         * tree-phinodes.c (add_phi_arg): Take "tree" instead of
1674         "tree *" as the first argument.
1675         * tree-flow.h: Update the prototype of add_phi_arg.
1676         * lambda-code.c, tree-cfg.c, tree-into-ssa.c,
1677         tree-ssa-loop-ivopts.c, tree-ssa-loop-manip.c, tree-ssa-pre.c,
1678         tree-ssa-threadupdate.c, tree-ssa.c, tree-tailcall.c,
1679         tree-vectorizer.c: Update all call sites of add_phi_arg.
1680
1681 2004-11-25  Nathan Sidwell  <nathan@codesourcery.com>
1682
1683         * bitmap.c (bitmap_malloc_alloc, bitmap_malloc_free): Remove.
1684         * bitmap.h (bitmap_malloc_alloc, bitmap_malloc_free): Remove.
1685         (BITMAP_XMALLOC): Forward to BITMAP_OBSTACK_ALLOC.
1686         (BITMAP_XFREE): Forward to BITMAP_OBSTACK_FREE.
1687
1688 2004-11-25  Andrew MacLeod  <amacleod@redhat.com>
1689
1690         PR tree-optimization/18587
1691         * tree-flow-inline.h (mark_call_clobbered, mark_non_addressable): Flag
1692         call clobbered caches as invalid.
1693         * tree-ssa-operands.c (ssa_call_clobbered_cache_valid): New.  Flag
1694         indicating whether the call clobbered operand cache is valid.
1695         (ssa_ro_call_cache_valid): New.  Flag indicating whether the
1696         pure/const call operand cache is valid.
1697         (clobbered_v_may_defs, clobbered_vuses, ro_call_vuses): New.  Cached
1698         list of operands for cached call virtual operands.
1699         (clobbered_aliased_loads, clobbered_aliased_stores,
1700         ro_call_aliased_load): New.  flags caching whether alias bits are
1701         to be set in call stmt's.
1702         (fini_ssa_operands): Remove call operand caches if present.
1703         (get_expr_operands, get_asm_expr_operands,
1704         get_indirect_ref_operands): Pass stmt annotation to add_stmt_operand.
1705         (get_call_expr_operands): Add call clobbered variables first.
1706         (add_stmt_operand): Take stmt annotation rather than stmt as a param.
1707         (add_call_clobber_ops, add_call_read_ops): Use the call operand cache
1708         if it is valid, otherise fill the cache.
1709         * tree-ssa-operands.h (ssa_clobbered_cache_valid): Declare extern.
1710         * tree-flow.h (struct var_ann_d): Add in_vuse_list and
1711         in_v_may_def_list bits.
1712         * tree-ssa-operands.c (cleanup_v_may_defs): New.  Clear the
1713         in_list bits for the v_may_def elements and empty the operand
1714         build array
1715         (finalize_ssa_vuses): Use cleanup_v_may_defs and remove redundant
1716         VUSES by checking the in_v_may_def_list bit.
1717         (append_v_may_def, append_vuse): Use the in_list bit rather than
1718         scanning the array for duplicates.
1719
1720 2004-11-25  Ulrich Weigand  <uweigand@de.ibm.com>
1721
1722         * config/s390/s390.c (s390_short_displacement): UNSPEC_GOTNTPOFF
1723         displacements are not short.
1724
1725 2004-11-25  Ulrich Weigand  <uweigand@de.ibm.com>
1726
1727         * config/s390/s390.c (legitimize_pic_address): Use s390_load_address
1728         to load addresses.
1729
1730 2004-11-25  Mark Mitchell  <mark@codesourcery.com>
1731
1732         PR c++/18001
1733         * c-common.h (lvalue_use): Move here from c-ctypeck.c.
1734         (lvalue_or_else): Declare.
1735         * c-common.c (lvalue_or_else): Move here from c-typeck.c.
1736         * c-typeck.c (lvalue_use): Remove.
1737         (lvalue_or_else): Remove.
1738
1739         PR c++/18556
1740         * toplev.c (check_global_declarations): Set DECL_IGNORED_P on
1741         unemitted variables with static storage duration.
1742
1743 2004-11-25  Gerald Pfeifer  <gerald@pfeifer.com>
1744
1745         * tree-cfg.c (tree_verify_flow_info): Do not terminate error()
1746         message with \n.
1747
1748 2004-11-25  Nathan Sidwell  <nathan@codesourcery.com>
1749
1750         * config/rs6000/altivec.md (VIshort): New mode macro.
1751         (altivec_vaddubs, altivec_vadduhs, altivec_vadduws): Replace
1752         with ...
1753         (altivec_vaddu<VI_char>s): ... this.
1754         (altivec_vaddsbs, altivec_vaddshs, altivec_vaddsws): Replace
1755         with ...
1756         (altivec_vadds<VI_char>s): ... this.
1757         (altivec_vsububs, altivec_vsubuhs, altivec_vsubuws): Replace
1758         with ...
1759         (altivec_vsubu<VI_char>s): ... this.
1760         (altivec_vsubsbs, altivec_vsubshs, altivec_vsubsws): Replace
1761         with ...
1762         (altivec_vsubs<VI_char>s): ... this.
1763         (altivec_vavgub, altivec_vavguh, altivec_vavguw): Replace
1764         with ...
1765         (altivec_vavgu<VI_char>): ... this.
1766         (altivec_vavgsb, altivec_vavgsh, altivec_vavgsw): Replace
1767         with ...
1768         (altivec_vavgs<VI_char>): ... this.
1769         (altivec_vmsumubm, altivec_vmsumuhm): Replace with ...
1770         (altivec_vmsumu<VI_char>m): ... this.
1771         (altivec_vmsummbm, altivec_vmsummhm): Replace
1772         with ...
1773         (altivec_vmsumm<VI_char>m): ... this.
1774         (altivec_vandc): Remove.
1775         (*andc<mode>3): Renamed to ...
1776         (andc<mode>3): ... here. Swap operand 1 and 2 numbering.
1777         (altivec_vrlb, altivec_vrlh, altivec_vrlw): Replace
1778         with ...
1779         (altivec_vrl<VI_char>): ... this.
1780         (altivec_vslb, altivec_vslh, altivec_vslw): Replace
1781         with ...
1782         (altivec_vsl<VI_char>): ... this.
1783         (altivec_vsrb, altivec_vsrh, altivec_vsrw): Replace
1784         with ...
1785         (altivec_vsr<VI_char>): ... this.
1786         (altivec_vsrab, altivec_vsrah, altivec_vsraw): Replace
1787         with ...
1788         (altivec_vsra<VI_char>): ... this.
1789         (altivec_vsum4sbs, altivec_vsum4shs): Replace with ...
1790         (altivec_vsum4s<VI_char>s): ... this.
1791         (altivec_vperm_4si, altivec_vperm_8hi, altivec_vperm_16qi): Replace
1792         with ...
1793         (altivec_vperm_<mode>): ... this.
1794         (altivec_vsel_4sf): Rename to ...
1795         (altivec_vsel_v4sf): ... here.
1796         (altivec_vsel_4si, altivec_vsel_8hi, altivec_vsel_16qi): Replace
1797         with ...
1798         (altivec_vsel_<mode>): ... this.
1799         (altivec_vsldoi_4si, altivec_vsldoi_8hi,
1800         altivec_vsldoi_16qi): Rename to ...
1801         (altivec_vsldoi_v4si, altivec_vsldoi_v8hi,
1802         altivec_vsldoi_v16qi): ... here.
1803         (altivec_vsldoi_4sf): Rename to ...
1804         (altivec_vsldoi_v4sf): ... here.
1805         (altivec_predicate_v4si, altivec_predicate_v8hi,
1806         altivec_predicate_v16qi): Replace with ...
1807         (altivec_predicate_<mode>): ... this.
1808         (altivec_lvebx, altivec_lvehx, altivec_lvewx): Replace
1809         with ...
1810         (altivec_lve<VI_char>x): ... this.
1811         (altivec_stvebx, altivec_stvehx, altivec_stvewx): Replace
1812         with ...
1813         (altivec_stve<VI_char>x): ... this.
1814         (absv16qi2, absv8hi2, absv4si2): Replace
1815         with ...
1816         (abs<mode>2): ... this.
1817         (altivec_abss_v16qi, altivec_abss_v8hi, altivec_abss_v4si): Replace
1818         with ...
1819         (altivec_abss_<mode>): ... this.
1820         (vec_realign_load_v16qi, vec_realign_load_v8hi,
1821         vec_realign_load_v4si): Replace with ...
1822         (vec_realign_load_<mode>): ... this.
1823         * config/rs6000/rs6000.c (bdesc_3arg, bdesc_2arg): Update tweaked
1824         insn names.
1825         (rs6000_expand_ternop_builtin): Likewise.
1826
1827 2004-11-25  Andrew Haley  <aph@redhat.com>
1828
1829         * gcc.c (process_command): Don't supply -v to linker.
1830
1831 2004-11-25  Joseph S. Myers  <joseph@codesourcery.com>
1832
1833         * config/rs6000/darwin.h (SUBTARGET_OVERRIDE_OPTIONS): Use %qs
1834         instead of `%s' in diagnostic.
1835
1836 2004-11-25  Nathan Sidwell  <nathan@codesourcery.com>
1837
1838         * basic-block.h (OBSTACK_ALLOC_REG_SET): Adjust.
1839         (FREE_REG_SET): Adjust.
1840         * bitmap.c (bitmap_obstack_free): Cope with NULL bitmap.
1841         * bitmap.h (BITMAP_OBSTACK_ALLOC): Rename to ...
1842         (BITMAP_ALLOC): ... here.
1843         (BITMAP_OBSTACK_FREE): Rename to ...
1844         (BITMAP_FREE): Don't check for NULL bitmap here.
1845         * tree-ssa-pre.c (value_insert_into_set_bitmap,
1846         bitmap_set_new): Use new names.
1847
1848         * bt-load.c (migrate_btr_defs): Remove unneeded NULL check.
1849         * df.c (df_free): Likewise.
1850         * ra-build.c (ra_build_free, ra_build_free_all): Likewise.
1851         * tree-ssa-loop-ivopts.c (set_use_iv_cost): Likewise.
1852
1853         * basic-block.h (OBSTACK_ALLOC_REG_SET): Rename to ...
1854         (ALLOC_REG_SET): ... here.
1855         (FREE_REG_SET): Adjust.
1856         (XMALLOC_REG_SET, XFREE_REG_SET): Remove.
1857         * bb-reorder.c (fix_crossing_conditional_branches): Adjust.
1858         * cfglayout.c (cfg_layout_duplicate_bb): Adjust.
1859         * cfgrtl.c (rtl_split_block, rtl_split_edge,
1860         safe_insert_insn_on_edge, cfg_layout_split_edge): Adjust.
1861         * flow.c (update_life_info, calculate_global_regs_live,
1862         allocate_bb_life_data, init_propagate_block_info): Adjust.
1863         * global.c (build_insn_chain): Adjust.
1864         * ifcvt.c (dead_or_predicable): Adjust.
1865         * loop-iv.c (simplify_using_initial_values): Adjust.
1866         * recog.c (peephole2_optimize): Adjust.
1867         * sched-deps.c (init_deps_global): Adjust.
1868
1869 2004-11-25  Ralf Corsepius <ralf.corsepius@rtems.org>
1870
1871         * config.gcc (avr-*-rtems*): Fix typo.
1872
1873 2004-11-25  J"orn Rennecke <joern.rennecke@st.com>
1874
1875         * sh.c (sh_output_mi_thunk): Do not call regset_release_memory.
1876
1877 2004-11-24  Jeff Law  <law@redhat.com>
1878
1879         * tree-ssa-alias.c (compute_flow_insensitive_aliasing): Reduce
1880         the number of queries to random elements in the ai->written_vars
1881         bitmap.
1882
1883 2004-11-24  Roger Sayle  <roger@eyesopen.com>
1884
1885         * config/i386/i386.c (override_options): Disable x87 fancy math
1886         intrinsics if -mfpmath= doesn't include 387 (default on x86_64).
1887
1888 2004-11-24  Roger Sayle  <roger@eyesopen.com>
1889
1890         * configure.ac: Tweak test for HAVE_DECL_LDGETNAME to avoid a
1891         system header conflict on AIX 5.2.
1892         * configure: Regenerate.
1893
1894 2004-11-24  Kazu Hirata  <kazu@cs.umass.edu>
1895
1896         * tree-outof-ssa.c (coalesce_abnormal_edges): Use e->dest_idx
1897         instead of calling phi_arg_from_edge.
1898
1899         * tree-phinodes.c (remove_phi_args): Replace phi_arg_from_edge
1900         with e->dest_idx.
1901
1902 2004-11-24  Ben Elliston  <bje@au.ibm.com>
1903
1904         * config/i386/i386.h (ASM_OUTPUT_DWARF_ADDR_CONST): Remove.
1905         * config/i386/i386.c (i386_dwarf_output_addr_const): Likewise.
1906         * config/i386/i386-protos.h (i386_dwarf_output_addr_const):
1907         Likewise.
1908
1909 2004-11-24  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1910
1911         * tree-sra.c (sra_walk_modify_expr): Handle RHS first, then LHS.
1912
1913         * tree-inline.c (copy_body_r): Explicitly copy a constant if the
1914         type will be remapped.
1915
1916 2004-11-24  Steven Bosscher  <stevenb@suse.de>
1917
1918         * c-opts.c (c_common_post_options): Don't clear
1919         flag_inline_functions.
1920         * dojump.c (clear_pending_stack_adjust): Remove check on
1921         flag_inline_functions, it's always true.
1922         * config/alpha/alpha.md (movdi_er_maybe_g): Remove splitter
1923         that can never trigger.
1924         * config/c4x/c4x.h (TARGET_CPU_CPP_BUILTINS): Don't look at
1925         flag_inline_trees, now that flag_inline_functions is never
1926         cleared.
1927         * config/pdp11/pdp11.h (OPTIMIZATION_OPTIONS): Don't set
1928         flag_inline_functions at optimization levels greater than
1929         or equal to 3.  This is already done by default.
1930
1931 2004-11-24  Kazu Hirata  <kazu@cs.umass.edu>
1932
1933         * tree-outof-ssa.c (eliminate_build): Use g->e->dest_idx
1934         instead to find the PHI argument.  Do not take I as an
1935         argument.
1936         (eliminate_phi): Adjust the call to eliminate_build.  Do not
1937         take I as an argument.
1938         (rewrite_trees): Adjust the call to eliminate_phi.
1939
1940 2004-11-24  Richard Sandiford  <rsandifo@redhat.com>
1941
1942         * optabs.h (force_expand_binop): Declare.
1943         * optabs.c (force_expand_binop): Export.
1944         * stmt.c (shift_return_value): Delete.
1945         (expand_return): Don't call it.
1946         * expr.h (shift_return_value): Declare.
1947         * calls.c (shift_returned_value): Delete in favor of...
1948         (shift_return_value): ...this new function.  Leave the caller to check
1949         for non-BLKmode values passed in the msb of a register.  Take said mode
1950         and a shift direction as argument.  Operate on the hard function value,
1951         not a pseudo.
1952         (expand_call): Adjust accordingly.
1953         * function.c (expand_function_start): If a non-BLKmode return value
1954         is padded at the last significant end of the return register, use the
1955         return value's natural mode for the DECL_RESULT, not the mode of the
1956         padded register.
1957         (expand_function_end): Shift the same sort of return values left by
1958         the appropriate amount.
1959
1960 2004-11-24  Matt Austern  <austern@apple.com>
1961
1962         * recog.c (recog_memoized_1): Remove.
1963         * recog.h (recog_memoized_1): Remove declaration.
1964         (recog_memoized): Change from macro to inline function.
1965
1966 2004-11-24  Devang Patel  <dpatel@apple.com>
1967
1968         PR/18555
1969         * gcc.h (DEFAULT_WORD_SWITCH_TAKES_ARG): Add isysroot.
1970         * config/darwin-c.c (darwin_register_frameworks): Use sysroot.
1971
1972 2004-11-24  Devang Patel  <dpatel@apple.com>
1973
1974         * gcc.c (process_command): Supply -v to linker.
1975
1976 2004-11-24  David Edelsohn  <edelsohn@gnu.org>
1977             Paolo Bonzini  <bonzini@gnu.org>
1978
1979         * config/rs6000/rs6000.c (rs6000_return_in_memory): Allow Altivec
1980         vector modes without ALTIVEC_ABI.  Use GCC vector instead of
1981         synthetic vector.
1982         (rs6000_pass_by_reference): Split conditional into pieces.  Use
1983         GCC vector instead of synthetic vector.
1984
1985 2004-11-24  Aldy Hernandez  <aldyh@redhat.com>
1986
1987         * tree.c (recompute_tree_invarant_for_addr_expr): The address of a
1988         thread-local variable is invariant.
1989
1990 2004-11-24  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1991
1992         * tree-pretty-print.c (dump_generic_node, case POINTER_TYPE):
1993         Handle TYPE_REF_CAN_ALIAS_ALL.
1994         (print_declaration): Print array dimensions like dump_generic_node.
1995
1996         * fold-const.c (operand_equal_p): Remove kludge allowing ARG0 and
1997         ARG1 to be null; instead define OP_SAME and OP_SAME_NULL and use them.
1998
1999 2004-11-24  Nathan Sidwell  <nathan@codesourcery.com>
2000
2001         * bitmap.c (INLINE): Do not define.
2002         (bitmap_elem_to_freelist, bitmap_element_free,
2003         bitmap_element_allocate, bitmap_clear, bitmap_element_zerop,
2004         bitmap_element_link, bitmap_find_bit): Use inline keyword/macro.
2005
2006 2004-11-24  Kazu Hirata  <kazu@cs.umass.edu>
2007
2008         * tree-ssa-dom.c (cprop_into_successor_phis): Remove code to
2009         find the index of a PHI argument.  Use e->dest_idx instead.
2010         Replace hint with index.
2011
2012         * tree-ssa-dom.c (cprop_into_successor_phis): Replace index
2013         with indx.
2014
2015 2004-11-24  Diego Novillo  <dnovillo@redhat.com>
2016
2017         * tree-ssa-alias.c (merge_pointed_to_info): Fix comment
2018         regarding PT_MALLOC.
2019
2020 2004-11-24  Joseph Myers  <joseph@codesourcery.com>
2021
2022         * config/i386/i386.c (optimization_options): Use
2023         SUBTARGET_OPTIMIZATION_OPTIONS.
2024         * config/i386/sol2-10.h (SUBTARGET_OPTIMIZATION_OPTIONS): Define.
2025         (TARGET_SUBTARGET_DEFAULT): Don't include
2026         MASK_OMIT_LEAF_FRAME_POINTER.
2027
2028 2004-11-24  Mark Mitchell  <mark@codesourcery.com>
2029
2030         * config/i386/sol2.h (X86_FILE_START_VERSION_DIRECTIVE):
2031         Define to false.
2032
2033 2004-11-24  Joseph Myers  <joseph@codesourcery.com>
2034
2035         * config/i386/t-sol2-10 (MULTILIB_DIRNAMES, MULTILIB_OSDIRNAMES):
2036         Use amd64 instead of 64.
2037
2038 2004-11-24  Mark Mitchell  <mark@codesourcery.com>
2039             Joseph Myers  <joseph@codesourcery.com>
2040
2041         * crtstuff.c (IN_LIBGCC2): Define it.
2042         (EH_FRAME_SECTION_CONST): Check EH_TABLES_CAN_BE_READ_ONLY
2043         instead of HAVE_LD_RO_RW_SECTION_MIXING.
2044         * defaults.h (EH_TABLES_CAN_BE_READ_ONLY): New macro.
2045         * dwarf2out.c (named_section_eh_frame_section): Check
2046         EH_TABLES_CAN_BE_READ_ONLY.
2047         * except.c (default_exception_section): Likewise.
2048         * config/i386/sol2.h (EH_TABLES_CAN_BE_READ_ONLY): Define.
2049         * doc/tm.texi (EH_TABLES_CAN_BE_READ_ONLY): Document.
2050
2051 2004-11-24  Kazu Hirata  <kazu@cs.umass.edu>
2052
2053         * tree-ssa-pre.c (phi_translate): Use find_edge to find the
2054         index of a PHI argument.
2055
2056         * tree-ssa-loop-manip.c (lv_adjust_loop_header_phi): Use
2057         find_edge to find the index of a PHI argument.
2058
2059 2004-11-24  Steven Bosscher  <stevenb@suse.de>
2060
2061         * expr.c (expand_expr_real_1): Remove cases for EXIT_BLOCK_EXPR
2062         and LABELED_BLOCK_EXPR.
2063         * gimplify.c (gimplify_labeled_block_expr): Remove.
2064         (gimplify_exit_block_expr): Remove.
2065         (gimplify_expr): Don't call them.
2066         * tree-inline.c (copy_body_r): Don't handle EXIT_BLOCK_EXPR
2067         and LABELED_BLOCK_EXPR.
2068         (estimate_num_insns_1): Likewise.
2069         (walk_tree): Likewise.
2070         * tree-pretty-print.c (dump_generic_node): Don't handle
2071         EXIT_BLOCK_EXPR and LABELED_BLOCK_EXPR.
2072         * tree.def (EXIT_BLOCK_EXPR): Moved to java-tree.def.
2073         (LABELED_BLOCK_EXPR): Likewise.
2074         * tree.h (LABELED_BLOCK_LABEL): Moved to java-tree.h.
2075         (LABELED_BLOCK_BODY): Likewise.
2076         (EXIT_BLOCK_LABELED_BLOCK): Likewise.
2077         (EXIT_BLOCK_RETURN): Removed.
2078
2079 2004-11-24  Steven Bosscher  <stevenb@suse.de>
2080
2081         * cfgrtl.c (rtl_delete_block): Fix comment.
2082         * emit-rtl.c (remove_unnecessary_notes): Die if we see BLOCK_BEG
2083         or BLOCK_END insn notes.
2084         * jump.c (squeeze_notes): Likewise.
2085         * haifa-sched.c (reemit_notes): Don't "re-emit" EH_REGION_BEG and
2086         EH_REGION_END notes, we never have them to begin with.
2087         * sched-deps.c (sched_analyze_insn): When updating loop notes,
2088         verify that we have indeed only recorded loop notes.
2089         (sched_analyze): Die if we see EH_REGION_BEG or EH_REGION_END notes.
2090         Only record loop notes.
2091
2092         * cfgexpand.c (tree_expand_cfg): Fix comment.
2093
2094         * passes.c (rest_of_compilation): Don't do a second call to
2095         convert_from_eh_region_ranges from here, it's already called
2096         from cfgexpand.c.
2097         * except.c (resolve_fixup_regions): Remove.
2098         (remove_fixup_regions): Remove.
2099         (convert_from_eh_region_ranges_1): Remove.
2100         (convert_from_eh_region_ranges): Remove the case where EH is
2101         not already lowered at the tree level.  We always lower there.
2102
2103 2004-11-24  Paolo Bonzini  <bonzini@gnu.org>
2104
2105         PR c++/16882
2106         * tree.c (make_vector_type): Move qualifiers to the vector type,
2107         use the inner type's main variant and build a main variant for
2108         the vector type if necessary.
2109         (type_hash_eq): Check a vector type's TYPE_VECTOR_SUBPARTS.
2110
2111 2004-11-24  Eric Botcazou  <ebotcazou@libertysurf.fr>
2112
2113         * target.h (late_rtl_prologue_epilogue): Remove.
2114         * target-def.h (TARGET_LATE_RTL_PROLOGUE_EPILOGUE): Remove.
2115         * system.h: Poison TARGET_LATE_RTL_PROLOGUE_EPILOGUE.
2116         * passes.c (rest_of_handle_prologue_epilogue): Remove and move
2117         remaining bits to...
2118         (rest_of_handle_flow2): ...here.
2119         (rest_of_compilation): Remove call to rest_of_handle_prologue_epilogue.
2120         * doc/tm.texi (TARGET_LATE_RTL_PROLOGUE_EPILOGUE): Remove.
2121
2122 2004-11-23  Mark Mitchell  <mark@codesourcery.com>
2123
2124         * hwint.h (HOST_LONG_LONG_FORMAT): New macro.  Use it throughout.
2125         * config/i386/xm-mingw32.h (HOST_LONG_LONG_FORMAT): Define.
2126         * doc/hostconfig.texi (HOST_LONG_LONG_FORMAT): Document.
2127
2128 2004-11-24  Daniel Jacobowitz  <dan@codesourcery.com>
2129
2130         * config/i386/i386.c (override_options): Move
2131         SUBTARGET_OVERRIDE_OPTIONS before defaulting
2132         flag_omit_frame_pointer.
2133
2134 2004-11-23  Richard Henderson  <rth@redhat.com>
2135
2136         * rtl.h (validate_subreg): Declare.
2137         * emit-rtl.c (validate_subreg): New.
2138         (gen_rtx_SUBREG): Use it.
2139         * simplify-rtx.c (simplify_subreg): Likewise.
2140         (simplify_gen_subreg): Likewise.  Remove duplicate asserts.
2141         * expr.c (emit_move_insn_1): Tidy complex move code.  Use memory
2142         fallback whenever gen_realpart/gen_imagpart would not be able to
2143         create SUBREGs.
2144
2145 2004-11-23  Richard Henderson  <rth@redhat.com>
2146
2147         * expmed.c (extract_bit_field): Use simplify_gen_subreg instead of
2148         hard-coding avoiding calls to gen_rtx_SUBREG.  Split complex return
2149         modes to CONCAT.
2150
2151 2004-11-23  Diego Novillo  <dnovillo@redhat.com>
2152
2153         PR tree-optimization/18618
2154         * tree-into-ssa.c (DEF_VEC_MALLOC_P(basic_block)): Declare.
2155         (insert_phi_nodes_for): Change third argument to VEC(basic_block).
2156         * tree-ssa-dom.c (avail_exprs_stack): Change type to VEC(tree_on_heap).
2157         Update all users.
2158         (stmts_to_rescan): Likewise.
2159         (const_and_copies_stack): Likewise.
2160         (nonzero_vars_stack): Likewise.
2161         (vrp_variables_stack): Likewise.
2162
2163 2004-11-23  Richard Henderson  <rth@redhat.com>
2164
2165         * cse.c (record_jump_cond_subreg): New.
2166         (record_jump_cond): Use it instead of gen_lowpart.
2167
2168 2004-11-23  Daniel Jacobowitz  <dan@codesourcery.com>
2169             Joseph Myers  <joseph@codesourcery.com>
2170
2171         * config/sol2-c.c (solaris_register_pragmas): Use
2172         c_register_pragma_with_expansion.
2173         * config/sol2.h (HANDLE_PRAGMA_PACK_WITH_EXPANSION): Define.
2174         * c-pragma.c (c_register_pragma): Update call to
2175         cpp_register_pragma.
2176         (c_register_pragma_with_expansion): New function.
2177         (init_pragma): Honor HANDLE_PRAGMA_PACK_WITH_EXPANSION.
2178         * c-pragma.h (c_register_pragma_with_expansion): New prototype.
2179         * doc/extend.texi (Solaris Pragmas): Mention macro expansion for
2180         #pragma align.
2181         * doc/tm.texi (c_register_pragma_with_expansion,
2182         HANDLE_PRAGMA_PACK_WITH_EXPANSION): Document.
2183
2184 2004-11-23  Richard Henderson  <rth@redhat.com>
2185
2186         * combine.c (gen_lowpart_for_combine): Factor out mode of x as well
2187         as mode sizes into local temporaries.  Unify failure path.
2188
2189 2004-11-23  Richard Henderson  <rth@redhat.com>
2190
2191         * emit-rtl.c, rtl.h (subreg_hard_regno): Remove.
2192         * caller-save.c (mark_set_regs): Use subreg_regno instead.
2193         * final.c (alter_subreg): Likewise.
2194         * local-alloc.c (reg_is_born): Likewise.
2195
2196 2004-11-23  Richard Henderson  <rth@redhat.com>
2197
2198         * simplify-rtx.c (simplify_subreg): Use subreg_regno_offset directly
2199         instead of using a SUBREG temporary.
2200
2201 2004-11-23  Kazu Hirata  <kazu@cs.umass.edu>
2202
2203         * tree-cfg.c (tree_forwarder_block_p): Speed up by reordering
2204         two checks.
2205
2206 2004-11-23  Zack Weinberg  <zack@codesourcery.com>
2207
2208         * function.h (struct function): Remove calls_longjmp.
2209         (current_function_calls_longjmp): Delete.
2210         * tree.h (ECF_LONGJMP): Delete.
2211         (ECF_SIBCALL, ECF_PURE, ECF_SP_DEPRESSED, ECF_ALWAYS_RETURN)
2212         (ECF_LIBCALL_BLOCK): Everybody slide down one.
2213         (ECF_CONST, ECF_NORETURN, ECF_SIBCALL): Clarify comments.
2214         * builtins.c (expand_builtin_longjmp): Don't set
2215         current_function_calls_longjmp.
2216         * calls.c (special_function_p): Mark longjmp and siglongjmp
2217         with ECF_NORETURN, not ECF_LONGJMP.
2218         (emit_call_1, expand_call, emit_library_call_value_1):
2219         Don't check for ECF_LONGJMP.
2220         * tree-cfg.c (make_exit_edges, is_ctrl_altering_stmt)
2221         (need_fake_edge_p): Likewise.
2222
2223         * config/avr/avr.h, config/ip2k/ip2k.h: Don't define NON_SAVING_SETJMP.
2224         * system.h: Poison NON_SAVING_SETJMP.
2225         * function.c (use_register_for_decl)
2226         * gcse.c (compute_hash_table_work, compute_store_table)
2227         * postreload-gcse.c (record_opr_changes)
2228         * reload.c (find_equiv_reg)
2229         * reload1.c (reload)
2230         * config/i386/i386.c (ix86_can_use_return_insn_p):
2231         Remove code conditional on NON_SAVING_SETJMP.
2232         * doc/tm.texi: Delete documentation of NON_SAVING_SETJMP.
2233
2234         * config/i386/sysv3.h: Delete file.
2235         * config/i386/i386.c (ix86_svr3_asm_out_constructor): Delete.
2236
2237 2004-11-23  Dorit Naishlos  <dorit@il.ibm.com>
2238
2239         * tree-vectorizer.c (vect_analyze_operations): Don't vectorize if
2240         the vectorization factor is greater than the iteration count.
2241         (vect_gen_niters_for_prolog_loop): No need to calculate min if the
2242         iteration count is known.
2243
2244         (vect_build_symbol_bound): Removed. Its functionality moved to
2245         vect_generate_tmps_on_preheader.
2246         (vect_generate_tmps_on_preheader): Moved content of
2247         vect_build_symbol_bound here instead of calling it.  Changed some
2248         variables names.
2249
2250         (vect_build_loop_niters): We don't expect a new_bb to be generated -
2251         use gcc_assert.
2252         (vect_gen_niters_for_prolog_loop): Likewise.
2253         (vect_gen_niters_for_prolog_loo): Likewise.
2254
2255         (slpeel_make_loop_iterate_ntimes): Use buildN instead of build.
2256         (slpeel_add_loop_guard): Likewise.
2257         (slpeel_tree_peel_loop_to_edge): Likewise.
2258         (vect_do_peeling_for_alignment): Likewise.
2259
2260         (vect_get_first_index): Missing space.
2261
2262 2004-11-23  Ulrich Weigand  <uweigand@de.ibm.com>
2263
2264         * config/s390/s390.md ("*iordi3"): Mark commutative.
2265         ("*iorsi3_zarch", "*iorsi3_esa"): Likewise.
2266
2267 2004-11-23  Kazu Hirata  <kazu@cs.umass.edu>
2268
2269         * tree-phinode.c (resize_phi_node): Abort when LEN is strictly
2270         greater than PHI_ARG_CAPACITY.
2271         (reserve_phi_args_for_new_edge): Initialize the new PHI
2272         argument to NULL_TREE.  Increment PHI_NUM_ARGS.
2273         (add_phi_arg): Add a PHI argument to the slot given by
2274         E->dest_idx.
2275         (remove_phi_arg_num): Do not write to PHI_ARG_EDGE.
2276         * tree-flow-inline (phi_arg_from_edge): Return E->dest_idx.
2277         * tree-ssa.c (ssa_redirect_edge): Check for a missing PHI
2278         argument by looking at PHI_ARG_DEF.
2279         (verify_phi_args): Check for a missing PHI argument.  Remove
2280         the check for duplicate PHI arguments.
2281         * tree.h (PHI_ARG_EDGE): Redefine in terms of EDGE_PRED.
2282         (phi_arg_d): Remove e.
2283
2284         * tree-cfg.c (tree_try_redirect_by_replacing_jump): Speed up
2285         by restricting to the case with two outgoing edges.
2286
2287 2004-11-23  Andreas Krebbel  <krebbel1@de.ibm.com>
2288
2289         * config/s390/s390.c (s390_backchain_string): Removed.
2290         (s390_return_addr_rtx, s390_back_chain_rtx, s390_frame_info)
2291         (s390_emit_prologue, s390_va_start, s390_gimplify_va_arg):
2292         Changed users of TARGET_BACKCHAIN, TARGET_NO_BACKCHAIN and
2293         TARGET_KERNEL_BACKCHAIN to reflect the new options.
2294         * config/s390/s390.h (MASK_BACKCHAIN, MASK_PACKED_STACK): New macros.
2295         (TARGET_KERNEL_BACKCHAIN): Removed.
2296         (TARGET_BACKCHAIN): Former triple state option change to a target flag.
2297         (TARGET_PACKED_STACK): New macro.
2298         (TARGET_SWITCHES): New switches added.
2299         (TARGET_OPTIONS): "backchain", "no-backchain" and "kernel-backchain"
2300         removed.
2301         (DYNAMIC_CHAIN_ADDRESS): Use TARGET_PACKED_STACK.
2302         * config/s390/s390.md ("allocate_stack", "restore_stack_block")
2303         ("save_stack_nonlocal", "restore_stack_nonlocal"): Modified to reflect
2304         the change in target switch semantics.
2305         * config/s390/tpf.h (TARGET_DEFAULT_BACKCHAIN): Removed.
2306         (TARGET_DEFAULT): MASK_BACKCHAIN added.
2307         * doc/invoke.texi: Added documentation for the new/changed options.
2308
2309 2004-11-23  Uros Bizjak  <uros@kss-loka.si>
2310
2311         PR rtl-optimization/18614
2312         * simplify-rtx.c (simplify_binary_operation): Do not
2313         simplify inner elements of constant arguments of
2314         VEC_CONCAT insn.
2315
2316 2004-11-23  Eric Botcazou  <ebotcazou@libertysurf.fr>
2317
2318         * gthr-solaris.h (__gthread_recursive_mutex_init_function): Use
2319         0 instead of NULL.
2320
2321 2004-11-23  Kazu Hirata  <kazu@cs.umass.edu>
2322
2323         * tree-phinode.c (make_phi_node): Use a new variable,
2324         capacity, to receive the return value of ideal_phi_node_len.
2325
2326 2004-11-23  Eric Botcazou  <ebotcazou@libertysurf.fr>
2327
2328         * gthr-solaris.h (__gthread_recursive_mutex_t): New type.
2329         (__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION): Define to
2330         __gthread_recursive_mutex_init_function.
2331         (__gthread_key_create): Properly cast -1.
2332         (__gthread_recursive_mutex_init_function): New function.
2333         (__gthread_recursive_mutex_lock): Rewrite.
2334         (__gthread_recursive_mutex_trylock): Likewise.
2335         (__gthread_recursive_mutex_unlock): Likewise.
2336
2337 2004-11-23  Ralf Corsepius <ralf.corsepius@rtems.org>
2338
2339         * config/c4x/t-rtems: New.
2340         * config.gcc: Reflect having added c4x/t-rtems.
2341
2342 2004-11-23  Dorit Naishlos <dorit@il.ibm.com>
2343
2344         PR tree-opt/18403
2345         PR tree-opt/18505
2346         * tree-vectorizer.c (vect_create_data_ref_ptr): Use
2347         lang_hooks.types.type_for_size instead of integer_type_node for the
2348         type of ptr_update.
2349
2350 2004-11-23  Ralf Corsepius <ralf.corsepius@rtems.org>
2351
2352         * config.gcc (h8300-*-rtems*): Use h8300/t-rtems.
2353
2354 2004-11-23  Ralf Corsepius <ralf.corsepius@rtems.org>
2355
2356         * config/arm/t-rtems: New.
2357         * config.gcc: Reflect having added arm/t-rtems.
2358
2359 2004-11-23  Kazu Hirata  <kazu@cs.umass.edu>
2360
2361         * tree-cfg.c (tree_execute_on_growing_pred): New.
2362         (tree_cfg_hooks): Add tree_execute_on_growing_pred.
2363         * tree-flow.h: Add a prototype for
2364         reserve_phi_args_for_new_edge.
2365         * tree-phinodes.c (reserve_phi_args_for_new_edge): New.
2366         (add_phi_arg): Don't resize a PHI array.
2367
2368 2004-11-23  Ralf Corsepius <ralf.corsepius@rtems.org>
2369
2370         * config.gcc: Add avr-*-rtems*.
2371         * config/avr/t-rtems: New.
2372         * config/avr/rtems.h: New.
2373
2374 2004-11-22  Daniel Berlin  <dberlin@dberlin.org>
2375
2376         * df.c (dataflow_set_a_op_b): Remove reslt parameter, since it's
2377         always the same as op1.  Use bitmap_ior_into and bitmap_and_into.
2378         Add comment to function.
2379
2380 2004-11-22  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
2381
2382         PR pch/14940
2383         * config/host-linux.c (TRY_EMPTY_VM_SPACE): Define for __hppa__.
2384
2385         PR rtl-optimization/14838
2386         * emit-rtl.c (get_first_nonnote_insn): Don't assume first insn is a
2387         note.
2388         (get_last_nonnote_insn): Don't assume last insn is a note.
2389
2390 2004-11-22  Roger Sayle  <roger@eyesopen.com>
2391
2392         * fold-const.c (nondestructive_fold_binary_to_constant): Rename
2393         to fold_binary_to_constant.
2394         (nondestructive_fold_unary_to_constant): Likewise, rename to
2395         fold_unary_to_constant.
2396         (fold_relational_hi_lo): Update call to fold_binary_to_constant.
2397         * tree.h (nondestructive_fold_binary_to_constant): Update prototype.
2398         (nondestructive_fold_unary_to_constant): Likewise.
2399         * tree-ssa-ccp.c (ccp_fold): Update calls to fold_unary_to_constant
2400         and fold_binary_to_constant.
2401         * tree-ssa-loop-niter.c (EXEC_BINARY, EXEC_UNARY): Delete macros.
2402         (inverse, number_of_iterations_cond): Replace uses of EXEC_BINARY
2403         and EXEC_UNARY with calls to fold_*nary_to_constant.
2404         * tree-ssa-loop-ivopts.c (EXEC_BINARY, EXEC_UNARY): Delete macros.
2405         (idx_find_step): Replace uses of EXEC_BINARY with calls to
2406         fold_binary_to_constant.
2407
2408 2004-11-22  Nick Clifton  <nickc@redhat.com>
2409
2410         * sbitmap.c (sbitmap_union_of_preds): Remove redundant
2411         initialisation of 'e'.
2412
2413 2004-11-22  Roger Sayle  <roger@eyesopen.com>
2414
2415         * config/i386/i386.h (TARGET_USE_FANCY_MATH_387): New macro.
2416         * config/i386/i386.c (override_options):  Set MASK_NO_FANCY_MATH_387
2417         automatically for targets without TARGET_80387.
2418         * config/i386/i386.md (sqrtsf2, sqrtsf2_1, sqrtsf2_i387, sqrtdf2,
2419         sqrtdf2_1, sqrtdf2_i387, *sqrtextendsfdf2, sqrtxf2,
2420         *sqrtextenddfxf2, *sqrtextendsfxf2, fpremxf4, fmodsf3, fmoddf3,
2421         fmodxf3, fprem1xf4, dremsf3, dremdf3, dremxf3, *sindf2, *sinsf2,
2422         *sinextendsfdf2, *sinxf2, *cosdf2, *cossf2, *cosextendsfdf2,
2423         *cosxf2, sincosdf3, sincossf3, *sincosextendsfdf3, sincosxf3,
2424         *tandf3_1, tandf2, *tansf3_1, tansf2, *tanxf3_1, tanxf2,
2425         atan2df3_1, atan2df3, atandf2, atan2sf3_1, atan2sf3, atansf2,
2426         atan2xf3_1, atan2xf3, atanxf2, asindf2, asinsf2, asinxf2,
2427         acosdf2, acossf2, acosxf2, fyl2x_xf3, logsf2, logdf2, logxf2,
2428         log10sf2, log10df2, log10xf2, log2sf2, log2df2, log2xf2,
2429         fyl2xp1_xf3, log1psf2, log1pdf2, log1pxf2, *fxtractxf3, logbsf2,
2430         logbdf2, logbxf2, ilogbsi2, *f2xm1xf2, *fscalexf4, expsf2,
2431         expdf2, expxf2, exp10sf2, exp10df2, exp10xf2, exp2sf2, exp2df2,
2432         exp2xf2, expm1df2, expm1sf2, expm1xf2, frndintxf2, rintdf2,
2433         rintsf2, rintxf2, frndintxf2_floor, floordf2, floorsf2,
2434         floorxf2, frndintxf2_ceil, ceildf2, ceilsf2, ceilxf2,
2435         frndintxf2_trunc, btruncdf2, btruncsf2, btruncxf2,
2436         frndintxf2_mask_pm, nearbyintdf2, nearbyintsf2, nearbyintxf2):
2437         Simplify conditionals using TARGET_USE_FANCY_MATH_387.
2438
2439 2004-11-22  Dale Johannesen  <dalej@apple.com>
2440
2441         * config/darwin.h (JUMP_TABLES_IN_TEXT_SECTION):  Conditionalize
2442         properly and comment.
2443
2444 2004-11-22  James A. Morrison  <phython@gcc.gnu.org
2445
2446         * config/sparc/sparc.c: Include insn-codes.h and langhooks.h.
2447         (sparc_init_builtins): New function.
2448         (sparc_init_vis_builtins): Create builtin functions for VIS
2449         instructions.
2450         (sparc_expand_builtin): Expand builtin functions for VIS instructions.
2451         (TARGET_INIT_BUILTINS): Define to sparc_init_builtins.
2452         (TARGET_EXPAND_BUILTIN): Define to sparc_expand_builtin.
2453         (def_builtin): New macro for creating builtin functions.
2454         (P): New mode macro for pointer types.
2455         (UNSPEC_FPACK16, UNSPEC_FPACK32, UNSPEC_FPACKFIX, UNSPEC_FEXPAND,
2456         UNSPEC_FPMERGE, UNSPEC_MUL16AL, UNSPEC_MUL8UL, UNSPEC_MULDUL,
2457         UNSPEC_ALIGNDATA, UNSPEC_ALIGNADDR, UNSPEC_PDIST): New constants.
2458         (fpack16_vis, fpackfix_vis, fpack32_vis, fexpand_vis, fpmerge_vis,
2459         fmul8x16_vis, fmul8x16au_vis, fmul8x16al_vis, fmul8sux16_vis,
2460         fmul8ulx16_vis, fmuld8sux16_vis, fmuld8ulx16_vis, pdist_vis,
2461         faligndata<V64:mode>_vis, alignaddr<P:mode>_vis): New patterns.
2462
2463 2004-11-22  Devang Patel  <dpatel@apple.com>
2464
2465         * tree-if-conv.c (clean_predicate_lists): Clean all basic blocks.
2466
2467 2004-11-22  Devang Patel  <dpatel@apple.com>
2468
2469         * tree-if-conv.c (if_convertable_phi_p): Rename to ...
2470         (if_convertible_phi_p): ... new name.
2471         (if_convertable_modify_expr_p): Rename to ...
2472         (if_convertible_modify_expr_p): ... new name.
2473         (if_convertable_stmt_p): Rename to ...
2474         (if_convertible_stmt_p): ... new name.
2475         (if_convertable_bb_p): Rename to ...
2476         (if_convertible_bb_p): ... new name.
2477         (if_convertable_loop_p): Rename to ...
2478         (if_convertible_loop_p): ... new name.
2479
2480 2004-11-22  Eric Botcazou  <ebotcazou@libertysurf.fr>
2481
2482         PR target/18444
2483         * configure.ac (threading): Accept 'posix95'.
2484         * configure: Regenerate.
2485         * config.gcc (i[34567]86-*-solaris2*): On Solaris up to 2.6,
2486         include sol26.h and default to posix95 threads if have_pthread_h.
2487         (sparc-*-solaris2*): Likewise.
2488         * gthr.h: Include gthr-posix95.h if _PTHREADS95 is defined.
2489         * gthr-posix95.h: New file.
2490         * config/sol26.h: New file.
2491         * doc/install.texi (--enable-threads): Document 'posix95'.
2492
2493 2004-11-23  Ben Elliston  <bje@au.ibm.com>
2494
2495         * pointer-set.h (pointer_set_contains): Remove.
2496         * pointer-set.c (pointer_set_contains): Likewise.
2497
2498 2004-11-22  Dale Johannesen  <dalej@apple.com>
2499
2500         * calls.c (expand_call): Do not call preserve_temp_slots.
2501
2502 2004-11-22  Kazu Hirata  <kazu@cs.umass.edu>
2503
2504         * tree-flow.h: Remove the prototype for remove_phi_arg.
2505         Add a prototype for remove_phi_args.
2506         * tree-phinodes.c (remove_phi_arg): Remove.
2507         (remove_phi_args): New.
2508         * tree-ssa.c (ssa_remove_edge): Call remove_phi_args instead
2509         of remove_phi_arg.
2510
2511         * cfg.c (unchecked_make_edge): Call execute_on_growing_pred
2512         after making an edge.
2513         (remove_edge): Call execute_on_shrinking_pred before removing
2514         an edge.
2515         (redirect_edge_succ): Call execute_on_growing_pred and
2516         execute_on_shrinking_pred.
2517         * cfghooks.c (execute_on_growing_pred): New.
2518         (execute_on_shrinking_pred): Likewise.
2519         * cfghooks.h (cfg_hooks): Add execute_on_growing_pred and
2520         execute_on_shrinking_pred.
2521         Add prototypes for execute_on_growing_pred and
2522         execute_on_shrinking_pred.
2523         * cfgrtl.c (rtl_cfg_hooks): Add NULL hooks to
2524         execute_on_growing_pred and execute_on_shrinking_pred.
2525         (cfg_layout_rtl_cfg_hook): Likewise.
2526         * tree-cfg.c (tree_cfg_hooks): Likewise.
2527
2528         * tree-cfg.c (tree_execute_on_shrinking_pred): New.
2529         (tree_cfg_hooks): Use it.
2530         * tree-ssa.c (ssa_remove_edge): Don't call remove_phi_args.
2531         (ssa_redirect_edge): Don't call remove_phi_arg_num.
2532
2533         * tree-phinodes.c (remove_phi_arg_num): Make it static.
2534         * tree-flow.h: Remove the corresponding prototype.
2535
2536         * tree-ssa.c (ssa_remove_edge): Remove.
2537         * tree-flow.h: Remove the corresponding prototype.
2538         * tree-cfg.c: Replace ssa_remove_edge with remove_edge.
2539         * basic-block.h: Likewise.
2540         * tree-if-conv.c: Likewise.
2541         * tree-ssa-threadupdate.c: Likewise.
2542
2543 2004-11-23  Ben Elliston  <bje@au.ibm.com>
2544
2545         * doc/cfg.texi (Maintaining the CFG): Use @ftable instead of
2546         @table to list the BSI methods.  Use individual @findex directives
2547         instead of one with a comma-separated list of index entries.
2548
2549 2004-11-22  Zdenek Dvorak  <dvorakz@suse.cz>
2550
2551         PR tree-optimization/18529
2552         * fold-const.c (fold_to_nonsharp_ineq_using_bound): New function.
2553         (simple_operand_p): Use STRIP_NOPS.  Consider SSA names simple.
2554         (fold): Call fold_to_nonsharp_ineq_using_bound.
2555         * tree-ssa-loop-niter.c (simplify_replace_tree): New function.
2556         (number_of_iterations_cond): Fold the expressions before futher
2557         processing.
2558         (tree_simplify_using_condition): Handle case when cond or expr is
2559         an EQ_EXPR specially.
2560
2561 2004-11-22 Daniel Berlin  <dberlin@dberlin.org>
2562
2563         * tree-ssa.c (verify_ssa): SSA_OP_ALL_USES should be
2564         SSA_OP_ALL_USES | SSA_OP_ALL_KILLS for verification purposes.
2565
2566 2004-11-22  David Edelsohn  <edelsohn@gnu.org>
2567             Fariborz Jahanian  <fjahanian@apple.com>
2568
2569         * config/rs6000/rs6000.c (rs6000_return_in_memory): Test
2570         TARGET_ALTIVEC_ABI.
2571         (function_arg_boundary): Align 8 to 16 byte vectors like SPE.
2572         Align 16 byte and larger vectors like Altivec.
2573         (function_arg_advance): Pass any 16 byte vector like Altivec vector.
2574         (function_arg): Same.
2575         (rs6000_pass_by_references): Test TARGET_ALTIVEC_ABI.
2576
2577 2004-11-22  Andrew Pinski  <pinskia@physics.uc.edu>
2578
2579         PR tree-opt/18572
2580         * tree-sra.c (scalarize_init): Unshare the rhs before gimplifying
2581         it.
2582
2583 2004-11-22  Richard Henderson  <rth@redhat.com>
2584
2585         * function.c (assign_parm_setup_block): Revert 11-13 change to
2586         forcably re-mode a (possibly BLKmode) hard register.
2587
2588 2004-11-22  Eric Botcazou  <ebotcazou@libertysurf.fr>
2589
2590         * config/sparc/sparc.c (mem_min_alignment): Check MEM_ALIGN.
2591
2592 2004-11-22  David Edelsohn  <edelsohn@gnu.org>
2593
2594         * config/rs6000/power4.md: Remove delay between dispatch and issue
2595         associated with dispatch group slots 3 and 4.
2596         * config/rs6000/power5.md: Same.
2597
2598 2004-11-21  Jeff Law  <law@redhat.com>
2599
2600         * cfg.c (cached_make_edge): Use find_edge rather than an inlined
2601         variant.
2602         * cfgbuild.c (make_edges): Likewise.
2603         * cfghooks.c (can_duplicate_block_p): Likewise.
2604         * cfgloop.c (loop_latch_edge): Likewise.
2605         * cfgloopmanip.c (force_single_succ_latches): Likewise.
2606         * cfgrtl.c (rtl_flow_call_edges_add): Likewise.
2607         * predict.c (predict_loops, propagate_freq): Likewise.
2608         * tracer.c (tail_duplicate): Likewise.
2609         * tree-cfg.c (disband_implicit_edges): Likewise.
2610         (tree_forwarder_block_p, tree_flow_call_edges_add): Likewise.
2611
2612 2004-11-22  Nick Clifton  <nickc@redhat.com>
2613
2614         * sbitmap.c (sbitmap_union_of_preds): Remove redundant
2615         initialisation of 'e'.
2616
2617 2004-11-22  Kazu Hirata  <kazu@cs.umass.edu>
2618
2619         PR rtl-optimization/18599
2620         * regrename.c (copyprop_hardreg_forward): Speed up by putting
2621         BB_VISITED flags on basic blocks as we process them.
2622
2623 2004-11-22  Nathan Sidwell  <nathan@codesourcery.com>
2624
2625         PR target/18531
2626         * config/rs6000/altivec.md (VI_char): New mode attribute.
2627         (addv16qi3, addv8hi3, addv4ai3): Replace with ...
2628         (add<mode>3): ... this.
2629         (subv16qi3, subv8hi3, subv4ai3): Replace with ...
2630         (sub<mode>3): ... this.
2631         (smaxv16qi3, smaxv8hi3, smaxv4ai3): Replace with ...
2632         (smax<mode>3): ... this.
2633         (sminv16qi3, sminv8hi3, sminv4ai3): Replace with ...
2634         (smin<mode>3): ... this.
2635         (umaxv16qi3, umaxv8hi3, umaxv4ai3): Replace with ...
2636         (umax<mode>3): ... this.
2637         (uminv16qi3, uminv8hi3, uminv4ai3): Replace with ...
2638         (umin<mode>3): ... this.
2639         (andv16qi3, andv8hi3, andv4ai3): Replace with ...
2640         (and<mode>3): ... this.
2641         (iorv16qi3, iorv8hi3, iorv4ai3): Replace with ...
2642         (ior<mode>3): ... this.
2643         (xorv16qi3, xorv8hi3, xorv4ai3): Replace with ...
2644         (xor<mode>3): ... this.
2645         (andv16qi3, andv8hi3, andv4ai3): Replace with ...
2646         (and<mode>3): ... this.
2647         (iorv16qi3, iorv8hi3, iorv4ai3): Replace with ...
2648         (ior<mode>3): ... this.
2649         (altivec_vnor): Replace with ...
2650         (altivec_nor<mode>): ... this.
2651         (one_cmplv16qi2, one_cmplv8hi2, one_complv4ai2): Replace with ...
2652         (one_cmpl<mode>2): ... this.
2653         (altivec_vandc): New expander.
2654         (*andc<mode>3): New insn.
2655         * config/rs6000/rs6000.c (bdesc_2arg): Adjust for new insn names.
2656
2657 2004-11-22  Dorit Naishlos  <dorit@il.ibm.com>
2658
2659         PR tree-opt/18536
2660         * tree-vectorizer.c (make_loop_iterate_ntimes): Use type of niters when
2661         creating iv instead of integer_type.
2662         (vect_build_loop_niters): Remove redundant code.
2663         (vect_transform_loop_bound): Removed (duplicates functionality of
2664         make_loop_iterate_ntimes.
2665         (vect_gen_niters_for_prolog_loop): Add documentation. Call
2666         lang_hooks.types.type_for_size to create a type of the required size.
2667         Use that type instead of integer_type. Remove redundant code.
2668         (vect_update_niters_after_peeling): Use type of niters instead of
2669         integer_type.
2670         (vect_transform_loop): Unify handling of known and unknown loop bound
2671         cases. Call make_loop_iterate_ntimes instead of
2672         vect_transform_loop_bound.
2673
2674 2004-11-22  Andrew Pinski  <pinskia@physics.uc.edu>
2675
2676         PR target/18217
2677         * config/rs6000/t-darwin (LIB2FUNCS_EXTRA): Move darwin-fallback.c to
2678         (LIB2ADDEH): Here.
2679
2680 2004-11-22  Dorit Naishlos  <dorit@il.ibm.com>
2681
2682         PR tree-opt/18544
2683         * tree-vectorizer.c (vect_analyze_data_refs): Fail if memtag not found.
2684
2685 2004-11-22 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
2686
2687         * config.gcc: Use t-slibgcc-elf to build libgcc_s.so on
2688         m32r*linux.
2689         * config/m32r/t-linux (SHLIB_MAPFILES): Override to use
2690         m32r/libgcc-glibc.ver.
2691         * config/m32r/libgcc-glibc.ver: Add New file.
2692
2693 2004-11-22  Nathan Sidwell  <nathan@codesourcery.com>
2694
2695         * bitmap.h (struct bitmap_obstack): New obstack type.
2696         (struct bitmap_head_def): Replace using_obstack with obstack
2697         pointer.
2698         (bitmap_default_obstack): New.
2699         (bitmap_initialize): Make inline, does not do allocation.
2700         (bitmap_release_memory): Remove.
2701         (bitmap_obstack_initialize, bitmap_obstack_release): Declare.
2702         (bitmap_obstack_alloc, bitmap_malloc_alloc, bitmap_gc_alloc,
2703         bitmap_obstack_free, bitmap_malloc_free): Declare.
2704         (BITMAP_OBSTACK_ALLOC, BITMAP_GGC_ALLOC, BITMAP_XMALLOC): Adjust.
2705         (BITMAP_FREE): Replace with ...
2706         (BITMAP_OBSTACK_FREE): ... this.
2707         (BITMAP_XFREE): Adjust.
2708         (BITMAP_INIT_ONCE): Remove.
2709         * bitmap.c (bitmap_obstack, bitmap_obstack_init, bitmap_free: Remove.
2710         (bitmap_default_obstack): New.
2711         (bitmap_elem_to_freelist): Adjust.
2712         (bitmap_element_allocate): Adjust. Break initialization into ...
2713         (bitmap_obstack_initialize): ... here.
2714         (bitmap_release_memory): Replace with ...
2715         (bitmap_obstack_release): ... this.
2716         (bitmap_obstack_alloc, bitmap_malloc_alloc, bitmap_gc_alloc,
2717         bitmap_obstack_free, bitmap_malloc_free): New.
2718         (bitmap_ior_and_compl, bitmap_ior_and_compl_into): Use
2719         bitmap_initialize.
2720         (bitmap_initialize): Move to bitmap.h.
2721         * gengtype.c (open_base_files): Add obstack.h to ifiles.
2722         * Makefile.in (BASIC_BLOCK_H, REGS_H): Add obstack.h.
2723         * basic-block.h (INIT_REG_SET): Allocate from reg_obstack.
2724         (INITIALIZE_REG_SET): Remove.
2725         (FREE_REG_SET): Use BITMAP_OBSTACK_FREE.
2726         (INIT_ONCE_REG_SET, MAX_REGNO_REG_SET): Remove.
2727         (flow_obstack): Do not declare.
2728         (reg_obstack): Declare.
2729         * regs.h: Include obstack.h.
2730         * tree-optimize.c (tree_rest_of_compilation): Initialize and
2731         release bitmap obstack here.
2732         * bb-reorder.c: #include regs, not basic-block.
2733         (fix_crossing_conditional_branches): Allocate regsets from
2734         reg_obstack.
2735         * bt-load.c: Do not inlude bitmap.h, sbitmap.h, basic-block.h or
2736         obstack.h.
2737         * caller-save.c: Include regs.h earlier.
2738         * cfg.c: Do not include basic-block.h or obstack.h.
2739         (reg_obstack): Define.
2740         * cfganal.c: Include obstack.h
2741         * cfgcleanyp.c: Do not include basic-block.h. Include regs.h
2742         earlier.
2743         * cfglayout.c: Do not include obstack.h.
2744         (flow_obstack): Remove declaration.
2745         (cfg_layout_duplicate_bb): Use reg_obstack.
2746         * cfgloop.c, cfgloopanal.c, cfgloopmanip.c: Include obstack.h.
2747         * cfgrtl.c (rtl_split_block): Use reg_obstack.
2748         (force_nonfallthru_and_redirect, rtl_split_edge): Likewise.
2749         (safe_insert_insn_on_edge): Use OBSTACK_ALLOC_REG_SET, adjust.
2750         (cfg_layout_split_edge): Use reg_obstack.
2751         * cse.c: Include regs.h earlier.
2752         * ddg.c: Do not include basic-block.h.
2753         * dominance.c: Inlude obstack.h.
2754         * flow.c (update_life_info): Use OBSTACK_ALLOC_REG_SET, adjust.
2755         (calculate_global_regs_live): Likewise.
2756         (allocate_bb_life_data): Use reg_obstack.
2757         (init_propagate_block_info): Use OBSTACK_ALLOC_REGSET.
2758         * global.c: Do not include basic-block.h.
2759         (build_insn_chain): Use OBSTACK_ALLOC_REG_SET, adjust.
2760         * graph.c: Include obstack.h.
2761         * haifa-sched.c: Do not include basic-block.h.
2762         * ifcvt.c: Use OBSTACK_ALLOC_REG_SET, adjust.
2763         * local-alloc.c: Do not include basic-block.h.
2764         * loop-init.c, loop-invariant.c: Include obstack.h.
2765         * loop-iv.c: Likewise.
2766         (simplify_using_initial_values): Use OBSTACK_ALLOC_REG_SET,
2767         adjust.
2768         * loop-unroll.c, loop-unswitch.c: Inlude obstack.h.
2769         * modulo-sched.c: Do not include basic-block.h.
2770         * passes.c (rest_of_handle_final): Do not call
2771         regset_release_memory.
2772         * ra-debug.c: Include regs.h earlier. Do not include
2773         basic-block.h.
2774         * recog.c (peephole2_optimize): Use OBSTACK_ALLOC_REG_SET, adjust.
2775         * regclass.c (init_reg_sets): Do not call INIT_ONCE_REG_SET.
2776         (allocate_reg_info): Do not call MAX_REGNO_REG_SET.
2777         (regset_release_memory): Remove.
2778         * resource.c: Do not include basic-block.h.
2779         * rtlanal.c: Do not include basic-block.h.
2780         * sbitmap.c: Include obstack.h.
2781         * sched-deps.c: Do not include basic-block.h.
2782         (reg_pending_sets_head, reg_pending_clobbers_head,
2783         reg_pending_uses_head): Remove.
2784         (init_deps_global): Use OBSTACK_ALLOC_REG_SET.
2785         * sched-ebb.c: Do not include basic-block.h.
2786         * sched-rgn.c: Likewise.
2787         * tree-if-conv.c (get_loop_body_in_if_conv_order): Use
2788         BITMAP_XFREE.
2789         * tree-outof-ssa.c (perform_edge_inserts): Use BITMAP_XFREE.
2790         * tree-sra.c (decide_instantiations): Adjust bitmap
2791         initialization.
2792         * tree-ssa-dce.c: Include obstack.h.
2793         * tree-ssa-pre.c (grand_bitmap_obstack): Make a bitmap_obstack.
2794         (value_insert_into_set_bitmap): Remove useless bitmap_clear.
2795         (bitmap_set_new): Likewise.
2796         (init_pre): Initialize bitmap obstack.
2797         (fini_pre): Release bitmap obstack.
2798         * tree-ssanames.c (ssa_names_to_rewrite): Make static.
2799         (marked_for_rewrite_p): ssa_names_to_rewrite is never NULL.
2800         (mark_for_rewrite, unmark_for_rewrite): Likewise.
2801         (marked_ssa_names): Likewise.
2802         (init_ssanames): Use BITMAP_XMALLOC.
2803         (fini_ssanames): Use BITMAP_XFREE.
2804         * web.c: Include obstack.h
2805
2806 2004-11-22  Nick Clifton  <nickc@redhat.com>
2807
2808         * sbitmap.c (sbitmap_union_of_preds): Set 'e' to the next edge
2809         predecessor in the first for-loop.
2810
2811 2004-11-21  Stan Shebs  <shebs@apple.com>
2812
2813         * config/rs6000/rs6000.c: (rs6000_darwin64_function_arg): Add
2814         UNION_TYPE case.
2815         (function_arg): Move darwin test up, sniff mode first for
2816         efficiency, test for union type.
2817
2818 2004-11-21  Dale Johannesen  <dalej@apple.com>
2819
2820         * config/darwin.h (JUMP_TABLES_IN_TEXT_SECTION):  Define.
2821
2822 2004-11-21  Jeff Law  <law@redhat.com>
2823
2824         * tree-ssa.c (verify_use): Fix comment.
2825         (verify_phi_args): Check that the number of incoming edges matches
2826         the number of PHI arguments.  Check that each PHI argument is
2827         either an SSA_NAME or an invariant.  Coalesce tests for PHIs for
2828         dead or duplicated edges.  Clear e->aux earlier and avoid separate
2829         loop to clear e->aux and test for missed edges.
2830         (verify_ssa): Remove first walk over statements.  Move checking
2831         of PHI args into verify_phi_args.  Move checking of statements
2832         with aliased stores and V_MAY_DEFS into the remaining loop over
2833         the statements.  Register defs by walking through the formal
2834         SSA_NAME table.
2835
2836 2004-11-21  Roger Sayle  <roger@eyesopen.com>
2837
2838         PR middle-end/18520
2839         * dojump.c (compare_from_rtx): Clarify mode argument in function
2840         description.  Correct order of mode/cmp_mode arguments in call to
2841         simplify_relational_operation.  Check "tem" for COMPARISON_P.
2842
2843 2004-11-21  Paolo Bonzini  <bonzini@gnu.org>
2844             David Edelsohn  <edelsohn@gnu.org>
2845
2846         PR target/17836
2847         * config/rs6000/rs6000.c (rs6000_return_in_memory): Return
2848         synthetic vectors in memory.
2849         (function_arg_boundary): Align large synthetic vectors.
2850         (rs6000_pass_by_reference): Pass synthetic vectors in memory.
2851
2852 2004-11-21  Jeff Law  <law@redhat.com>
2853
2854         * cfg.c (update_bb_profile_for_threading): Do not rescale the
2855         successor probabilities if they are not going to change.  Pull
2856         division out of loop if we do need to rescale successor probabilities.
2857
2858         * tree-ssa-threadupdate.c (redirection_data_hash): Use the
2859         index of the destination block for the hash value rather than
2860         hashing a pointer.
2861
2862 2004-11-20  Joseph S. Myers  <joseph@codesourcery.com>
2863
2864         * c-typeck.c (build_array_ref): Don't check for index == 0.  Make
2865         checks for neither argument being an array or pointer (swapping
2866         the arguments if necessary), the array argument being a pointer to
2867         or array of functions and for -Wchar-subscripts warnings upfront.
2868
2869 2004-11-20  Jeff Law  <law@redhat.com>
2870
2871         * regrename.c (copyprop_hardreg_forward): Only search for a
2872         previously processed block if the current block only has one
2873         predecessor.
2874
2875 2004-11-20  Kazu Hirata  <kazu@cs.umass.edu>
2876
2877         * tree-ssa-threadupdate.c, tree-vectorizer.c: Fix comment
2878         typos.
2879         * config/arm/arm.c: Follow spelling conventions.
2880
2881 2004-11-20  Richard Earnshaw  <rearnsha@arm.com>
2882
2883         * arm.c (arm_override_options): Use arm_ld_sched rather than testing
2884         a bit in tune_flags.
2885         (const_double_needs_minipool): Likewise.  Split most of the code out
2886         into ...
2887         (arm_const_double_inline_cost): ... new function here.
2888         * arm-protos.h (arm_const_double_inline_cost): Add prototype.
2889         * arm.h (EXTRA_CONSTRAINT_STR_ARM): Add D[abc] constraints for double-
2890         word constants of length 2, 3 and 4 insns respectively.
2891         (CONSTRAINT_LEN): The 'D' prefix is a 2-letter constraint.
2892         * arm.md (arm_movdi, movdf_soft_insn): Add alternatives for D[abc]
2893         constraints.  Set insn lenghts accordingly.
2894
2895 2004-11-19  Jeff Law  <law@redhat.com>
2896
2897         * tree-ssa-threadupdate.c: Replace REDIRECTION_DATA varray with
2898         a hash table.  Extensive modifications throughout to support
2899         that change.
2900         (struct el): New.
2901         (struct local_info): New.
2902         (struct redirection_data): Add new INCOMING_EDGES and DO_NOT_DUPLICATE
2903         fields.
2904         (redirection_data): Now a hashtable.
2905         (redirection_data_hash, redirection_data_eq): New.
2906         (lookup_redirection_data, create_duplicates): New.
2907         (create_edge_and_update_destionation_phis): New.
2908         (fixup_template_block, redirect_edges): New.
2909         (thread_block): Use hash table traversals instead of loops over
2910         varray entries or incoming edge vectors.
2911
2912 2004-11-19  Kazu Hirata  <kazu@cs.umass.edu>
2913
2914         * basic-block.h (edge_def): Add dest_idx.
2915         * cfg.c (unchecked_make_edge): Initialize dest_idx.
2916         (remove_edge): Simplify the disconnection of an edge from its
2917         destination.
2918         (redirect_edge_succ): Likewise.
2919         * cfghooks.c (verify_flow_info): Check the consistency of
2920         dest_idx for each edge.
2921
2922 2004-11-19  Aldy Hernandez  <aldyh@redhat.com>
2923
2924         * simplify-rtx.c (simplify_ternary_operation): Use
2925         gen_int_mode.
2926
2927 2004-11-19  Kazu Hirata  <kazu@cs.umass.edu>
2928
2929         * tree-cfg.c (reinstall_phi_args): New.
2930         (tree_split_edge): Use it after redirecting an edge.  Don't
2931         modify PHI_ARG_EDGE.
2932
2933 2004-11-19  Andreas Tobler  <a.tobler@schweiz.ch>
2934
2935         * tree-vectorizer.c (slpeel_verify_cfg_after_peeling): Define only
2936         if checking is enabled.
2937
2938 2004-11-19  Joseph S. Myers  <joseph@codesourcery.com>
2939
2940         * c-decl.c (push_scope): Remove "\n" from end of diagnostic for
2941         too many nested scopes.
2942
2943 2004-11-19  Dorit Naishlos  <dorit@il.ibm.com>
2944
2945         PR tree-opt/18181
2946         * tree-vectorizer.c (slpeel_tree_peel_loop_to_edge): Peeling scheme
2947         changed to suppoer uses-after-loop and to void creating flow paths
2948         that shouldn't exist.
2949         (slpeel_update_phi_nodes_for_guard): Takes additional two arguments.
2950         Modified to fit the new peeling scheme. Avoid quadratic behavior.
2951         (slpeel_add_loop_guard): Takes additional argument.
2952         (slpeel_verify_cfg_after_peeling): New function.
2953         (vect_update_ivs_after_vectorizer): Takes additional argument. Updated
2954         documentation. Use 'exit-bb' instead of creating 'new-bb'.
2955         (rename_variables_in_bb): Don't update phis for BBs out of loop, to fit
2956         the new peeling scheme.
2957         (copy_phi_nodes): Function removed. Its functionality moved to
2958         update_phis_for_duplicate_loop.
2959         (slpeel_update_phis_for_duplicate_loop): Functionality of copy_phi_nodes
2960         moved here. Added documentation. Modified to fit the new peeling scheme.
2961         (slpeel_make_loop_iterate_ntimes): Setting loop->single_exit not not
2962         needed - done in slpeel_tree_peel_loop_to_edge.
2963         (slpeel_tree_duplicate_loop_to_edge_cfg): Debug printouts compacted.
2964         (vect_do_peeling_for_loop_bound): Add documentation. Call
2965         slpeel_verify_cfg_after_peeling. Call vect_update_ivs_after_vectorizer
2966         with additional argument.
2967         (vect_do_peeling_for_alignment): Call slpeel_verify_cfg_after_peeling.
2968
2969         (vect_finish_stmt_generation): Avoid 80 column oveflow.
2970
2971 2004-11-19  Dorit Naishlos  <dorit@il.ibm.com>
2972
2973         * tree-vectorizer.c (slpeel_make_loop_iterate_ntimes): Last two
2974         arguments removed.
2975         (slpeel_tree_peel_loop_to_edge): Call slpeel_make_loop_iterate_ntimes
2976         without last two arguments. Update single_exit of loops.
2977         (vect_update_niters_after_peeling): Removed. Its functionality was
2978         moved to vect_do_peeling_for_alignment.
2979         (vect_do_peeling_for_loop_bound): New name for function previously
2980         called vect_transform_for_unknown_loop_bound.
2981         (vect_transform_loop_bound): Call slpeel_make_loop_iterate_ntimes
2982         instead of code that duplicates the same functionality.
2983         (vect_do_peeling_for_alignment): Functionality of
2984         vect_update_niters_after_peeling moved here.
2985         (vect_transform_loop): Unify call to vect_do_peeling_for_loop_bound -
2986         previously named vect_transform_for_unknown_loop_bound - for both known
2987         and unknown loop bound cases.
2988
2989 2004-11-19  Dorit Naishlos  <dorit@il.ibm.com>
2990
2991         * tree-vectorizer.c (slpeel_can_duplicate_loop_p): New name for function
2992         previously called verify_loop_for_duplication. All conditions compacted
2993         into one compound condition. Removed debug dumps.
2994         (vect_analyze_loop_with_symbolic_num_of_iters): Removed. Some of the
2995         functionality moved to vect_can_advance_ivs_p, and some to
2996         vect_analyze_loop_form.
2997         (vect_can_advance_ivs_p): New function. Contains functionality that was
2998         taken out of vect_analyze_loop_with_symbolic_num_of_iters.
2999         (slpeel_tree_peel_loop_to_edge): Call slpeel_can_duplicate_loop_p.
3000         (vect_analyze_operations): Call vect_can_advance_ivs_p and
3001         slpeel_can_duplicate_loop_p.
3002         (vect_get_loop_niters): Added documentation.
3003         (vect_analyze_loop_form): Check the loop entry always - not only in case
3004         of unknown loop bound. Create preheader and exit bb if necessary. Apply
3005         a check that used to take place in
3006         vect_analyze_loop_with_symbolic_num_of_iters.
3007         (vectorize_loops): Call verify_loop_closed_ssa under ENABLE_CHECKING.
3008         Remove redundant call to rewrite_into_loop_closed_ssa.
3009         (vect_compute_data_refs_alignment): Removed obsolete comment.
3010
3011 2004-11-19  Dorit Naishlos  <dorit@il.ibm.com>
3012
3013         * tree-vectorizer.c (slpeel_tree_peel_loop_to_edge): New name for
3014         function previously called tree_duplicate_loop_to_edge.
3015         (slpeel_tree_duplicate_loop_to_edge_cfg): New name for function
3016         previously called tree_duplicate_loop_to_edge_cfg.
3017         (slpeel_update_phis_for_duplicate_loop): Prefix 'slpeel' added to
3018         function name.
3019         (slpeel_update_phi_nodes_for_guard): Likewise.
3020         (slpeel_make_loop_iterate_ntimes): Likewise.
3021         (slpeel_add_loop_guard): Likewise.
3022         (allocate_new_names, free_new_names): Function declaration moved to top
3023         of file.
3024         (rename_use_op, rename_def_op): Likewise.
3025         (rename_variables_in_bb, rename_variables_in_loop): Likewise.
3026         (vect_generate_tmps_on_preheader): Function declaration moved.
3027         (vect_transform_for_unknown_loop_bound): Added missing function
3028         declaration.
3029
3030 2004-11-19  Andrew Pinski  <pinskia@physics.uc.edu>
3031
3032         PR tree-opt/18507
3033         * tree-flow.h (tree_on_heap): Typedef because there is already a VEC(tree).
3034         Define a VEC(tree_on_heap) for head.
3035         (register_new_def): Change second argument to be a VEC(tree_on_heap).
3036         * tree-ssa-dom.c (block_defs_stack): Change to be a VEC(tree_on_heap).
3037         (tree_ssa_dominator_optimize): Initialize block_defs_stack with
3038         the VEC(tree_on_heap) function.  Also free it before returning.
3039         (dom_opt_initialize_block): Use VEC_safe_push instead of VARRAY_PUSH_TREE
3040         for block_defs_stack.
3041         (restore_currdefs_to_original_value): Use VEC_length instead of
3042         VARRAY_ACTIVE_SIZE. VEC_pop instead of VARRAY_TOP_TREE/VARRAY_POP.
3043         (dom_opt_finalize_block): Use VEC_safe_push instead of VARRAY_PUSH_TREE
3044         for block_defs_stack.
3045         * tree-into-ssa.c (block_defs_stack): Change to be a VEC(tree_on_heap).
3046         (rewrite_initialize_block): Use VEC_safe_push instead of VARRAY_PUSH_TREE
3047         for block_defs_stack.
3048         (ssa_register_new_def): Likewise.
3049         (ssa_rewrite_initialize_block): Likewise.
3050         (rewrite_finalize_block): Use VEC_length instead of
3051         VARRAY_ACTIVE_SIZE. VEC_pop instead of VARRAY_TOP_TREE/VARRAY_POP.
3052         (ssa_rewrite_finalize_block): Likewise.
3053         (register_new_def): Change second argument to be a VEC(tree_on_heap).
3054         Use VEC_safe_push instead of VARRAY_PUSH_TREE.
3055         (rewrite_blocks): Initialize block_defs_stack with
3056         the VEC(tree_on_heap) function.  Also free it before returning.
3057         (rewrite_ssa_into_ssa): Likewise.
3058
3059 2004-11-19  Fariborz Jahanian <fjahanian@apple.com>
3060
3061         * config/darwin.c (machopic_data_defined_p): return 1 for
3062         MACHOPIC_DEFINED_FUNCTION.
3063
3064 2004-11-19  Jeff Law  <law@redhat.com>
3065
3066         * tree-ssa.c (verify_ssa): Remove redundant checking of PHI
3067         arguments.
3068
3069 2004-11-19  Paul Brook  <paul@codesourcery.com>
3070
3071         PR target/17735
3072         * varasm.c (default_assemble_integer): Allow pointer-sized values.
3073         Expand comment.
3074
3075 2004-11-19  Nick Clifton  <nickc@redhat.com>
3076
3077         * config/stormy16/stormy16.c (combine_bnp): Add code to handle
3078         zero_extension and lshiftrt insns.
3079         Replace uses of XEXP(...) with either SET_DEST() or SET_SRC()
3080         where appropriate.
3081         * config/stormy16.stormy16.md (bclrx3, bsetx3): New patterns
3082         to handle bp and bn insn patterns with a zero_extend rtx
3083         inside them.
3084
3085 2004-11-19  Ian Lance Taylor  <ian@wasabisystems.com>
3086
3087         * config/arm/arm.md (generic_sched): Make const.
3088
3089 2004-11-19  Kazu Hirata  <kazu@cs.umass.edu>
3090
3091         * emit-rtl.c (classify_insn): Make it static.
3092         * rtl.h: Remove the corresponding prototype.
3093
3094         * integrate.c (has_func_hard_reg_initial_val,
3095         get_func_hard_reg_initial_val): Make them static.
3096         * integrate.h: Remove the corresponding prototypes.
3097
3098 2004-11-19  Ben Elliston  <bje@au.ibm.com>
3099
3100         * dwarf2asm.h (dw2_asm_output_pcel): Stub out with #if 0.
3101         (dw2_asm_output_delta_sleb128): Likewise.
3102         * dwarf2asm.c (dw2_asm_output_pcrel): Likewise.
3103         (dw2_asm_output_delta_sleb128): Likewise.
3104
3105 2004-11-19  Adam Nemet  <anemet@lnxw.com>
3106
3107         * tree-ssa-alias.c: Fix comment.
3108
3109 2004-11-19  Kazu Hirata  <kazu@cs.umass.edu>
3110
3111         * tree-outof-ssa.c: Fix a comment typo.
3112
3113 2004-11-19  Ben Elliston  <bje@au.ibm.com>
3114
3115         * predict.h (predict_insn): Remove extern declaration.
3116         * predict.c (predict_insn): Make static.
3117
3118 2004-11-19  Alan Modra  <amodra@bigpond.net.au>
3119
3120         * config/rs6000/rs6000.c (function_arg): Don't return BLKmode regs.
3121
3122 2004-11-18  Nicolas Pitre <nico@cam.org>
3123
3124         * config/arm/arm.c (const_double_needs_minipool): New function to
3125         determine if a CONST_DOUBLE should be pushed to the minipool.
3126         (note_invalid_constants): Use it.
3127
3128 2004-11-18  Paul Brook  <paul@codesourcery.com>
3129
3130         * config/arm/arm.c (target_float_switch): New variable..
3131         (arm_override_options): Use TARGET_DEFAULT_FLOAT_ABI and
3132         target_float_switch.
3133         * config/arm/arm.h (target_float_switch): Declare.
3134         (ARM_FLAG_SOFT_FLOAT): Remove.
3135         (TARGET_SWITCHES): Remove hard-float and soft-float.
3136         (TARGET_OPTIONS): Add hard-float and soft-float.
3137         (TARGET_DEFAULT_FLOAT_ABI): Define.
3138         * config/arm/coff.h (TARGET_DEFAULT_FLOAT_ABI): Define
3139         (TARGET_DEFAULT): Don't use ARM_FLAG_SOFT_FLOAT.
3140         * config/arm/elf.h: Don't use ARM_FLAG_SOFT_FLOAT.
3141         * config/arm/netbsd-elf.h: Ditto.
3142         * config/arm/netbsd.h: Ditto.
3143         * config/arm/pe.h: Ditto.
3144         * config/arm/unknown-elf.h: Ditto.
3145         * config/arm/wince-pe.h: Ditto.
3146         * config/arm/linux-elf.h (TARGET_DEFAULT_FLOAT_ABI): Define.
3147         * config/arm/semi.h (TARGET_DEFAULT_FLOAT_ABI): Define.
3148         * config/arm/semiaof.h (TARGET_DEFAULT_FLOAT_ABI): Define.
3149
3150 2004-11-18  Nathan Sidwell  <nathan@codesourcery.com>
3151
3152         * config/rs6000/altivec.md (VI, VF, V): New mode macros.
3153         (altivec_lvx_4si, altivec_lvx_8hi, altivec_lvx_16qi,
3154         altivec_lvx_4sf): Rename and replace with ...
3155         (altivec_lvx_<mode>): ... mode macro version.
3156         (altivec_stvx_4si, altivec_stvx_8hi, altivec_stvx_16qi,
3157         altivec_stvx_4sf): Rename and replace with ...
3158         (altivec_stvx_<mode>): ... mode macro version.
3159         (movv4si, movv8hi, movv16qi, movv4sf}): Replace with ...
3160         (mov<mode>): ... mode macro version.
3161         (*movv4si_internal, *movv8hi_internal1, *movv16qi_internal1,
3162         *movv4sf_internal1): Replace with ...
3163         (*mov<mode>_internal): ... mode macro version.
3164         (get_vrsave_internal, *set_vrsave_internal, *save_world,
3165         *restore_world): Unquote output statements.
3166         * config/rs6000/rs6000.c (altivec_expand_ld_builtin,
3167         altivec_expand_st_builtin): Adjust insn names.
3168
3169 2004-11-18  Aldy Hernandez  <aldyh@redhat.com>
3170
3171         * config/rs6000/rs6000.c (rs6000_complex_function_value): Revert
3172         previous change.
3173         (rs6000_override_options): Likewise.
3174         (spe_build_register_parallel): Handle complex doubles on e500v2.
3175         (rs6000_spe_function_arg): Likewise.
3176         (function_arg): Likewise.
3177         (rs6000_function_value): Likewise.
3178         (rs6000_libcall_value): Likewise.
3179
3180 2004-11-18  Andrew Pinski  <pinskia@physics.uc.edu>
3181
3182         * ifcvt.c (find_if_block): Move the check for the number of edges
3183         above the loops checking for complex edges.
3184         Remove the counting of edges as we use EDGE_COUNT now.
3185
3186 2004-11-18  Kazuhiro Inaoka <inaoka.kazuhiro@renesas.comn>
3187
3188         * config/m32r/linux.h (TARGET_ASM_FILE_END): Set
3189         TARGET_ASM_FILE_END to file_end_indicate_exec_stack.3
3190
3191 2004-11-18  Andreas Schwab  <schwab@suse.de>
3192
3193         * config/i386/i386.md (define_peephole2): Revert last change.
3194
3195 2004-11-18  Kazuhiro Inaoka <inaoka.kazuhiro@renesas.comn>
3196
3197         * config/m32r/linux.h (TARGET_ASM_FILE_END): Set
3198         TARGET_ASM_FILE_END to file_end_indicate_exec_stack.
3199
3200 2004-11-18  Diego Novillo  <dnovillo@redhat.com>
3201
3202         * tree-ssa-propagate.c (ssa_prop_init): Use FOR_ALL_BB instead
3203         of FOR_EACH_BB.
3204
3205 2004-11-18  Jon Grimm <jgrimm2@us.ibm.com>
3206
3207         * Makefile.in (macro_list): Depend on s-macro_list.
3208         (s-macro_list): New target.
3209
3210 2004-11-18  Nathan Sidwell  <nathan@codesourcery.com>
3211
3212         PR target/17107
3213         * fold-const.c (RANGE_TEST_NON_SHORT_CIRCUIT): Rename to ...
3214         (LOGICAL_OP_NON_SHORT_CIRCUIT): ... here.
3215         (fold_range_test): Adjust.
3216         (fold_truthop): Use it.
3217         * config/rs6000/rs6000.h (RANGE_TEST_NON_SHORT_CIRCUIT): Rename to ...
3218         (LOGICAL_OP_NON_SHORT_CIRCUIT): ... here.
3219
3220 2004-11-18  Uros Bizjak  <uros@kss-loka.si>
3221
3222         * configure/i386/i386.md (*fix_trunch_1): Add "&& 1" to
3223         insn split constraint.
3224         (define_peephole2): Remove unneeded "&& 1" from peephole2
3225         constraints.
3226
3227 2004-11-18  Ben Elliston  <bje@au.ibm.com>
3228
3229         * doc/cfg.texi (Maintaining the CFG): Remove duplicated @item
3230         element for bsi_prev; use @findex instead.
3231
3232 2004-11-18  Ben Elliston  <bje@au.ibm.com>
3233
3234         * opts.h (add_input_filename): Remove extern declaration.
3235         * opts.c (add_input_filename): Make static.
3236
3237 2004-11-17  Mark Mitchell  <mark@codesourcery.com>
3238
3239         * config/i386/i386.c (i386_solaris_elf_named_section): Mark with
3240         ATTRIBUTE_UNUSED.
3241
3242 2004-11-17  Zack Weinberg  <zack@codesourcery.com>
3243
3244         * defaults.h, config/darwin.h: Don't define TARGET_SUPPORTS_HIDDEN.
3245         * system.h: Poison it.
3246         * doc/tm.texi: Delete its documentation.
3247
3248 2004-11-18  Daniel Jacobowitz  <dan@codesourcery.com>
3249             Mark Mitchell  <mark@codesourcery.com>
3250
3251         * config/i386/sol2-10.h, config/i386/t-sol2-10: New files.
3252         * config/i386/i386.c (i386_solaris_elf_named_section): New
3253         function.
3254         * config.gcc (i[34567]86-*-solaris2*): Handle Solaris 2.10.
3255         * config/i386/sol2.h (ASM_PREFERRED_EH_DATA_FORMAT): Handle
3256         64-bit.
3257         (ASM_QUAD): Don't undefine for biarch targets.
3258         * config/i386/t-sol2: Introduce multilib support.
3259
3260 2004-11-18  Ben Elliston  <bje@au.ibm.com>
3261
3262         * cgraphunit.c: Replace "it's" with "its" and fix a typo.
3263
3264 2004-11-18  Ben Elliston  <bje@au.ibm.com>
3265
3266         * cgraph.h: Replace "it's" with "its" throughout.
3267
3268 2004-11-18  Ben Elliston  <bje@au.ibm.com>
3269
3270         * doc/rtl.texi (Flags): Grammar fix.
3271
3272 2004-11-17  Kazu Hirata  <kazu@cs.umass.edu>
3273
3274         * expmed.c (alg_code): Add alg_unknown.
3275         (alg_hash_entry): New.
3276         (NUM_ALG_HASH_ENTRIES): Likewise.
3277         (alg_hash): Likewise.
3278         (synth_mult): Cache the result into alg_hash.
3279
3280 2004-11-17  Zack Weinberg  <zack@codesourcery.com>
3281
3282         * config/rs6000/t-darwin: Augment SHLIB_MAPFILES with
3283         config/rs6000/libgcc-ppc64.ver.
3284
3285 2004-11-17  Kazu Hirata  <kazu@cs.umass.edu>
3286
3287         * cfgrtl.c (rtl_verify_flow_info): Don't use INSN_P when
3288         checking if an unconditional return is followed by a barrier.
3289
3290         * jump.c (condjump_p): Remove unreachable code.
3291
3292         * basic-block.h, c-common.h, df.h, expr.h, output.h, rtl.h,
3293         tree-chrec.h, tree-flow.h, tree-scalar-evolution.h,
3294         tree-ssa-live.h, tree.h: Remove unused prototypes.
3295
3296 2004-11-17  Jeff Law  <law@redhat.com>
3297
3298         * tree-cfg.c (edge_to_cases): Renamed from edge_to_case_leader.
3299         (edge_to_cases_elt): Renamed from edge_to_case_leader.
3300         (edge_to_cases_hash): Renamed from edge_to_case_leader_hash.
3301         (edge_to_cases_eq): Renamed from edge_to_case_leader_eq.
3302         (edge_to_cases_cleanup, recording_case_labels_p): New functions.
3303         (get_cases_for_edge): New function.
3304         (start_recording_case_labels, end_recording_case_labels): Similarly.
3305         (record_switch_edge): Don't muck with the CASE_LABEL.  Instead
3306         chain equivalent CASE_LABEL_EXPRs together.
3307         (get_case_leader_for_edge, get_case_leader_for_edge_hash): Kill.
3308         (make_switch_expr_edges): Do not record edge/cases here.
3309         (cleanup_tree_cfg): Record cases around the call to thread_jumps.
3310         (split_critical_edges): Record cases around the edge splitting code.
3311         (cleanup_dead_labels): Use CASE_LABEL again.
3312         (tree_redirect_edge_and_branch): If we have a mapping from edge
3313         to cases, use it to handle redirections.  Else do it the slow way.
3314         * tree.h (CASE_LEADER_OR_LABEL): Kill.
3315         (CASE_LABEL): Revert to just looking at the tree's second operand.
3316         * tree.c (get_case_label): Kill.
3317
3318 2004-11-17  Diego Novillo  <dnovillo@redhat.com>
3319
3320         PR tree-optimization/18307
3321         * tree-ssa-alias.c (merge_pointed_to_info): ICE if 'dest' and
3322         'orig' are the same node.
3323         (collect_points_to_info_r): Do not call merge_pointed_to_info
3324         when the PHI argument is identical to the LHS.
3325
3326 2004-11-17  Steven Bosscher  <stevenb@suse.de>
3327
3328         * tree-ssa-propagate.c (cfg_blocks_add): Assert we're not trying
3329         to insert the exit or entry block.
3330         (ssa_prop_init): Use add_control_edge to seed the algorithm.
3331
3332 2004-11-16  Zack Weinberg  <zack@codesourcery.com>
3333
3334         * mkmap-flat.awk, mkmap-symver.awk: If the last version
3335         assigned to a symbol was '%exclude', do not emit it anywhere.
3336         If leading_underscore is true, prefix all symbols from the
3337         version scripts with a leading underscore before comparing
3338         them with nm output or emitting them.  Remove support for dot
3339         symbols.
3340         * config/t-slibgcc-darwin (SHLIB_LINK): Use mkmap-flat.awk.
3341         (SHLIB_MAPFILES): Use libgcc-std.ver.
3342         (SHLIB_MKMAP_OPTS): Enable leading-underscore mode.
3343         (SHLIB_LINK): Add -Wl,-exported_symbols_list,$(SHLIB_MAP).
3344         * config/sh/t-linux: Use the normal libgcc-std.ver, plus
3345         libgcc-excl.ver and libgcc-glibc.ver.
3346
3347         * config/sh/libgcc-excl.ver: New file.
3348         * config/sh/libgcc-std.ver, libgcc-darwin.ver: Delete.
3349
3350 2004-11-16  Daniel Berlin  <dberlin@dberlin.org>
3351
3352         * lambda-code.c (lambda_loopnest_to_gcc_loopnest): Swap
3353         the test when the edge has the opposite meaning, not when
3354         the first argument is invariant.
3355
3356 2004-11-16  Aldy Hernandez  <aldyh@redhat.com>
3357
3358         * config/rs6000/rs6000.c (rs6000_override_options): Split e500v2
3359         doubles.
3360         (rs6000_complex_function_value): Handle e500 v2 variant.
3361
3362 2004-11-16  Daniel Berlin  <dberlin@dberlin.org>
3363
3364         Fix PR tree-optimization/18519
3365
3366         * tree-optimize (execute_todo): Add case for TODO_cleanup_cfg.
3367         * tree-pass.h: Add TODO_cleanup_cfg.
3368         * tree-ssa-ccp.c (pass_ccp): Use TODO_cleanup_cfg.
3369         (ccp_finalize): Remove call to cleanup_cfg.
3370         * tree-ssa-dce.c (pass_dce): Use TODO_cleanup_cfg and TODO_dump_func.
3371         (pass_cd_dce): Ditto.
3372         (perform_tree_ssa_dce): Remove call to cleanup_cfg,
3373         dump_function_to_file.
3374         * tree-ssa-loop-ch.c (copy_loop_headers): Remove call
3375         to cleanup_cfg.
3376         (pass_ch): Add TODO_cleanup_cfg.
3377         * tree-ssa-loop.c (tree_ssa_loop_done): Remove call to
3378         cleanup_cfg.
3379         (pass_loop_done): Add TODO_cleanup_cfg.
3380         * tree-ssa-phiopt.c (pass_phiopt): Ditto.
3381         (tree_ssa_phiopt): Remove call to cleanup_cfg.
3382
3383 2004-11-16  Devang Patel  <dpatel@apple.com>
3384
3385         * optabs.c (vector_compare_rtx): Fix COMPARISON_CLASS_P use.
3386
3387 2004-11-16  Kazu Hirata  <kazu@cs.umass.edu>
3388
3389         * expmed.c, ra-colorize.c: Fix comment typos.
3390
3391         * doc/tm.texi: Fix typos.
3392
3393 2004-11-16  Daniel Jacobowitz  <dan@codesourcery.com>
3394             Mark Mitchell  <mark@codesourcery.com>
3395
3396         PR target/6123
3397         * config/sol2.h (TARGET_OS_CPP_BUILTINS): Define __PIC__ and
3398         __pic__ if PIC.
3399
3400 2004-11-16  Ulrich Weigand  <uweigand@de.ibm.com>
3401
3402         * regmove.c (regmove_optimize): Use lowpart_subreg instead of
3403         gen_rtx_SUBREG with incorrect offset to compute SRC_SUBREG.
3404
3405 2004-11-16  Devang Patel  <dpatel@apple.com>
3406
3407         * tree-if-conv.c (clean_predicate_lists): Update gcc_assert check.
3408
3409 2004-11-16  Eric Christopher  <echristo@redhat.com>
3410
3411         * config/mips/mips.c: Use rtl _P predicates.
3412         * config/mips/mips.h: Ditto.
3413         * config/mips/mips.md: Ditto.
3414
3415 2004-11-16  Fariborz Jahanian <fjahanian@apple.com>
3416
3417         * config/rs6000/altivec.md (altivec_vandc): Canonicalize
3418         the pattern.
3419
3420 2004-11-16  Andreas Krebbel  <krebbel1@de.ibm.com>
3421
3422         * config/s390/s390.c (s390_cc_modes_compatible): New function.
3423         (TARGET_CC_MODES_COMPATIBLE): Target macro defined.
3424
3425 2004-11-16  Kaz Kojima  <kkojima@gcc.gnu.org>
3426
3427         PR target/18447
3428         * config/sh/sh.c (prepare_move_operands): Emit blockage insns
3429         before and after the insns for getting GOT address in non-PIC
3430         TLS_MODEL_INITIAL_EXEC tls sequence when the first scheduling
3431         is enabled.
3432
3433 2004-11-16  Andreas Krebbel  <krebbel1@de.ibm.com>
3434
3435         * gcc/cse.c (struct change_cc_mode_args): New structure.
3436         (cse_change_cc_mode_insn): New function.
3437         (cse_change_cc_mode): Use validate_change to perfom changes.
3438         (cse_change_cc_mode_insns, cse_condition_code_reg):
3439         Call cse_change_cc_mode_insn.
3440
3441 2004-11-16  Steven Bosscher  <stevenb@suse.de>
3442
3443         * stack.h: Remove.
3444
3445 2004-11-16  Steven Bosscher  <stevenb@suse.de>
3446
3447         * config/i386/i386.c (x86_schedule): Fix typo, m_K6 intead of m_K8.
3448
3449 2004-11-15  Dale Johannesen  <dalej@apple.com>
3450
3451         * tree-flow.h (add_referenced_temp_var):  Remove name from prototype.
3452
3453 2004-11-15  Dale Johannesen  <dalej@apple.com>
3454
3455         * profile.c (compute_branch_probabilities):  Prevent
3456         crash with EH in RTL-based profiling.
3457
3458 2004-11-16  Kazu Hirata  <kazu@cs.umass.edu>
3459
3460         * tree-cfg.c (verify_expr): Replace TREE_OPERAND with
3461         COND_EXPR_COND.
3462         * tree-if-conv.c (tree_if_convert_cond_expr): Likewise.
3463         * tree-ssa-dom.c (thread_across_edge): Likewise.
3464         * tree-vectorizer.c (vect_transform_loop_bound): Replace
3465         TREE_OPERAND with COND_EXPR_COND, COND_EXPR_THEN, or
3466         COND_EXPR_ELSE.
3467
3468         * tree-cfg.c (bsi_commit_edge_inserts): Remove an argument.
3469         (tree_flow_call_edges_add): Update the call to
3470         bsi_commit_edge_inserts.
3471         * lambda-code.c (lambda_loopnest_to_gcc_loopnest): Likewise.
3472         * profile.c (branch_prob): Likewise.
3473         * tree-mudflap.c (mf_decl_cache_locals): Likewise.
3474         * tree-sra.c (scalarize_function): Likewise.
3475         * tree-ssa-loop-im.c (loop_commit_inserts): Likewise.
3476         * tree-ssa-pre.c (fini_pre): Likewise.
3477         * tree-flow.h: Update the prototype for
3478         bsi_commit_edge_inserts.
3479
3480 2004-11-15  Eric Christopher  <echristo@redhat.com>