OSDN Git Service

b74c09f64b7e025b46a0006597721868b432c593
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
1 2006-01-10  Stuart Hastings  <stuart@apple.com>
2
3         * gcc/config/i386/i386.md (set_got): Update.
4         (set_got_labelled): New.  (UNSPEC_LD_MPIC): New.
5         (builtin_setjmp_receiver): Mach-O support.
6         * gcc/config/i386/darwin.h (TARGET_ASM_FILE_END) Define.
7         (GOT_SYMBOL_NAME): Define.
8         (FORCE_PREFERRED_STACK_BOUNDARY_IN_MAIN): New.
9         (TARGET_DEEP_BRANCH_PREDICTION): Remove.
10         * gcc/config/i386/i386.c (override_options): Revise for Darwin.
11         (USE_HIDDEN_LINKONCE): Enable for Mach-O.  (ix86_file_end): Mach-O
12         support.  (darwin_x86_file_end): New.  (output_set_got): Add label
13         parameter, revise for Mach-O.  (x86_output_mi_thunk): Likewise.
14         * gcc/config/i386/i386-protos.h (output_set_got): Likewise.
15         * gcc/config/darwin.c (machopic_legitimize_pic_address): Update
16         regs_ever_live[].
17
18 2006-01-10  Kaz Kojima  <kkojima@gcc.gnu.org>
19
20         * config/sh/sh.h (SH5_WOULD_BE_PARTIAL_NREGS): Use GET_MODE_SIZE
21         when MODE isn't BLKmode.
22
23 2006-01-10  Eric Botcazou  <ebotcazou@libertysurf.fr>
24
25         PR rtl-optimization/25367
26         * config/sparc/sparc.h (HARD_REGNO_RENAME_OK): New macro.
27
28 2006-01-10  Hans-Peter Nilsson  <hp@axis.com>
29
30         PR target/25718
31         * config/cris/cris.md ("uminsi3"): Don't use 8- or 16-bit sizes
32         for a negative bound.
33
34 2006-01-10  Richard Guenther  <rguenther@suse.de>
35
36         * tree-ssa-structalias.c (get_constraint_for_component_ref):
37         Never override with anything constraint.
38
39 2006-01-10  Jan Beulich  <jbeulich@novell.com>
40
41         * config/i386/i386.c (ix86_data_alignment): Don't force alignment to
42         256 bits when optimize_size.
43
44 2006-01-10  Jan Beulich  <jbeulich@novell.com>
45
46         * config/i386/netware.h (TARGET_SUBTARGET_DEFAULT): Include
47         MASK_ALIGN_DOUBLE.
48         * config/i386/nwld.h (LINK_SPEC): Add --extensions:GNU option.
49         * config/i386/t-nwld (SHLIB_LINK): Insert spaces between expr
50         arguments.
51
52 2006-01-10  Ben Elliston  <bje@au.ibm.com>
53
54         * config/rs6000/predicates.md (easy_fp_constant): Discount decimal
55         float modes.
56         * config/rs6000/rs6000.c (rs6000_scalar_mode_supported_p): New.
57         (TARGET_SCALAR_MODE_SUPPORTED_P): Define.
58         (USE_FP_FOR_ARG): Reject decimal float modes.
59         (function_arg_advance): Likewise.
60         (output_toc): Handle emitting TDmode, DDmode and SDmode constants.
61         (rs6000_handle_altivec_attribute): Do not permit decimal floating
62         point types in AltiVec vectors.
63         (rs6000_function_value): Use GP_ARG_RETURN for decimal floats.
64         (rs6000_libcall_value): Likewise.
65
66 2006-01-09  Bob Wilson  <bob.wilson@acm.org>
67
68         * config/xtensa/ieee754-df.S: New file.
69         * config/xtensa/ieee754-sf.S: New file.
70         * config/xtensa/t-xtensa (LIB2FUNCS_EXTRA): Remove fp-bit.c & dp-bit.c.
71         (LIB1ASMFUNCS): Add SFmode and DFmode floating-point functions.
72         * config/xtensa/lib1funcs.asm: Include ieee754-df.S and ieee754-sf.S.
73
74 2006-01-09  Kazu Hirata  <kazu@codesourcery.com>
75
76         * config/sh/predicates.md (binary_float_operator,
77         binary_logical_operator, commutative_float_operator,
78         equality_comparison_operator, greater_comparison_operator,
79         less_comparison_operator, logical_operator,
80         noncommutative_float_operator, shift_operator,
81         symbol_ref_operand, unary_float_operator): Remove redundant
82         conditionals.
83
84 2006-01-09  Jeff Law  <law@redhat.com>
85
86         * tree-ssa-dom.c (simplify_cond_and_lookup_avail_expr): Remove
87         code to propagate the RHS of a cast into COND_EXPR_COND.  Remove
88         now unused arguments.  Callers updated.
89         (eliminate_redundant_computations): Remove now unused arguments,
90         callers updated.
91         (local_fold): Remove, no longer used.
92         (find_equivalent_equality_comparison): Removed from tree-ssa-dom.c
93         and moved to...
94         * tree-ssa-forwprop.c (find_equivalent_equality_comparison): Here.
95         (simplify_cond): New function.
96         (forward_propagate_into_cond): Call simplify_cond.
97
98 2006-01-09  Alexandre Oliva  <aoliva@redhat.com>
99
100         * config/i386/sse.md (*vec_extractv2di_1_sse2): New.
101         (*vec_extractv2di_1_sse): New.
102
103 2006-01-09  Ben Elliston  <bje@au.ibm.com>
104
105         * config/rs6000/rs6000.h (GO_IF_LEGITIMATE_ADDRESS): Typo fix.
106
107 2006-01-08  Richard Guenther  <rguenther@suse.de>
108
109         * tree-ssa-structalias.c (get_constraint_for): Remove
110         anyoffset argument.
111         (get_constraint_for_component_ref): Likewise.
112         (do_deref): Likewise.
113         (get_constraint_for): Likewise.
114         (do_structure_copy): Likewise.
115         (handle_ptr_arith): Likewise.
116         (find_func_aliases): Likewise.  Remove unused need_anyoffset
117         variable.
118
119 2006-01-08  J"orn Rennecke  <joern.rennecke@st.com>
120             Kaz Kojima  <kkojima@gcc.gnu.org>
121
122         * config/sh/sh.h (CONST_OK_FOR_K16): Define.
123         (CONST_OK_FOR_K): Add CONST_OK_FOR_K16 case.
124         (EXTRA_CONSTRAINT_C16): Remove.
125         (EXTRA_CONSTRAINT_Css, EXTRA_CONSTRAINT_Csu): Define.
126         (EXTRA_CONSTRAINT_C): Remove EXTRA_CONSTRAINT_C16 case and add
127         EXTRA_CONSTRAINT_Css and EXTRA_CONSTRAINT_Csu cases.
128         * config/sh/sh.c (print_operand): Handle unsigned 16-bit symbolic
129         constants of SHmedia.  Handle nested constant expressions of
130         SHmedia correctly.
131         (andcosts): Fix the costs for SHmedia constants.
132         (sh_rtx_costs): Take account of outer_code for SHmedia constants.
133         * config/sh/sh.md (*movsi_media): Use Css constraint instead of C16.
134         (*movsi_media_nofpu, *movqi_media, *movhi_media): Likewise.
135         (*movdi_media, *movdi_media_nofpu, movv8qi_i, movv2hi_i): Likewise.
136         (movv4hi_i, movv2si_i): Likewise.
137         (movsi_const): Adjust the second operand of ior so to match with
138         the Csu constraint.
139         (movdi_const, movdi_const_32bit): Likewise.
140         (movdi_const_16bit+1): Don't sign-extend LOW.
141         (movdi_const_16bit+2): Likewise.  Remove the zero_extend and truncate
142         step.
143         (*double_shori): Fix the split condition.  Use GEN_INT instead
144         of get_int_mode calls.  Mask lower 16-bit of the argument of
145         the last GEN_INT.
146         (sym2GOTPLT): Remove.
147         (symGOTPLT2reg): Replace gen_sym2GOTPLT with gen_rtx_CONST and
148         gen_rtx_UNSPEC.
149         * config/sh/predicates.md (arith_operand): Use EXTRA_CONSTRAINT_Css
150         instead of EXTRA_CONSTRAINT_C16.
151
152 2006-01-07  Ian Lance Taylor  <ian@airs.com>
153             David Edelsohn  <edelsohn@gnu.org>
154
155         PR rtl-optimization/25662
156         * optabs.c (simplify_expand_binop): Use simplify_binary_operation
157         for constant operands instead of simplify_gen_binary.
158         * simplify-rtx.c (simplify_gen_binary): Swap commutative operands
159         after trying simplify_binary_operation
160
161 2006-01-06  Daniel Berlin  <dberlin@dberlin.org>
162
163         * tree.c (iterative_hash_expr): Hash decls based on UID.
164
165 2006-01-06  Eric Christopher  <echristo@apple.com>
166
167         * doc/tm.texi (TARGET_ASM_EMIT_EXCEPT_TABLE_LABEL): Document.
168         (TARGET_UNWIND_EMIT): Fix spelling.
169         * target.h (gcc_target): Add except_table_label.
170         * except.c (output_function_exception_table): Use.
171         * varasm.c (default_emit_except_table_label): New.
172         * target-def.h (TARGET_ASM_EMIT_EXCEPT_TABLE_LABEL): New default
173         define.
174         (asm_out): Add here.
175         * output.h (default_emit_except_table_label): Prototype.
176         * config/darwin-protos.h (darwin_emit_except_table_label): Ditto.
177         * config/darwin.c (darwin_emit_except_table_label): Define.
178         * config/darwin.h (TARGET_ASM_EMIT_EXCEPT_TABLE): Ditto.
179
180 2006-01-06  Zdenek Dvorak <dvorakz@suse.cz>
181
182         PR tree-optimization/18527
183         * tree-ssa-loop-niter.c (number_of_iterations_cond,
184         number_of_iterations_special, number_of_iterations_exit):
185         Move base and step of an iv to a single structure.  Add
186         no_overflow flag, and use it in # of iterations analysis.
187         * tree-scalar-evolution.c (analyze_scalar_evolution_in_loop): Add
188         folded_casts argument.
189         (simple_iv): Pass base and step in a structure.  Set no_overflow
190         flag.
191         (scev_const_prop): Add argument to analyze_scalar_evolution_in_loop.
192         Evaluate expensiveness of computing # of iterations instead of
193         the final expression.
194         * tree-scalar-evolution.h (affine_iv): New structure.
195         (simple_iv): Declaration changed.
196         * tree-chrec.c (chrec_apply): Handle chrecs containing symbols.
197         * tree-ssa-loop-ivopts.c (determine_biv_step, find_givs_in_stmt_scev,
198         find_givs_in_stmt): Changed due to simple_iv change.
199
200 2006-01-06  Jeff Law  <law@redhat.com>
201
202         PR ada/24994
203         * tree-cfg.c (bsi_replace): Rename final argument from
204         PRESERVE_EH_INFO to UPDATE_EH_INFO.  Fix typo in last
205         change (stmt -> orig_stmt).
206         * tree-eh.c (verify_eh_throw_stmt_node): New function.
207         (bsi_remove): Add new argument.  Remove EH information
208         if requested.
209         (verify_eh_throw_table_statements): New function.
210         (bsi_remove): Add new argument REMOVE_EH_INFO.  All callers
211         updated.
212         * tree-optimize.c (execute_free_cfg_annotations): Verify
213         the EH throw statement table after removing annotations.
214         * except.h (verify_eh_throw_table_statements): Prototype.
215         * tree-flow.h (bsi_remove): Update prototype.
216         * tree-vrp.c (remove_range_assertions): Add new argument to
217         bsi_remove call.
218         * tree-ssa-loop-im.c (move_computations_stmt): Likewise.
219         * tree-complex.c (expand_complex_div_wide): Likewise.
220         * tree-ssa-threadupdate.c (remove_ctrl_stmt_and_useless_edges): Likewise
221         * tree-tailcall.c (eliminate_tailcall): Likewise.
222         * tree-ssa-dse.c (dse_optimize_stmt): Likewise.
223         * tree-ssa-loop-ivopts.c (remove_statement): Likewise.
224         * tree-nrv.c (tree_nrv): Likewise.
225         * tree-vectorizer.c (slpeel_make_loop_iterate_ntimes): Likewise.
226         * tree-if-conv.c (tree_if_convert_cond_expr): Likewise.
227         (combine_blocks): Likewise.
228         * tree-ssa-phiopt.c (replace_phi_edge_with_variable): Likewise.
229         * tree-cfgcleanup.c (cleanup_ctrl_expr_graph): Likewise.
230         (cleanup_control_flow): Likewise.
231         (remove_forwarder_block): Likewise.
232         * tree-ssa-pre.c (remove_dead_inserted_code): Likewise.
233         * tree-sra.c (sra_replace): Likewise.
234         * tree-ssa-forwprop.c (forward_propagate_into_cond): Likewise.
235         (forward_propagate_single_use_vars): Likewise.
236         * tree-ssa-dce.c (remove_dead_stmt): Likewise.
237         * tree-inline.c (expand_call_inline): Likewise.
238         * tree-vect-transform.c (vect_transform_loop): Likewise.
239         * tree-outof-ssa.c (rewrite_trees): Likewise.
240         * tree-cfg.c (make_goto_expr_edges): Likewise.
241         (cleanup_dead_labels): Likewise.
242         (tree_merge_blocks, remove_bb, disband_implicit_edges): Likewise.
243         (bsi_move_before, bsi_move_after): Likewise.
244         (bsi_move_to_bb_end, try_redirect_by_replacing_jump): Likewise
245         (tree_redirect_edge_and_branch, tree_split_block): Likewise.
246
247 2006-01-06  Andrew Pinski  <pinskia@physics.uc.edu>
248
249         PR tree-opt/25528
250         * tree-ssa-alias.c (find_used_portions): Handle REALPART_EXPR
251         and IMAGPART_EXPR.
252         * tree-flow-inline.h (var_can_have_subvars): Handle complex types
253         on non gimple variables.  Also add checks at the top for decls and
254         mtags.
255         * tree-ssa-structalias.c (push_fields_onto_fieldstack): Handle
256         complex types.
257         * tree-ssa-operands.c (parse_ssa_operands): Handle REALPART_EXPR
258         and IMAGPART_EXPR for creating MUST_DEFs.
259         (get_expr_operands): Handle SSA_NAME, STRUCT_FIELD_TAG, TYPE_MEMORY_TAG,
260         and NAME_MEMORY_TAG separately from the DECLs.
261
262 2006-01-06  Richard Guenther  <rguenther@suse.de>
263
264         * tree-dfa.c (mark_new_vars_to_rename): Create stmt
265         annotation, if necessary.
266         * tree-ssa-pre.c (create_expression_by_pieces): Remove
267         redundant calls to update_stmt.
268         * tree-ssa-forwprop.c (tidy_after_forward_propagate_addr):
269         Likewise.
270
271 2006-01-05  Richard Henderson  <rth@redhat.com>
272
273         * c-parser.c (c_parser_objc_methodprotolist): Handle CPP_PRAGMA.
274
275 2006-01-05  Carlos O'Donell  <carlos@codesourcery.com>
276
277         * c-typeck.c: Update copyright date.
278
279 2006-01-05  Carlos O'Donell  <carlos@codesourcery.com>
280
281         * c-typeck.c (build_c_cast): Always warn when casting
282         from a pointer to an integer of different size, even if
283         the node was constant.
284
285 2006-01-05  Richard Guenther  <rguenther@suse.de>
286
287         PR tree-optimization/22555
288         * tree-ssa-alias.c (create_overlap_variables_for): Do not give up,
289         if one structure field is an array.
290         * tree-ssa-operands.c (get_expr_operands): Continue scanning
291         operands even if we found a subvar, but ignore VOPs in this
292         case.
293         * tree-ssa-loop-ivopts.c (rewrite_use): Mark new vars in stmt
294         for renaming.
295         * tree-ssa-loop.c (pass_iv_optimize): Schedule TODO_update_ssa.
296
297 2006-01-05  Richard Earnshaw  <rearnsha@arm.com>
298
299         PR middle-end/24998
300         * arm/t-netbsd (LIB2FUNCS_EXTRA): Define.
301
302 2006-01-05  Richard Guenther  <rguenther@suse.de>
303             Diego Novillo  <dnovillo@redhat.com>
304
305         * tree-pass.h (TODO_remove_unused_locals): Define.
306         * gimple-low.c (expand_var_p, remove_useless_vars,
307         pass_remove_useless_vars): Remove.  Update all users.
308         * tree-ssa-live.c (mark_all_vars_used_1): Handle SSA names.
309         (remove_unused_locals): New function.
310         * tree-flow.h (remove_unused_locals): Declare.
311         * passes.c (execute_todo): Call remove_unused_locals if
312         TODO_remove_unused_locals is set.
313         * tree-into-ssa.c (pass_build_ssa): Add TODO_remove_unused_locals.
314         * tree-ssa-dce.c (pass_dce): Likewise.
315         * tree-outof-ssa.c (pass_del_ssa): Likewise.
316
317 2006-01-05  Richard Guenther  <rguenther@suse.de>
318
319         * tree-flow.h (struct fieldoff): Decompose field to
320         type, size and decl.
321         * tree-ssa-alias.c (create_sft): Take type as parameter.
322         (create_overlap_variables_for): Store type, size and decl
323         in the fieldoff structure.
324         * tree-ssa-structalias.c (fieldoff_compare): Adjust users
325         of struct fieldoff.
326         (push_fields_onto_fieldstack): Likewise.
327         (create_variable_info_for): Likewise.  Use offset for the
328         SFT name if the decl is not available.
329
330 2006-01-04  Paul Brook  <paul@codesourcery.com>
331
332         * config/m68k/m68k.c (m68k_output_mi_thunk): Use jmp, not jsr.
333
334 2006-01-04  Daniel Berlin  <dberlin@dberlin.org>
335
336         * lambda-code.c (can_put_in_inner_loop): Relax
337         restrictions.
338         (can_put_after_inner_loop): New function.
339         (can_convert_to_perfect_nest): Use can_put_after_inner_loop as well.
340         (perfect_nestify): Change to make copies and modify uses.
341
342 2006-01-04  Richard Henderson  <rth@redhat.com>
343
344         Merge from gomp branch:
345         * c-lex.c (c_lex_with_flags) <CPP_PRAGMA>: Smuggle pragma id
346         via integer constant.
347         (pragma_lex): Remove.
348         * c-pch.c (c_common_pch_pragma): Accept the name as an argument,
349         rather than parsing it.
350         * c-pragma.c (handle_pragma_weak, handle_pragma_redefine_extname,
351         handle_pragma_extern_prefix): Add %< %> quotes.
352         (registered_pragmas): New.
353         (c_register_pragma_1): New.
354         (c_register_pragma): Use it.
355         (c_register_pragma_with_expansion): Likewise.
356         (c_invoke_pragma_handler): New.
357         (init_pragma): Use cpp_register_deferred_pragma directly for
358         pch_preprocess.
359         * c-pragma.h (enum pragma_kind): New.
360         (pragma_handler): New.
361         (c_invoke_pragma_handler): Declare.
362         * c-common.c (c_parse_error): Pretty print CPP_PRAGMA and
363         CPP_PRAGMA_EOL.
364         * c-common.h (c_common_pch_pragma): Update decl.
365         * Makefile.in (c-parser.o): Update dependencies.
366         (GTFILES): Add c-pragma.h.
367         * c-parser.c (struct c_token): Add pragma_kind.
368         (struct c_parser): Add in_pragma.
369         (c_lex_one_token): Always initialize keyword and pragma_kind.
370         Extract data for CPP_PRAGMA.
371         (c_parser_peek_2nd_token): Deny CPP_PRAGMA_EOL.
372         (c_parser_consume_token): Don't allow CPP_PRAGMA unless errors.
373         Don't allow CPP_PRAGMA_EOL if in_pragma.
374         (c_parser_consume_pragma): New.
375         (c_parser_skip_until_found): Stop on CPP_PRAGMA_EOL.
376         (c_parser_skip_to_end_of_parameter): Likewise.
377         (c_parser_skip_to_end_of_block_or_statement): Likewise.
378         (c_parser_skip_to_pragma_eol): New.
379         (c_parser_external_declaration): Handle CPP_PRAGMA.
380         (c_parser_compound_statement_nostart): Likewise.
381         (c_parser_statement_after_labels): Likewise.
382         (c_parser_pragma): New.
383         (pragma_lex): Likewise.
384         (c_parser_pragma_pch_preprocess): New.
385         (c_parser_new): Merge into ...
386         (c_parse_file): ... here.  Call c_parser_pragma_pch_preprocess.
387
388 2006-01-04  Jeff Law  <law@redhat.com>
389
390         PR ada/24994
391         * tree-cfg.c (bsi_replace): Remove the original statement
392         from the EH throw statement table.
393
394 2006-01-04  Jakub Jelinek  <jakub@redhat.com>
395
396         * config/i386/pmm_malloc.h (posix_memalign): If __cplusplus,
397         make the prototype extern "C" and add throw ().
398
399         PR target/25554
400         * config/i386/i386.md (testqi_ext_3): Ensure len is positive
401         and pos non-negative and pos + len <= 32.
402         (testqi_ext_3_rex64): Ensure len is positive and pos non-negative,
403         drop pos + len < HOST_BITS_PER_WIDE_INT test.
404         (testqi_ext_3* splitter): Handle pos + len == HOST_BITS_PER_WIDE_INT.
405
406         PR c/25559
407         * c-common.c (handle_vector_size_attribute): Reject zero vector size
408         as well as sizes not multiple of component size.
409
410         PR debug/25562
411         * function.c (instantiate_expr): New function.
412         (instantiate_decls_1, instantiate_decls): If DECL_HAS_VALUE_EXPR_P,
413         walk its DECL_VALUE_EXPR with instantiate_expr.
414
415         * dwarf2out.c (loc_descriptor_from_tree_1): Don't add
416         DW_OP_deref{,_size} if address isn't going to be added.
417
418 2006-01-04  Ben Elliston  <bje@au.ibm.com>
419
420         * config/fp-bit.h: Use top-of-file comment from libgcc2.c.
421         * config/fp-bit.c: Likewise.
422
423 2006-01-03  Daniel Berlin  <dberlin@dberlin.org>
424
425         * dominance.c: Add comment about why we use DFS numbering
426         of dominance tree.
427
428 2006-01-03  Jakub Jelinek  <jakub@redhat.com>
429             Richard Henderson  <rth@redhat.com>
430
431         Merge from gomp-branch:
432         * varasm.c (assemble_variable): Handle thread-local COMMON data.
433         * defaults.h (ASM_OUTPUT_TLS_COMMON): Define.
434
435 2006-01-03  Paolo Bonzini  <bonzini@gnu.org>
436
437         PR rtl-optimization/25578
438         * combine.c (combine_simplify_rtx, force_to_mode): Don't
439         pass a parameter to simplify_shift_const if changing ASHIFTRT
440         to LSHIFTRT.
441
442 2006-01-03  Adrian Straetling  <straetling@de.ibm.com>
443
444         * gcc/builtins.c (get_builtin_sync_mem): New function.
445         (expand_builtin_sync_operation, expand_builtin_compare_and_swap,
446         expand_builtin_lock_test_and_set, expand_builtin_lock_release):
447         Call get_builtin_sync_mem to generate mem rtx.
448
449 2006-01-03  Richard Guenther  <rguenther@suse.de>
450
451         PR c/25183
452         * stmt.c (add_case_node): Make sure to clear overflow flags
453         from ranges.
454
455 2006-01-03  Jakub Jelinek  <jakub@redhat.com>
456
457         Merge from gomp-branch.
458         * config/sparc/sync.md: New file.
459         * config/sparc/sparc.md (UNSPECV_MEMBAR, UNSPECV_CAS, UNSPECV_SWAP,
460         UNSPECV_LDSTUB): New constants.
461         * config/sparc/sparc.c (sparc_expand_compare_and_swap_12): New function.
462         * config/sparc/predicates.md (memory_reg_operand): New predicate.
463         * config/sparc/sparc-protos.h (sparc_expand_compare_and_swap_12): New
464         prototype.
465
466 2006-01-03  Roger Sayle  <roger@eyesopen.com>
467
468         * combine.c (reg_subword_p): New predicate to test whether the
469         destination of a set refers to a subword/piece of a register.
470         (try_combine): Generalize the code to merge the setting of a
471         pseudo to a constant followed by a set of a subword of that
472         register to a constant.
473
474 2006-01-03  Kazu Hirata  <kazu@codesourcery.com>
475
476         * basic-block.h (control_flow_graph): Change the type of
477         x_label_to_block_map to VEC(basic_block,gc) *.
478         * tree-cfg.c (init_empty_tree_cfg, label_to_block_fn,
479         set_bb_for_stmt): Adjust the uses of x_label_to_block_map.
480
481         * tree-ssa-propagate.c (cfg_blocks): Change the type to
482         VEC(basic_block,heap) *.
483         (cfg_blocks_add, cfg_blocks_get, ssa_prop_init,
484         ssa_prop_fini): Adjust the uses of cfg_blocks.
485
486 2006-01-03  Steven Bosscher  <stevenb.gcc@gmail.com>
487
488         * fold-const.c (operand_equal_p): Accept a NULL operand 0 for
489         COMPONENT_REFs.
490         * emit-rtl.c (mem_attrs_htab_eq): Use iterative_hash_expr for
491         hashing trees instead of a pointer hash.
492         (mem_attrs_htab_eq): Do a deep compare instead of a pointer
493         compare for MEM_EXPR.
494
495         PR rtl-optimization/25130
496         * cse.c (exp_equiv_p): Compare MEM_ATTRS instead of MEM_ALIAS_SET
497         when comparing MEMs for GCSE
498
499 2006-01-03  Ben Elliston  <bje@au.ibm.com>
500
501         * targhooks.h (default_decimal_float_supported_p): Declare.
502         * targhooks.c (default_decimal_float_supported_p): Define.
503         * target-def.h (TARGET_DECIMAL_FLOAT_SUPPORTED_P): Redefine to
504         `default_decimal_float_supported_p'.
505         * doc/tm.texi (TARGET_DECIMAL_FLOAT_SUPPORTED_P): Update.
506
507 2006-01-02  Adam Nemet  <anemet@caviumnetworks.com>
508
509         * combine.c (apply_distributive_law <SUBREG>): Check
510         TRULY_NOOP_TRUNCATION.
511
512 2006-01-02  Geoffrey Keating  <geoffk@apple.com>
513
514         * dwarf2out.c (have_switched_text_section): Delete.
515         (have_multiple_function_sections): New.
516         (have_location_lists): Make 'bool'.
517         (add_AT_loc_list): Use 'true' not '1'.
518         (dwarf2out_switch_text_section): Set have_multiple_function_sections.
519         (output_loc_list): Use have_multiple_function_sections.
520         (output_ranges): Likewise.
521         (dwarf2out_begin_function): Set have_multiple_function_sections if
522         necessary.
523         (dwarf2out_source_line): Don't fake separate_line_info_table_in_use.
524         Check function_section rather than DECL_SECTION_NAME.
525         (dwarf2out_finish): Use have_multiple_function_sections.
526         Don't clear have_location_lists.
527
528 2006-01-02  Eric Botcazou  <ebotcazou@adacore.com>
529             Jan Hubicka  <jh@suse.cz>
530
531         * cfglayout.c (fixup_reorder_chain): Remove kludge for the
532         case of conditional jump jumping to the next instruction.
533         * cfgrtl.c (force_nonfallthru_and_redirect): Accept all
534         cases of conditional jump jumping to the next instruction.
535
536 2006-01-02  Jan Hubicka  <jh@suse.cz>
537
538         * i386.c (*_cost): Add COSTS_N_INSNS.
539         (ix86_rtx_costs): Do not use COSTS_N_INSNS.
540
541 2006-01-02  Paolo Bonzini  <bonzini@gnu.org>
542
543         PR target/25259
544         * Makefile.in (DECNUMINC): Include libdecnumber's build directory.
545
546 2006-01-02  Volker Reichelt  <reichelt@igpm.rwth-aachen.de>
547
548         * config/arm/arm.c (all_fpus): Fix comment typo.
549         * config/darwin.c: Likewise.
550         * config/frv/frv.h (FRV_STRUCT_VALUE_REGNUM): Likewise.
551         * config/h8300/h8300.md (extendqisi2_h8300hs): Likewise.
552         * config/m68hc11/m68hc11.c (m68hc11_reload_operands): Likewise.
553
554 2006-01-01  David Edelsohn  <edelsohn@gnu.org>
555
556         * config/rs6000/rs6000.c (rs6000_expand_compare_and_swapqhi): New.
557         (rs6000_split_compare_and_swapqhi): New.
558         * config/rs6000/sync.md (sync_compare_and_swap{hi,qi}): New.
559         (sync_compare_and_swapqhi_internal): New.
560         * config/rs6000/rs6000-protos.h: Declare.