OSDN Git Service

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