OSDN Git Service

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