+2005-08-09 Richard Guenther <rguenther@suse.de>
+
+ * c-common.c (builtin_function_2): Remove.
+ (def_builtin_1): New function.
+ (c_common_nodes_and_builtins): Use def_builtin_1 to
+ build builtin functions.
+
+2005-08-09 Jie Zhang <jie.zhang@analog.com>
+
+ * config/bfin/uclinux.h (NO_IMPLICIT_EXTERN_C): Define.
+ * config/bfin/elf.h (NO_IMPLICIT_EXTERN_C): Define.
+ * config/bfin/bfin.c (bfin_return_in_memory): Update to really match
+ Visual DSP.
+
+2005-08-09 James A. Morrison <phython@gcc.gnu.org>
+
+ * tree-ssa-loop-niter.c (tree_simplify_using_condition_1): Use
+ fold_binary instead of fold_build2 since we don't care about the
+ resulting tree.
+ (loop_niter_by_eval): Likewise.
+ (compare_trees): Likewise.
+ (proved_non_wrapping_p): Likewise.
+
+2005-08-09 James A. Morrison <phython@gcc.gnu.org>
+
+ PR c/23161
+ PR c/23165
+ * c-typeck.c (c_finish_if_stmt): Look into STATEMENT_LISTs to see
+ if the if is really empty.
+
+2005-08-09 Steven Bosscher <stevenb@suse.de>
+
+ PR tree-optimization/23234
+ * tree-ssa-math-opts.c (place_reciprocal): New enum.
+ (execute_cse_reciprocals_1): Replace the 'phi' argument with an
+ argument of the new enum.
+ (execute_cse_reciprocals): Add reciprocals for function arguments
+ on the unique successor edge of the entry block. Update other calls
+ to execute_cse_reciprocals_1.
+
+2005-08-08 Richard Henderson <rth@redhat.com>
+
+ PR 22439
+ * gimplify.c (gimplify_one_sizepos): Preserve the original type.
+
+2005-08-08 Bob Wilson <bob.wilson@acm.org>
+
+ * expr.c (write_complex_part): Return after handling MEM.
+
+2005-08-08 Josh Conner <jconner@apple.com>
+
+ PR rtl-optimization/23241
+ * combine.c (simplify_comparison): Fix error in determining
+ whether to lift a subreg from comparison.
+
+2005-08-08 David Edelsohn <edelsohn@gnu.org>
+
+ PR target/18506
+ * config/rs6000/altivec.md (vec_init<mode>): New.
+ (vec_set<mode>): New.
+ (vec_extract<mode>): New.
+ * config/rs6000/rs6000.c (rs6000_expand_vector_init): New.
+ (rs6000_expand_vector_set): New.
+ (rs6000_expand_vector_extract): New.
+ (rs6000_legitimate_offset_address_p): Offset addresses are valid
+ for Altivec modes before reload.
+ (altivec_expand_vec_init_builtin): New.
+ (get_element_number): New.
+ (altivec_expand_vec_set_builtin): New.
+ (altivec_expand_vec_ext_builtin): New.
+ (altivec_expand_builtin): Expand vec_init, vec_set, and vec_ext
+ builtins.
+ (altivec_init_builtins): Init vec_init, vec_set, and vec_ext
+ builtins.
+ * config/rs6000/rs6000.h (rs6000_builtins): Add
+ ALTIVEC_BUILTIN_VEC_INIT_<mode>, ALTIVEC_BUILTIN_VEC_SET_<mode>,
+ ALTIVEC_BUILTIN_VEC_EXT_<mode>.
+ * config/rs6000/rs6000-protos.h: Declare new functions.
+
+2005-08-08 Jan Hubicka <jh@suse.cz>
+
+ * i386.c (legitimate_pic_address_disp_p): Refuse GOTOFF in 64bit mode.
+ (legitimate_address_p): Refuse GOT and GOTOFF in 64bit mode.
+ * i386.md (movdi*): Use pic_32bit_operand.
+ * predicates.md (pic_32bit_operand): New.
+
+2005-08-08 Nathan Sidwell <nathan@codesourcery.com>
+
+ PR c++/21166
+ * stor-layout.c (finalize_type_size): Undo DECL_PACKED when possible.
+
+2005-08-07 James A. Morrison <phython@gcc.gnu.org>
+
+ * tree-vrp.c (simplify_div_or_mod_using_range): Use build2.
+ (test_for_singularity): Use fold_build2.
+
+2005-08-07 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
+
+ * pa64-regs.h (CONDITIONAL_REGISTER_USAGE): Fix loop upper bound.
+
+2005-08-07 Danny Smith <dannysmith@users.sourceforge.net>
+
+ * config/i386/cygming.h (SUBTARGET_ENCODE_SECTION_INFO): Define.
+ (COMMON_ASM_OP) Define.
+ * config/i386/i386.c (ix86_in_large_data_p): Add ATTRIBUTE_UNUSED
+ (ix86_encode_section_info): Likewise.
+ (TARGET_ENCODE_SECTION_INFO): Conditionally define as
+ SUBTARGET_ENCODE_SECTION_INFO.
+
+2005-08-06 Richard Henderson <rth@redhat.com>
+
+ PR 21894
+ * tree-nested.c (convert_local_reference): Save and restore val_only
+ around component_ref and friends. Clear walk_subtrees by default.
+
+2005-08-06 Peter O'Gorman <peter@pogma.com>
+
+ PR 21366
+ * gcc.c (process_command): Check the argument to -b has a dash.
+ * doc/invoke.texi: Update -b and -V docs.
+
+2005-08-06 James E Wilson <wilson@specifix.com>
+
+ * config/mips/cross64.h, config/mips/t-cross64: Delete.
+
+2005-08-06 Michael Matz <matz@suse.de>
+
+ * genattrtab.c (write_attr_get, write_attr_case): Use insn_code
+ member only if only one insn is associated with the value.
+
+2005-08-06 Nick Clifton <nickc@redhat.com>
+
+ * config/stormy16/stormy16.h (SYMBOL_FLAG_XSTORMY16_BELOW100):
+ New define.
+ (ASM_OUTPUT_LABELREF): Delete - it is no longer needed.
+ * config/stormy16/stormy16.c (xstormy16_below100_symbol):
+ Check symbol flags instead of symbol name mangling.
+ (xstormy16_asm_output_aligned_common): Likewise. Also
+ simplify code since the bss100_section cass is the only case
+ where the below100 code will be triggered.
+ (xstormy16_encode_section_info): Encode below100 attribute
+ using the SYMBOL_FLAG_XSTORMY16_BELOW100 instead of mangling
+ the name.
+ (xstormy16_strip_name_encoding): Delete - this function is no
+ longer needed.
+ (TARGET_STRIP_NAME_ENCODING): Undefine.
+ * config/stormy16/stormy16-protos.h: Delete prototype for
+ xstormy16_strip_name_encoding.
+
+2005-08-06 Kazu Hirata <kazu@codesourcery.com>
+
+ * Makefile.in, cfgexpand.c, cfgloop.h, cfgloopmanip.c,
+ config.gcc, ipa-cp.c, ipa-prop.c, ipa-prop.h, reg-stack.c,
+ tree-ssa-structalias.c, tree-vrp.c, value-prof.c, vec.h,
+ config/linux.h, config/alpha/alpha.h, config/alpha/linux.h,
+ config/alpha/predicates.md, config/arc/arc.h,
+ config/arm/arm.h, config/arm/ieee754-df.S,
+ config/arm/ieee754-sf.S, config/bfin/bfin.c,
+ config/bfin/bfin.h, config/c4x/c4x.h, config/crx/crx.c,
+ config/fr30/fr30.h, config/frv/frv.h, config/h8300/h8300.h,
+ config/i386/i386.h, config/ia64/ia64.c, config/ia64/ia64.h,
+ config/m68hc11/m68hc11.h, config/mips/mips.c,
+ config/mips/mips.h, config/mips/openbsd.h,
+ config/mn10300/mn10300.h, config/pa/pa.c, config/pa/pa.h,
+ config/pdp11/pdp11.h, config/rs6000/linux-unwind.h,
+ config/rs6000/rs6000.c, config/rs6000/rs6000.h,
+ config/s390/s390.c, config/sh/sh.c, config/sh/sh.h,
+ config/sparc/linux.h, config/sparc/linux64.h,
+ config/sparc/sparc.h, config/v850/v850.h, config/vax/vax.h,
+ doc/extend.texi, doc/gcov.texi, doc/install.texi,
+ doc/invoke.texi, doc/rtl.texi, doc/tm.texi: Fix comment/doc
+ typos. Follow spelling conventions.
+
+2005-08-06 Joseph S. Myers <joseph@codesourcery.com>
+
+ PR c/23113
+ * stmt.c (warn_if_unused_value): Check TREE_NO_WARNING at start.
+ Don't handle NOP_EXPR, CONVERT_EXPR and NON_LVALUE_EXPR
+ specially. Check for side effects only for COND_EXPR.
+ * c-typeck.c (c_finish_stmt_expr): Mark statement expression
+ return with TREE_NO_WARNING.
+
+2005-08-06 Richard Sandiford <richard@codesourcery.com>
+
+ PR rtl-optimization/23233
+ * loop.c (combine_movables): Require the modes to be the same.
+ (move_movables): Remove handling of cases where the replacement
+ had a different mode to the original.
+
+2005-08-05 James A. Morrison <phython@gcc.gnu.org>
+
+ PR tree-optimization/23128
+ * tree-vrp.c (vrp_int_const_binop): Check if unsigned addition or
+ subtraction wrap, and set TREE_OVERFLOW if they do.
+
+2005-08-05 Richard Henderson <rth@redhat.com>
+
+ PR 21728
+ * tree-cfg.c (remove_bb): Transmute DECL_NONLOCAL labels into
+ FORCED_LABEL labels.
+
+2005-08-05 J"orn Rennecke <joern.rennecke@st.com>
+
+ PR middle-end/23135
+ * reload.c (find_reloads_subreg_address): Pass down TYPE
+ unchanged. Change all callers except find_reloads_toplev.
+
+2005-08-05 Michael Matz <matz@suse.de>
+
+ * genattrtab.c (current_alternative_string): Remove.
+ (SIMPLIFY_ALTERNATIVE): Ditto.
+ (attr_alt_bit_p): Ditto.
+ (alternative_name): Make const char *.
+ (evaluate_eq_attr): Remove use of above things.
+ (simplify_test_exp): Ditto.
+ (simplify_test_exp <EQ_ATTR>): Guard for insn_code < 0 .
+ (simplify_test_exp <AND>): Correct typo (test 'right' not 'left').
+
+2005-08-04 James E Wilson <wilson@specifix.com>
+
+ * config/ptx4.h, config/sol2.h, config/arm/freebsd.h,
+ config/arm/linux-elf.h, config/frv/frv.h, config/i386/freebsd.h,
+ config/i386/freebsd64.h, config/i386/netware.h, config/i386/sco5.h,
+ config/ia64/freebsd.h, config/rs6000/sysv4.h, config/sparc/freebsd.h
+ (LINK_SPEC): Delete useless %{Wl,*:%*} item.
+
+2005-08-04 Richard Henderson <rth@redhat.com>
+
+ PR 21529
+ * params.def (PARAM_SRA_MAX_STRUCTURE_COUNT): New.
+ * params.h (SRA_MAX_STRUCTURE_COUNT): New.
+ * tree-sra.c (decide_block_copy): Use it. Disable element copy
+ if we'd have to instantiate too many members.
+
+2005-08-04 Richard Henderson <rth@redhat.com>
+
+ PR 21291
+ * tree-outof-ssa.c (coalesce_asm_operands): New.
+ (coalesce_ssa_name): Use it. Split out ...
+ (coalesce_phi_operands, coalesce_result_decls): ... these.
+
+2005-08-04 Paul Brook <paul@codesourcery.com>
+
+ * read-rtl.c (read_quoted_string): Break if EOF.
+
+2005-08-04 Andrew Pinski <pinskia@physics.uc.edu>
+
+ * tree.h (fold_build1): Change to macro and call fold_build1_stat.
+ (fold_build2): Likewise.
+ (fold_build3): Likewise.
+ (fold_build1_stat): New function prototype.
+ (fold_build2_stat): Likewise.
+ (fold_build3_stat): Likewise.
+ * fold-const.c (fold_build1): Rename to ..
+ (fold_build1_stat): this. Add MEM_STAT_DECL. Pass the mem stats
+ through to build1_stat.
+ (fold_build2): Rename to ..
+ (fold_build2_stat): this. Add MEM_STAT_DECL. Pass the mem stats
+ through to build2_stat.
+ (fold_build3): Rename to ..
+ (fold_build3_stat): this. Add MEM_STAT_DECL. Pass the mem stats
+ through to build3_stat.
+
+2005-08-04 David Edelsohn <edelsohn@gnu.org>
+ Ian Lance Taylor <ian@airs.com>
+
+ * function.c (assign_stack_local_1): Do not correct stack slot
+ address if allocation size is smaller than mode size.
+
+2005-08-04 Diego Novillo <dnovillo@redhat.com>
+
+ PR 22037
+ * tree-cfg.c (replace_uses_by): Call mark_new_vars_to_rename.
+ (tree_merge_blocks): Propagate anything allowed by
+ may_propagate_copy.
+ Clarify documentation.
+ * passes.c (execute_todo): If cleanup_tree_cfg invalidated the
+ SSA form, schedule an update if necessary.
+
+2005-08-04 Gerald Pfeifer <gerald@pfeifer.com>
+
+ * doc/install.texi (Binaries): Remove broken link to
+ Sinix/Reliant Unix binaries.
+
+2005-08-03 Richard Henderson <rth@redhat.com>
+
+ PR 23221
+ * function.c (stack_protect_epilogue): Export.
+ * tree.h (stack_protect_epilogue): Declare.
+ * calls.c (expand_call): Call it.
+
+2005-08-03 Eric Christopher <echristo@apple.com>
+
+ * gcc.c (LINK_SSP_SPEC): Add fstack-protector-all.
+ * config/darwin.h (LINK_COMMAND_SPEC): Add link_ssp
+ spec.
+
+2005-08-04 Jan Hubicka <jh@suse.cz>
+
+ * profile.c (branch_prob): Split edges with goto locus on them
+ to get proper line counts.
+ * tree-cfg.c (make_cond_expr_edges): Record user goto locuses, if any.
+
+2005-08-03 Paul Brook <paul@codesourcery.com>
+
+ * function.c (assign_parms): Round current_function_args_size
+ to PARM_BOUNDARY, not STACK_BOUNDARY.
+
+2005-08-03 Geoffrey Keating <geoffk@apple.com>
+
+ * config/i386/i386.c (x86_elf_aligned_common)
+ (x86_output_aligned_bss): Don't try to use symbols that aren't defined.
+
+2005-08-03 Zdenek Dvorak <dvorakz@suse.cz>
+
+ PR tree-optimization/23157
+ * tree-scalar-evolution.c (scev_const_prop): Unshare trees
+ before emitting them.
+
+2005-08-03 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
+
+ PR tree-optimization/19899
+ * Makefile.in (tree-scalar-evolution.o): Add real.h.
+ * tree-scalar-evolution.c: Include real.h.
+ (add_to_evolution): Build constant -1 of correct type.
+
+2005-08-03 Jan Hubicka <jh@suse.cz>
+
+ * cfgloop.h (DLTHE_FLAG_COMPLETTE_PEEL): New flag.
+ * cfgloopmanip.c (duplicate_loop_to_header_edge): Special case
+ profile updating for complette unrolling.
+ * loop-unroll.c (peel_loop_completely): Use it.
+ * tree-ssa-loop-ivcanon.c (try_unroll_loop_completely): Likewise.
+ (tree_unroll_loops_completely): Disable code growing unrolling of cold
+ loops.
+
+2005-08-03 Paul Brook <paul@codesourcery.com>
+
+ * combine.c (can_change_dest_mode): New function.
+ (try_combine, simplify_set): Use it.
+
+2005-08-03 Eric Botcazou <ebotcazou@adacore.com>
+
+ * config/ia64/hpux.h (MEMBER_TYPE_FORCES_BLK): Only force
+ TFmode to BLKmode.
+
+2005-08-03 Gerald Pfeifer <gerald@pfeifer.com>
+
+ * doc/install.texi (Specific): Adjust link to openavr.org.
+ (Specific): Remove broken reference to GCC 2.8.1 for OS/2.
+ (Binaries): Adjust HP-UX Porting Center link.
+ (Binaries): Adjust Free Software Foundation ordering link.
+
+2005-08-03 Andrew Pinski <pinskia@physics.uc.edu>
+
+ * convert.c (convert_to_integer): Use fold_build1 instead of
+ build1 when converting an integer to an integer.
+
+2005-08-02 Richard Henderson <rth@redhat.com>
+
+ * combine.c (combine_instructions): Don't use reg_equal/equiv
+ results if the mode doesn't match.
+
+2005-08-02 Mark Mitchell <mark@codesourcery.com>
+
+ * config/i386/t-mingw32 (NATIVE_SYSTEM_HEADER_DIR): Set it.
+ * doc/fragments.texi (NATIVE_SYSTEM_HEADER_DIR): Document it.
+
+2005-08-02 Richard Henderson <rth@redhat.com>
+
+ PR 23196
+ * explow.c (memory_address): Remove special-case for
+ virtual_stack_vars_rtx and virtual_incoming_args_rtx.
+
+2005-08-02 Diego Novillo <dnovillo@redhat.com>
+
+ PR 23164
+ * tree-cfgcleanup.c (cleanup_tree_cfg): Do not limit the
+ number of calls to cleanup_tree_cfg_1.
+
+2005-08-02 Martin Reinecke <martin@mpa-garching.mpg.de>
+
+ * doc/invoke.texi: document file extensions .F90 and .F95
+
+2005-08-02 Richard Guenther <rguenther@suse.de>
+
+ * fold-const.c (tree_expr_nonnegative_p): frexp(x, &e) is
+ positive if its first argument is positive.
+
+2005-08-02 Richard Guenther <rguenther@suse.de>
+
+ PR tree-optimization/23177
+ * tree-ssa-operands.c (get_tmr_operands): Use get_expr_operands
+ on TMR_TAG.
+
+2005-08-02 James A. Morrison <phython@gcc.gnu.org>
+
+ PR tree-optimization/23129
+ * tree-vrp.c (extract_range_from_binary_expr): Set value range to
+ varying for divisions with anti-ranges.
+
+2005-08-02 Jan Hubicka <jh@suse.cz>
+
+ * tree-ssa-dom.c (thread_across_edge): Remove updating here.
+ * tree-ssa-threadupdate.c (thread_block): Add it here.
+
+2005-08-01 James E Wilson <wilson@specifix.com>
+
+ * config/mips/mips.c (mips_encode_section_info, mips_attribute_table,
+ TARGET_ENCODE_SECTION_INFO, TARGET_ATTRIBUTE_TABLE): New.
+ * config/mips/mips.h (SYMBOL_FLAG_LONG_CALL, SYMBOL_REF_LONG_CALL_P):
+ New.
+ * config/mips/predicates.md (const_call_insn_operand): Add check for
+ SYMBOL_REF_LONG_CALL_P.
+ * doc/extend.texi (long_call): Document the new attribute.
+
+2005-08-01 Ian Lance Taylor <ian@airs.com>
+ Richard Henderson <rth@redhat.com>
+
+ * Makefile.in (RTL_BASE_H): Add real.h.
+ * real.h (REAL_VALUE_FROM_CONST_DOUBLE): Use structure copy
+ instead of memcpy.
+ * emit-rtl.c (const_double_from_real_value): Likewise; use rtx.u.rv
+ directly.
+ * rtl.c (rtl_check_failed_code_mode): New.
+ * rtl.h (struct rtx_def): Add u.rv.
+ (XCMWINT, XCNMPRV): New.
+ (CONST_DOUBLE_LOW, CONST_DOUBLE_HIGH): Use XCMWINT.
+ (CONST_DOUBLE_REAL_VALUE): Use XCNMPRV; constify.
+
+2005-08-01 Richard Henderson <rth@redhat.com>
+
+ * dwarf2out.c (mem_loc_descriptor): Use XEXP, not SUBREG_REG,
+ with auto-inc codes.
+
+ * config/alpha/predicates.md (and_operand): Test mode of CONST_DOUBLE.
+
+2005-08-01 Jan Hubicka <jh@suse.cz>
+
+ * i386-protos.h (asm_preferred_eh_data_format): Declare.
+ * i386.c: Include dwarf2.h
+ (asm_preferred_eh_data_format): New.
+ * i386.h (ASM_PREFERRED_EH_DATA_FORMAT): Move offline.
+
+2005-08-01 Ian Lance Taylor <ian@airs.com>
+
+ * config/host-linux.c (linux_gt_pch_get_address): Add new name
+ randomize_va_space for virtual address randomization control.
+
+2005-08-01 Steven Bosscher <stevenb@suse.de>
+
+ * common.opt (flag_ipa_cp): Put in right place to maintain
+ alphabetic sort.
+
+2005-08-01 Jan Hubicka <jh@suse.cz>
+
+ * profile.c (compute_value_histograms): Fix thinko.
+ * value-prof.c: Include toplev.h
+ (check_counter): New function.
+ (tree_divmod_fixed_value_transform, tree_mod_pow2_value_transform,
+ tree_mod_subtract_transform): Add sanity check.
+
+2005-08-01 Richard Guenther <rguenther@suse.de>
+
+ PR tree-optimization/23133
+ * tree-ssa-math-opts.c (execute_cse_reciprocals): Walk
+ current functions parameter decls to find defs to cse
+ reciprocals of.
+
+2005-08-01 Richard Guenther <rguenther@suse.de>
+
+ PR tree-optimization/23109
+ * tree-ssa-math-opts.c (execute_cse_reciprocals_1):
+ If trapping math is in effect, use post-dominator information
+ to check if we'd in any case reach a trapping point before
+ doing the reciprocal insertion.
+ (execute_cse_reciprocals): Compute post-dominators, if necessary.
+ * tree-ssa-loop-im.c (determine_invariantness_stmt): RDIV
+ expressions are invariant only if trapping math is not in effect.
+
+2005-08-01 Razya Ladelsky <razya@il.ibm.com>
+
+ * cgraph.h (update_call_expr, cgraph_copy_node_for_versioning,
+ cgraph_function_versioning): New declarations.
+ * cgraphunit.c: Add include to ipa-prop.h.
+ (update_call_expr, cgraph_copy_node_for_versioning,
+ cgraph_function_versioning): New functions.
+ * integrate.c (copy_decl_for_inlining): Remove.
+ * ipa-prop.h (ipa_replace_map): New struct.
+ (struct ipa_node): Add ipcp_orig_node, count_scale, new fields.
+ * ipa-cp.c (ipcp_method_orig_node, ipcp_method_is_cloned,
+ ipcp_method_set_orig_node, ipcp_cloned_create, ipcp_method_get_scale,
+ ipcp_method_set_scale, ipcp_method_compute_scale, ipcp_after_propagate,
+ ipcp_iterate_stage, ipcp_method_scale_print,
+ ipcp_profile_mt_count_print, ipcp_profile_cs_count_print,
+ ipcp_profile_edge_print, ipcp_profile_bb_print , ipcp_profile_print,
+ ipcp_replace_map_create, ipcp_redirect, ipcp_update_callgraph,
+ ipcp_update_bb_counts, ipcp_update_profiling,
+ ipcp_update_edges_counts): New functions.
+ (ipcp_method_cval_init): Remove restriction regarding local methods.
+ (ipcp_init_stage): Add ipcp_method_compute_scale.
+ (ipcp_insert_stage): Add versioning.
+ (ipcp_structures_print): Add ipcp_method_scale_print.
+ (ipcp_driver): Dump profiling info.
+ * Makefile.in: Remove integrate.h dependency from tree-inline.o.
+ Add ipa-prop.h dependency to tree-inline.o and cgraphunit.o.
+ * tree-inline.c: Remove include to integrate.h, Add include ipa-prop.h.
+ (struct inline_data): Add versioning_p, ipa_info, new fields.
+ (remap_decl, mark_local_for_remap_r, setup_one_parameter,
+ declare_return_variable): Replace calls to copy_decl_for_inlining with
+ copy_decl_for_dup.
+ (copy_body_r, copy_bb, copy_cfg_body, copy_tree_r, inlining_p): Add
+ versioning support.
+ (copy_decl_for_dup): Rename from copy_decl_for_inlining.
+ Add argument VERSIONING.
+ (copy_arguments_for_versioning, copy_static_chain,
+ function_versionable_p, tree_versionable_function_p,
+ tree_function_versioning, replace_ref_tree): New functions.
+ * tree-inline.h: Include varray.h.
+ (tree_versionable_function_p, tree_function_versioning,
+ tree copy_decl_for_dup): New declarations.
+
+2005-08-01 Razya Ladelsky <razya@il.ibm.com>
+
+ * ipa-cp.c: New file. Contains IPCP specific functionality.
+ * ipa-prop.h: New file. Contains structures/definitions that can be
+ used by several interprocedural data flow optimizations (and also IPCP).
+ * ipa-prop.c: New file.
+ * Makefile.in: Add ipa-cp.c, ipa-prop.h, ipa-prop.c.
+ * common.opt: Add ipa-cp flag.
+ * timevar.def: Add IPCP optimization.
+ * tree-optimize.c (init_tree_optimization_passes): Schedule
+ pass_ipa_cp.
+ * tree-pass.h (pass_ipa_cp): Declare.
+
+2005-08-01 Kazu Hirata <kazu@codesourcery.com>
+
+ * dwarf2out.c, fold-const.c, ipa-type-escape.c,
+ loop-invariant.c, predict.c, predict.def, reload1.c, reorg.c,
+ tree-sra.c, config/arm/arm.c, config/crx/crx.c,
+ config/i386/i386.c, config/mips/mips.h,
+ config/rs6000/rs6000.h, config/sh/sh.c,
+ config/stormy16/stormy16.c: Fix comment typos.
+
+2005-08-01 Joseph S. Myers <joseph@codesourcery.com>
+
+ PR c/22311
+ * c-typeck.c (build_binary_op): Use common_type wrapper on
+ shortened types.
+ (common_type): Update comment.
+
+2005-07-31 Steven Bosscher <stevenb@suse.de>
+
+ PR target/23095
+ * common.opt (flag_gcse_after_reload): Don't initialize to 2.
+ (flag_rerun_cse_after_loop): Initialize this to 2 instead.
+ * postreload-gcse.c (hash_scan_set): Do not consider stack regs.
+
+2005-07-31 Jan Hubicka <jh@suse.cz>
+
+ * pretty-print.h (pp_widest_integer): New macro.
+ * tree-pretty-print.c (dump_bb_header): Print BB frequencies and
+ counts.
+
+2005-07-31 Jan Hubicka <jh@suse.cz>
+
+ * output.h (enum section_category): Export from varasm.c
+ (categorize_decl_for_section): Likewise.
+ * varasm.c (enum section_category): Kill.
+ (categorize_decl_for_section): Make global.
+ * i386-protos.h (x86_output_aligned_bss, x86_elf_aligned_common):
+ Declare.
+ * i386.c (ix86_section_threshold): New static variable.
+ (ix86_in_large_data_p, ix86_encode_section_info,
+ x86_64_elf_unique_section,
+ x86_64_elf_select_section): New functions.
+ (TARGET_ENCODE_SECTION_INFO): Define
+ (override_options): Enable medium model for PIC.
+ (ix86_expand_prologue): Expand gen_set_got_rex64.
+ (legitimate_constant_p): Handle new UNSPECs.
+ (legitimate_pic_address_disp_p): Likewise.
+ (legitimize_pic_address): Lower MEDIUM model addressing.
+ * i386.h (PIC_OFFSET_TABLE_REGNUM): Set for medium model PIC.
+ (enum cmodel): Add MEDIUM_PIC.
+ (SYMBOL_REF_FAR_ADDR_P): New macro.
+ (SYMBOL_FLAG_FAR_ADDR): New flag.
+ * i386.md (movdi): Support medium model.
+ (set_got_rex64): New pattern.
+ * i386.opt (mlarge-data-threshold): New flag.
+ * predicates.md (zext_operand/sext_operand): Deal with medium model.
+ * x86-64.h (ASM_OUTPUT_ALIGNED_BSS): Use x86_output_aligned_bss.
+ (ASM_OUTPUT_ALIGNED_COMMON, TARGET_ASM_SELECT_SECTION,
+ TARGET_ASM_UNIQUE_SECTION): New.
+
+ * invoke.texi (-mlarge_data_threshold): Document
+
+2005-07-31 Jan Hubicka <jh@suse.cz>
+
+ * tree-outof-ssa.c (coalesce_ssa_name): Use coalesce_cost.
+ (coalesce_vars): Likewise.
+ * tree-ssa-live.c (coalesce_cost): New.
+ (build_tree_conflict_graph): Use coalesce_cost.
+ * tree-ssa-live.h (coalesce_cost): Declare.
+
+2005-07-30 Richard Earnshaw <richard.earnshaw@arm.com>
+
+ * arm.md (all peepholes for post-increment operations): Delete.
+ (strqi_preinc, strqi_predec, loadqi_preinc, loadqi_predec)
+ (loadqisi_preinc, loadqisi_predec, strsi_preinc, strsi_predec)
+ (loadsi_preinc, loadsi_predec, strqi_shiftpreinc, strqi_shiftpredec)
+ (loadqi_shiftpreinc, loadqi_shiftpredec, strsi_shiftpreinc)
+ (strsishift_predec, loadsi_shiftpreinc, loadsi_shiftpredec): Delete.
+
+2005-07-30 James A. Morrison <phython@gcc.gnu.org>
+
+ * fold-const.c (tree_expr_nonnegative_p): Always return true for
+ non-integral types.
+
+2005-07-29 Wolfgang Bangerth <bangerth@dealii.org>
+
+ PR target/22582
+ * doc/invoke.texi: Document -rdynamic.
+
+2005-07-30 Joseph S. Myers <joseph@codesourcery.com>
+
+ PR c/23143
+ * c-parser.c (c_parser_parms_list_declarator): Call
+ mark_forward_parm_decls.
+ * c-decl.c (merge_decls): Only check DECL_IN_SYSTEM_HEADER for
+ decls with visibility structure.
+
+2005-07-30 Paul Brook <paul@codesourcery.com>
+
+ * config/arm/arm.c (arm_coproc_mem_operand): Fix inaccurate comment.
+
+2005-07-30 Paul Brook <paul@codesourcery.com>
+
+ * config/arm/arm-protos.h (arm_canonicalize_comparison): Update
+ prototype.
+ * config/arm/arm.c (arm_canonicalize_comparison): Use correct limit
+ value for mode.
+ * config/arm/arm.h (CANONICALIZE_COMPARISON): Pass mode argument.
+
+2005-07-29 Joseph S. Myers <joseph@codesourcery.com>
+
+ PR c/529
+ * c-decl.c (warn_if_shadowing): Don't check for PARM_DECL in
+ nested function declarators.
+ (pushdecl): Don't call warn_if_shadowing for PARM_DECL.
+ (grokparms): Call warn_if_shadowing for parameters used within the
+ parameter list.
+ (store_parm_decls_newstyle): Call warn_if_shadowing for parameters
+ not used within the parameter list.
+ (store_parm_decls_oldstyle): Call warn_if_shadowing for parameters.
+
+2005-07-30 Jan Hubicka <jh@suse.cz>
+
+ * expr.c (expand_expr_real_1): Do not load mem targets into register.
+ * i386.c (ix86_fixup_binary_operands): Likewise.
+ (ix86_expand_unary_operator): Likewise.
+ (ix86_expand_fp_absneg_operator): Likewise.
+ * optabs.c (expand_vec_cond_expr): Validate dest.
+
+2005-07-29 Joseph S. Myers <joseph@codesourcery.com>
+
+ PR c/21720
+ * real.c (real_from_string): Also set last bit if there is a
+ nonzero hex digit beyond GCC's internal precision after ".".
+
+2005-07-29 David Edelsohn <edelsohn@gnu.org>
+
+ * config/rs6000/altivec.md: Convert UNSPEC numerical values to
+ define_constants. Change duplicate values to unassigned numbers.
+ Change UNSPEC_SUBS to UNSPEC_VSUBS.
+ (*altivec_vspltsf): New.
+ (altivec_vperm_v4sf): Delete.
+ (altivec_vperm_<mode>): Use mode macro V.
+ (altivec_vsldoi_<mode>): Convert to mode macro pattern.
+ (altivec_predicate_v4sf): Delete.
+ (altivec_predicate_<mode>): Use mode macro V.
+ (*altivec_lvesfx): New.
+ (*altivec_stvesfx): New.
+ (vec_realign_load_v4sf): Delete.
+ (vec_realign_load_<mode>): Use mode macro V.
+ * config/rs6000/rs6000.c (generate_set_vrsave): Use
+ UNSPECV_SET_VRSAVE.
+
+2005-07-29 Mark Mitchell <mark@codesourcery.com>
+
+ PR bootstrap/23131
+ * configure.ac (SYSTEM_HEADER_DIR): Avoid setting to empty
+ string.
+ * configure: Regenerated.
+
+2005-07-29 Paul Brook <paul@codesourcery.com>
+
+ * doc/install.texi: Add link to GFortran binaries wiki page.
+
+2005-07-29 David Ung <davidu@mips.com>
+
+ * config/mips/mips.c (mips_cpu_info_table): Add 5kf to the table.
+ (mips_rtx_cost_data): Add costs for 5kc and 5kf.
+ * config/mips/mips.h (processor_type): Add PROCESSOR_5KF.
+ * config/mips/mips.md (cpu): Add 5kf name.
+ (includes): Includes 5k.md.
+ * config/mips/5k.md: New DFA pipeline for the 5kc/5kf.
+ * doc/invoke.texi (MIPS Options): Updated cpu name supported with
+ -march flag.
+
+2005-07-29 Diego Novillo <dnovillo@redhat.com>
+
+ PR 22550
+ * tree-cfgcleanup.c (cleanup_tree_cfg_1): Extract from ...
+ (cleanup_tree_cfg): ... here.
+ Call cleanup_tree_cfg_1 until there are no more cleanups to
+ do.
+
+2005-07-29 James A. Morrison <phython@gcc.gnu.org>
+
+ * tree-vrp.c (compare_range_with_value): Return true or false
+ for ~[VAL_1, VAL_2] OP VAL if VAL_1 <= VAL <= VAL_2 for NE_EXPR and
+ EQ_EXPR respectively.
+
+2005-07-29 Kazu Hirata <kazu@codesourcery.com>
+
+ * cfg.c, tree-complex.c, config/frv/frv.c, config/i386/i386.c:
+ Fix comment typos.
+
+2005-07-29 Diego Novillo <dnovillo@redhat.com>
+
+ * tree-ssa-dom.c (struct opt_stats_d): Add field num_iterations.
+ (tree_ssa_dominator_optimize): Increment it.
+ (dump_dominator_optimization_stats): Print it.
+
+2005-07-29 Richard Earnshaw <richard.earnshaw@arm.com>
+ Steven Bosscher <stevenb@suse.de>
+
+ PR rtl-optimization/23117
+ * sched-rgn.c (add_branch_dependences): Handle COND_EXEC correctly
+ when head == tail. Tidy comment.
+
+2005-07-28 Richard Henderson <rth@redhat.com>
+
+ * cse.c (exp_equiv_p): Special case CONST_DOUBLE.
+ * cselib.c (rtx_equal_for_cselib_p): Likewise.
+ * jump.c (rtx_renumbered_equal_p): Likewise.
+ * loop.c (rtx_equal_for_loop_p): Tidy and special case PC, CC0,
+ CONST_INT and CONST_DOUBLE.
+ (rtx_equal_for_prefetch_p): Likewise, plus LABEL_REF.
+ * reload.c (operands_match_p): Special case CONST_INT and
+ CONST_DOUBLE; check mode earlier.
+
+2005-07-29 Joseph S. Myers <joseph@codesourcery.com>
+
+ PR c/22240
+ * c-typeck.c (convert_for_assignment): Do not check
+ DECL_IN_SYSTEM_HEADER on NULL fundecl.
+
+2005-07-29 Joseph S. Myers <joseph@codesourcery.com>
+
+ PR c/22192
+ * c-typeck.c (composite_type): Prefer constant size arrays to
+ VLAs.
+
2005-07-29 Joseph S. Myers <joseph@codesourcery.com>
PR c/21720
2005-07-28 Richard Henderson <rth@redhat.com>
PR target/17692
- * config/i386/i386.c (ix86_split_sse_movcc): Emit DELETED note
- when expanding to nothing.
+ * config/i386/i386.c (ix86_split_sse_movcc): Emit DELETED note
+ when expanding to nothing.
2005-07-28 Josh Conner <jconner@apple.com>
2005-07-28 Jeff Law <law@redhat.com>
- * tree-vrp.c (test_for_singularity): Extracted from ...
- (simplify_cond_using_ranges): Attempt to simplify a relational
- test to NE_EXPR. Dump information when a COND_EXPR is simplified.
+ * tree-vrp.c (test_for_singularity): Extracted from ...
+ (simplify_cond_using_ranges): Attempt to simplify a relational
+ test to NE_EXPR. Dump information when a COND_EXPR is simplified.
2005-07-28 Dorit Nuzman <dorit@il.ibm.com>
* config/frv/frv.h: Remove machine_function definition.
- * config/frv/frv.c (struct frv_io): New.
- (struct machine_function): Moved from frv.h. Add has_membar_p.
- (frv_same_doubleword_p, frv_io_fixed_order_p, frv_io_union)
- (frv_extract_membar, frv_io_check_address, frv_io_handle_set)
- (frv_io_handle_use_1, frv_io_handle_use, frv_optimize_membar_local)
- (frv_optimize_membar_global, frv_optimize_membar): New functions.
- (frv_reorg): Call frv_optimize_membar when appropriate.
- (bdesc_loads, bdesc_stores): Use the membar code as the icode field.
- (frv_expand_builtin): Adjust calls accordingly.
- (frv_io_address_cookie): New function.
- (frv_expand_load_builtin, frv_expand_store_builtin): Emit a normal
- load or store rather than a special insn. Add ccnstant address and
- io-type operands to the membar.
+ * config/frv/frv.c (struct frv_io): New.
+ (struct machine_function): Moved from frv.h. Add has_membar_p.
+ (frv_same_doubleword_p, frv_io_fixed_order_p, frv_io_union)
+ (frv_extract_membar, frv_io_check_address, frv_io_handle_set)
+ (frv_io_handle_use_1, frv_io_handle_use, frv_optimize_membar_local)
+ (frv_optimize_membar_global, frv_optimize_membar): New functions.
+ (frv_reorg): Call frv_optimize_membar when appropriate.
+ (bdesc_loads, bdesc_stores): Use the membar code as the icode field.
+ (frv_expand_builtin): Adjust calls accordingly.
+ (frv_io_address_cookie): New function.
+ (frv_expand_load_builtin, frv_expand_store_builtin): Emit a normal
+ load or store rather than a special insn. Add ccnstant address and
+ io-type operands to the membar.
(frv_ifcvt_modify_tests): Unsign regno.
(frv_ifcvt_modify_tests): Same.
2005-07-27 Kenneth Zadeck <zadeck@naturalbridge.com>
* params.def: Fixed comment.
-
+
2005-07-27 Bjoern Haase <bjoern.m.haase@web.de>
PR target/19885
2005-07-27 Dorit Nuzman <dorit@il.ibm.com>
PR tree-optimization/23073
- * tree-vect-analyze.c (vect_analyze_data_refs_alignment): Call
+ * tree-vect-analyze.c (vect_analyze_data_refs_alignment): Call
vect_print_dump_info before fprintf.
2005-07-27 Zdenek Dvorak <dvorakz@suse.cz>
inhibit_libc.
* configure.ac (inhibit_libc): Set it to true/false.
(--with-build-sysroot): New option. Use it to set
- SYSTEM_HEADER_DIR.
+ SYSTEM_HEADER_DIR.
* configure: Regenerated.
2005-07-25 Manfred Hollstein <mh@suse.com>
(dump_data_reference): Use a correct field name.
(analyze_array): Make static. Initialize new data-ref fields.
(analyze_indirect_ref): New function.
- (init_data_ref): Initialize new data-ref fields.
- (strip_conversion): Moved from tree-vect-analyze.c.
+ (init_data_ref): Initialize new data-ref fields.
+ (strip_conversion): Moved from tree-vect-analyze.c.
(analyze_offset_expr, get_ptr_offset, address_analysis,
object_analysis): Likewise.
(analyze_offset): New function.
(access_functions_are_affine_or_constant_p): Call macro to get the
address of access functions.
(compute_all_dependences): Add new parameter
- compute_self_and_read_read_dependences. Compute self and read-read
+ compute_self_and_read_read_dependences. Compute self and read-read
dependences if it is true.
(find_data_references_in_loop): Call create_data_ref. Initialize new
data-ref fields.
* tree-data-ref.h (struct first_location_in_loop): New structure. Move
fields from stmt_vinfo.
(struct base_object_info): New structure.
- (struct data_reference): Move fields to base_object_info. Add fields
+ (struct data_reference): Move fields to base_object_info. Add fields
first_location and object_info for above structures. Move fields from
stmt_info: memtag, ptr_info, subvars, misalignment. Add new field
aligned_to. Add macros to access the new fields.
(vect_strip_conversion): Remove.
* tree-vectorizer.h (enum verbosity_levels): Add new verbosity level.
(struct _loop_vec_info): Unify data_ref_writes and data_ref_reads into
- datarefs. Add new field ddrs.
+ datarefs. Add new field ddrs.
Add macros for the new fields access.
(struct _stmt_vec_info): Remove: base_address, initial_offset, step,
base_aligned_p, misalignment, memtag, ptr_info and subvars.
* Makefile.in (STRICT2_WARN): Add -Wmissing-format-attribute.
* configure.ac: Check for -Wmissing-format-attribute.
-
+
* configure: Regenerate.
2005-07-23 Richard Henderson <rth@redhat.com>
* config/crx/crx.md: New file.
* config/crx/crx.opt: New file.
* config/crx/t-crx: New file.
-
+
2005-07-22 Manfred Hollstein <mh@suse.com>
* tree-ssa-structalias.c (merge_graph_nodes): Fix uninitialised
Laurent GUERBY <laurent@guerby.net>
PR tree-optimization/22336
- * function.c (record_block_change): Check for
+ * function.c (record_block_change): Check for
cfun->ib_boundaries_block.
-
+
2005-07-21 James A. Morrison <phython@gcc.gnu.org>
* fold-const.c (fold_unary): Don't strip signed nops from ABS_EXPRs.
and complex_ssa_name_components here.
2005-07-20 Daniel Berlin <dberlin@dberlin.org>
-
+
* alias.c (nonoverlapping_component_refs_p): Use TYPE_MAIN_VARIANT,
revert to returning false.
PR middle-end/21180
* fold-const.c (fold_build1): Add checksum for the operands.
- (fold_build2): Likewise.
+ (fold_build2): Likewise.
(fold_build3): Likewise.
2005-07-21 Andrew Pinski <pinskia@physics.uc.edu>
2005-07-19 Devang Patel <dpatel@apple.com>
* dbxout.c (dbxout_type): Check Objective-C++ lang.
-
+
2005-07-19 Richard Henderson <rth@redhat.com>
PR tree-opt/22278
* c.opt (Wpragmas): New.
* doc/invoke.texi: Document it.
-
+
* function.c (do_warn_unused_parameter): Add warning control to
warning call.
* c-decl.c (warn_if_shadowing): Likewise.
(handle_pragma_extern_prefix): Likewise.
(maybe_apply_renaming_pragma): Likewise.
(handle_pragma_visibility): Likewise.
-
+
* config/c4x/c4x-c.c (BAD): Likewise.
(c4x_parse_pragma): Likewise.
* config/ia64/ia64-c.c (ia64_hpux_handle_builtin_pragma): Likewise.
* tree-promote-statics.c: Removed.
* common.opt: Removed flag-promote-statics.
* opts.c: Ditto.
- * passes.c: Removed tree-promote-statics pass.
+ * passes.c: Removed tree-promote-statics pass.
* tree-pass.h: Ditto.
* timevar.def: Removed TV_PROMOTE_STATICS.
* config.gcc: Add support for *-*-freebsd7, *-*-freebsd8,
and *-*-freebsd9.
* config/freebsd-spec.h (FBSD_TARGET_OS_CPP_BUILTINS): Ditto.
-
+
2005-07-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
PR c/22476
2005-07-18 Daniel Berlin <dberlin@dberlin.org>
Fix PR tree-optimization/22483
-
+
* tree-complex.c (create_components): Use
safe_referenced_var_iterator and FOR_EACH_REFERENCED_VAR_SAFE.
* tree-flow-inline.h (fill_referenced_var_vec): New function.
in 64-bit mode the same as DImode in 32-bit mode.
(ix86_expand_ashl_const, ix86_split_ashl, ix86_split_ashr,
ix86_split_lshr): Likewise. Rename to no longer refer to a specific
- mode. Add new mode parameter.
+ mode. Add new mode parameter.
* config/i386/i386.h (CONST_OK_FOR_LETTER_P): Describe and handle 'O'.
* config/i386/i386.md (cmpti, addti3, subti3, negti2, ashlti3, ashrti3,
x86_64_shift_adj): New expanders.
* tree-ssa-pre.c (is_copy_stmt): New function.
(follow_copies_till_vuse): Ditto.
(do_eustores): Ditto.
- (gate_eustores): Ditto.
-
+ (gate_eustores): Ditto.
+
2005-07-16 Richard Henderson <rth@redhat.com>
* gcc.c (MFWRAP_SPEC): Don't wrap pthread_join or pthread_exit.
ipa-reference.h, ipa-utils.c, ipa-utils.h, ipa-type-escape.c,
ipa-type-escape.h, tree-promote-statics.c
* ipa-pure-const.c, ipa-reference.c, ipa-reference.h, ipa-utils.c,
- ipa-utils.h, ipa-type-escape.c, ipa-type-escape.h,
+ ipa-utils.h, ipa-type-escape.c, ipa-type-escape.h,
tree-promote-statics.c: new files.
* alias.c: (nonlocal_mentioned_p_1, nonlocal_mentioned_p,
nonlocal_referenced_p_1, nonlocal_referenced_p, nonlocal_set_p_1,
int nonlocal_set_p, mark_constant_function): Deleted.
- (rest_of_handle_cfg): Removed call to mark_constant_function.
+ (rest_of_handle_cfg): Removed call to mark_constant_function.
(nonoverlapping_component_refs_p): Added calls to support
- type based aliasing.
+ type based aliasing.
* tree-ssa-alias.c (may_alias_p,
compute_flow_insensitive_aliasing): Ditto.
* calls.c (flags_from_decl_or_type): Removed reference to
- cgraph_rtl_info.
+ cgraph_rtl_info.
* c-typeck.c (convert_arguments): Make builtins tolerant of having
too many arguments. This is necessary for Spec 2000.
* cgraph.h (const_function, pure_function): Removed.
- * common.opt: Added "fipa-pure-const", "fipa-reference",
+ * common.opt: Added "fipa-pure-const", "fipa-reference",
"fipa-type-escape", and "ftree-promote-static".
* opts.c: Ditto.
- * passes.c: Added ipa and tree-promote-statics passes.
+ * passes.c: Added ipa and tree-promote-statics passes.
* timevar.def: Added TV_IPA_PURE_CONST, TV_IPA_REFERENCE,
TV_IPA_TYPE_ESCAPE, and TV_PROMOTE_STATICS.
* tree-dfa.c (referenced_var_lookup_if_exists): New function.
- * tree-flow.h: Added exposed sra calls and addition of
+ * tree-flow.h: Added exposed sra calls and addition of
reference_vars_info field for FUNCTION_DECLS.
* tree-pass.h: Added passes.
* tree-sra.c: (sra_init_cache): New function.
special var here.
(need_to_solve): New function.
(compute_points_to_sets): Use it.
-
+
2005-07-15 Jan Hubicka <jh@suse.cz>
* cfg.c (update_bb_profile_for_threading): More diagnostic.
if *rhs_p is not a SSA_NAME.
2005-07-12 Daniel Berlin <dberlin@dberlin.org>
-
- Fix PR tree-optimization/22422
+
+ Fix PR tree-optimization/22422
* tree-ssa-structalias.c (struct variable_info): Add flag for
special vars.
(get_varinfo): Now a static function.
(do_sd_constraint): Ditto.
(do_structure_copy): Check for special variable.
(find_func_aliases): Ditto.
- (init_base_vars): Set special vars properly.
+ (init_base_vars): Set special vars properly.
2005-07-13 Jan Hubicka <jh@suse.cz>
(GIMPLE Exception Handling): Clarify TRY_CATCH_EXPR cases.
2005-07-11 Daniel Berlin <dberlin@dberlin.org>
-
+
* print-tree.c (print_node): Use DECL_ARGUMENT_FLD.
* tree.h (DECL_ARGUMENT_FLD): New macro.
2005-07-11 Daniel Berlin <dberlin@dberlin.org>
-
+
Fix PR tree-optimization/22404
* tree-ssa-structalias.c (create_variable_info_for): Use
* tree-ssa-structalias.c (update_alias_info): Change counting of
references to not include vdefs.
-
+
2005-07-10 Daniel Berlin <dberlin@dberlin.org>
* tree-ssa-alias.c (free_used_part_map): Add missing free.
visibility on regular DECL's.
(merge_decls): Fix the copying of decl nodes of various types for
the new structures. Don't update RTL, section name, weak status,
- etc, on DECL's without RTL.
+ etc, on DECL's without RTL.
(grokdeclarator): DECL_ARG_TYPE_AS_WRITTEN is gone.
Don't check volatile on non-variable types.
(store_parm_decls_oldstyle): Use pointer_set instead of DECL_WEAK
to check whether we have seen arguments.
* c-objc-common.c (c_tree_printer): Reverse order of tests so that
- flag is checked before field (flag is common, field is not).
+ flag is checked before field (flag is common, field is not).
* dwarf2out.c (decl_ultimate_origin): Only DECL's with
TS_DECL_COMMON could have an origin.
(add_location_or_const_value_attribute): Don't check section name
(struct tree_result_decl): Ditto.
(union tree_node): Add new structures.
* var-tracking.c (track_expr_p): Reverse order of tests.
-
+
* doc/c-tree.texi: Add documentation on DECL node internal structure.
2005-07-08 Kazu Hirata <kazu@codesourcery.com>
* config/s390/s390-protos.h (s390_expand_clrmem): Delete.
(s390_expand_setmem): New.
- * config/s390/s390.c: Likewise.
+ * config/s390/s390.c: Likewise.
(print_shift_count_operand): Truncate to 12 bits instead of 6.
Adapt comments.
* config/s390/s390.md: ("setmem<mode>"): Accept character as
("setmem_long", "*setmem_long"): ... this.
2005-07-07 Adrian Straetling <straetling@de.ibm.com>
-
+
* config/s390/s390.c: (optimization_options): Enable
TARGET_MVCLE at -Os.
* doc/invoke.texi: Document changes in default behaviour.
2005-07-06 Fariborz Jahanian <fjahanian@apple.com>
* doc/invoke.texi: Update -fforce-mem documentation.
- * dojump.c (compare_from_rtx,do_compare_rtx_and_jump): Remove
+ * dojump.c (compare_from_rtx,do_compare_rtx_and_jump): Remove
code for -fforce-mem.
* expmed.c: (store_bit_field,store_fixed_bit_field,
extract_bit_field): Ditto.
variable sized types.
Use correct type for intermediate structure on *a = *b structure
copies.
-
+
2005-07-06 Jakub Jelinek <jakub@redhat.com>
* config/rs6000/rs6000.h (RS6000_VARARGS_AREA, RS6000_VARARGS_SIZE):
(vect_print_dump_info): Use vect_loop_location.
(new_loop_vec_info): Do not set LOOP_VINFO_LOC.
(vectorize_loops): Set vect_loop_location.
- * tree-vect-analyze.c (vect_analyze_offset_expr,
+ * tree-vect-analyze.c (vect_analyze_offset_expr,
vect_determin_vectorization_factor, vect_analyze_operations,
vect_analyze_scalar_cycles, vect_analyze_data_ref_dependence,
vect_analyze_data_ref_dependences, vect_compute_data_ref_alignment,
vect_analyze_loop): Adjust vect_print_dump_info API.
* tree-vect-transform.c (vect_create_addr_base_for_vector_ref,
vect_create_data_ref_ptr, vect_init_vector, vect_get_vec_def_for_operand,
- vect_finish_stmt_generation, vectorizable_assignment,
- vectorizable_operation, vectorizable_store, vectorizable_load,
+ vect_finish_stmt_generation, vectorizable_assignment,
+ vectorizable_operation, vectorizable_store, vectorizable_load,
vectorizable_live_operation, vectorizable_condition, vect_transform_stmt,
vect_update_ivs_after_vectorizer, vect_do_peeling_for_loop_bound,
vect_gen_ninters_for_prolog_loop, vect_do_peeling_for_alignment,
(pa_tls_symbol_ref_1, pa_tls_referenced_p): New.
(TARGET_CANNOT_FORCE_CONST_MEM): Define.
(emit_move_sequence): Handle TLS addresses.
- (pa_encode_section_info): Call default handler to handle common
+ (pa_encode_section_info): Call default handler to handle common
sections.
* config/pa/pa.h (PA_SYMBOL_REF_TLS_P): New.
(CONSTANT_ADDRESS_P): Reject TLS operands.
(TARGET_HAVE_TLS) [HAVE_AS_TLS]: Define.
* config/pa/pa.md (UNSPEC_TP, UNSPEC_TLSGD, UNSPEC_TLSLDM)
(UNSPEC_TLSLDO, UNSPEC_TLSLDBASE, UNSPEC_TLSIE)
- (UNSPEC_TLSLE): Define new constants.
+ (UNSPEC_TLSLE): Define new constants.
(tgd_load, tld_load, tld_offset_load, tp_load, tie_load, tle_load): New.
* config/pa/predicates.md (symbolic_operand): Reject TLS operands.
(tls_symbolic_operand, tgd_symbolic_operand, tld_symbolic_operand)
pass_postreload_cse): New.
* profile.c (gate_handle_profiling, pass_profiling,
rest_of_handle_branch_prob, pass_branch_prob): New.
- * recog.c (pass pass_split_for_shorten_branches, gate_do_final_split,
+ * recog.c (pass pass_split_for_shorten_branches, gate_do_final_split,
pass_split_before_regstack, gate_handle_split_before_regstack,
gate_handle_peephole2, rest_of_handle_peephole2, pass_peephole2,
rest_of_handle_split_all_insns, pass_split_all_insns): New.
dump_enabled_p, dump_initialized_p, dump_begin, dump_end, dump_node,
dump_switch_p, dump_flag_name): Moved to tree-pass.h.
(dump_info_p, dump_flag): Moved to tree-dump.h.
-
+
* Makefile.in: Adjust dependencies for tree-pretty-print.c,
cgraph.c, opts.c.
* passes.c (finish_optimization_passes): Use dump_begin
pass_init_datastructures, pass_fixup_cfg): Make non-static.
* tree-pretty-print.c: Include tree-pass.h.
* cgraph.c: Include tree-dump.h.
-
+
2005-07-04 Daniel Berlin <dberlin@dberlin.org>
* tree-ssa-structalias.c (get_constraint_exp_from_ssa_var):
2005-07-04 Daniel Berlin <dberlin@dberlin.org>
Fix PR tree-optimization/22279
-
+
* tree-ssa-structalias.c (offset_overlaps_with_access): Use
correct operator.
-
+
2005-07-04 J"orn Rennecke <joern.rennecke@st.com>
* sh.c (output_ieee_ccmpeq): Replace "\\;" with "\n\t".
<GOTO_EXPR>, <SWITCH_EXPR>: Add.
(dump_enabled_p): Return TRUE if PHASE is TDI_all and any dump
is enabled.
-
+
2005-07-03 Joseph S. Myers <joseph@codesourcery.com>
* c-common.h (GCC_DIAG_STYLE): Define.