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