- 27 Jun, 2009 10 commits
-
-
2009-06-27 Paolo Bonzini <bonzini@gnu.org> * df-problems.c (df_set_seen, df_unset_seen): Delete. (df_rd_local_compute, df_md_local_compute): Inline them. (df_md_scratch): New. (df_md_alloc, df_md_free): Allocate/free it. (df_md_local_compute): Only include live registers in init. (df_md_transfer_function): Prune the in-set computed by the confluence function, and the gen-set too. From-SVN: r149011
Paolo Bonzini committed -
2009-06-07 Paolo Bonzini <bonzini@gnu.org> PR rtl-optimization/26854 * timevar.def: Remove TV_DF_RU, add TV_DF_MD. * df-problems.c (df_rd_add_problem): Fix comment. (df_md_set_bb_info, df_md_free_bb_info, df_md_alloc, df_md_simulate_artificial_defs_at_top, df_md_simulate_one_insn, df_md_bb_local_compute_process_def, df_md_bb_local_compute, df_md_local_compute, df_md_reset, df_md_transfer_function, df_md_init, df_md_confluence_0, df_md_confluence_n, df_md_free, df_md_top_dump, df_md_bottom_dump, problem_MD, df_md_add_problem): New. * df.h (DF_MD, DF_MD_BB_INFO, struct df_md_bb_info, df_md, df_md_get_bb_info): New. DF_LAST_PROBLEM_PLUS1): Adjust. * Makefile.in (fwprop.o): Include domwalk.h. * fwprop.c: Include domwalk.h. (reg_defs, reg_defs_stack): New. (bitmap_only_bit_between): Remove. (process_defs): New. (process_uses): Use reg_defs and local_md instead of bitmap_only_bit_between and local_rd. (single_def_use_enter_block): New, from build_single_def_use_links. (single_def_use_leave_block): New. (build_single_def_use_links): Remove code moved to single_def_use_enter_block, invoke domwalk. (use_killed_between): Adjust comment. From-SVN: r149010
Paolo Bonzini committed -
2009-06-27 Paolo Bonzini <bonzini@gnu.org> * bitmap.h (bitmap_ior_and_into): New. * bitmap.c (bitmap_ior_and_into): New. From-SVN: r149009
Paolo Bonzini committed -
domwalk.h (struct dom_walk_data): Remove all callbacks except before_dom_children_before_stmts and... 2009-06-27 Paolo Bonzini <bonzini@gnu.org> * domwalk.h (struct dom_walk_data): Remove all callbacks except before_dom_children_before_stmts and after_dom_children_after_stmts. Rename the two remaining callbacks to just before_dom_children and after_dom_children. Remove other GIMPLE statement walking bits. * domwalk.c (walk_dominator_tree): Remove now unsupported features. * graphite.c: Do not include domwalk.h. * tree-into-ssa.c (interesting_blocks): New global. (struct mark_def_sites_global_data): Remove it and names_to_rename. (mark_def_sites, rewrite_stmt, rewrite_add_phi_arguments, rewrite_update_stmt, rewrite_update_phi_arguments): Simplify now that they're not domwalk callbacks. (rewrite_initialize_block): Rename to... (rewrite_enter_block): ... this, place after called functions. Test interesting_blocks, call rewrite_stmt and rewrite_add_phi_arguments. (rewrite_finalize_block): Rename to... (rewrite_leave_block): ... this, place after called functions. (rewrite_update_init_block): Rename to... (rewrite_update_enter_block): ... this, place after called functions. Test interesting_blocks, call rewrite_update_stmt and rewrite_update_phi_arguments. (rewrite_update_fini_block): Rename to... (rewrite_leave_block): ... this, place after called functions. (rewrite_blocks): Remove last argument, simplify initialization of walk_data. (mark_def_sites_initialize_block): Rename to... (mark_def_sites_block): ... this, call mark_def_sites. (mark_def_sites_blocks): Remove argument, simplify initialization of walk_data. (rewrite_into_ssa): Adjust for interesting_blocks_being a global. (update_ssa): Likewise. * tree-ssa-dom.c (optimize_stmt): Simplify now that it's not a domwalk callback. (tree_ssa_dominator_optimize): Simplify initialization of walk_data. (dom_opt_initialize_block): Rename to... (dom_opt_enter_block): ... this, place after called functions. Walk statements here, inline propagate_to_outgoing_edges. (dom_opt_finalize_block): Rename to... (dom_opt_leave_block): ... this, place after called functions. * tree-ssa-dse.c (dse_optimize_stmt): Simplify now that it's not a domwalk callback. (dse_enter_block, dse_record_phi): New. (dse_record_phis): Delete. (dse_finalize_block): Rename to... (dse_leave_block): ... this. (tree_ssa_dse): Simplify initialization of walk_data. * tree-ssa-loop-im.c (determine_invariantness, move_computations): Adjust initialization of walk_data. * tree-ssa-loop-unswitch.c: Do not include domwalk.h. * tree-ssa-loop-phiopt.c (get_non_trapping): Adjust initialization of walk_data. * tree-ssa-loop-threadedge.c: Do not include domwalk.h. * tree-ssa-uncprop.c (uncprop_into_successor_phis): Simplify now that it's not a domwalk callback. (uncprop_initialize_block): Rename to... (dse_enter_block): ... this, call uncprop_into_successor_phis. (dse_finalize_block): Rename to... (dse_leave_block): ... this. (tree_ssa_uncprop): Simplify initialization of walk_data. * Makefile.in: Adjust dependencies. From-SVN: r149008
Paolo Bonzini committed -
* init.c (__gnat_set_globals): Add prototype. * adaint.c (__gnat_binder_supports_auto_init): Likewise. (__gnat_sals_init_using_constructors): Likewise. * gcc-interface/utils.c (gnat_pushlevel): Likewise. (get_block_jmpbuf_decl): Likewise. (gnat_poplevel): Likewise. (merge_sizes): Rename local variable. (copy_type): Likewise. (build_vms_descriptor32): Likewise. (build_vms_descriptor): Likewise. (convert_vms_descriptor64): Likewise. (convert_vms_descriptor32): Likewise. (convert_to_fat_pointer): Likewise. (maybe_unconstrained_array): Likewise. (def_fn_type): Use promoted type with va_arg. * gcc-interface/decl.c (gnat_to_gnu_entity): Add declaration. (substitute_in_type): Rename local variable. * gcc-interface/Make-lang.in (ada-warn): Use STRICT_WARN. From-SVN: r149007
Eric Botcazou committed -
2009-06-27 Paolo Bonzini <bonzini@gnu.org> PR testsuite/40567 * gcc.dg/vect/vect.exp: Fix lappend syntax. From-SVN: r149006
Paolo Bonzini committed -
* arm.md (casesi): Fix test for Thumb1. (thumb1_casesi_internal_pic): Likewise. (thumb1_casesi_dispatch): Likewise. From-SVN: r149005
Richard Earnshaw committed -
From-SVN: r149004
Eric Botcazou committed -
PR testsuite/40565 * gcc.dg/vect/vect.exp: Add -fno-ipa-cp-clone to -O3 tests. * gcc.target/i386/local.c: Pass a non-constant to T. From-SVN: r149002
Richard Henderson committed -
From-SVN: r148999
GCC Administrator committed
-
- 26 Jun, 2009 24 commits
-
-
2009-06-26 Janus Weil <janus@gcc.gnu.org> PR fortran/39997 PR fortran/40541 * decl.c (add_hidden_procptr_result): Copy the typespec to the hidden result. * expr.c (gfc_check_pointer_assign): Enable interface check for procedure pointer assignments where the rhs is a function returning a procedure pointer. * resolve.c (resolve_symbol): If an external procedure with unspecified return type can not be implicitly typed, it must be a subroutine. 2009-06-26 Janus Weil <janus@gcc.gnu.org> PR fortran/39997 PR fortran/40541 * gfortran.dg/proc_ptr_15.f90: Fixed and extended. * gfortran.dg/proc_ptr_common_1.f90: Fixed invalid test case. * gfortran.dg/proc_ptr_result_1.f90: Ditto. * gfortran.dg/proc_ptr_result_5.f90: New. From-SVN: r148996
Janus Weil committed -
2009-06-26 Daniel Gutson <dgutson@codesourcery.com> * config/arm/arm-cores.def: Added core cortex-m0. * config/arm/arm-tune.md: Regenerated. * doc/invoke.texi: Added entry for cpu ARM Cortex-M0. From-SVN: r148987
Daniel Gutson committed -
* config/mep/mep.opt (mfar): Remove -mfar as it doesn't do anything. * config/mep/mep.c (mep_bundle_insns): Account for the fact that the scheduler doesn't tag jump insns. From-SVN: r148986
DJ Delorie committed -
2009-06-26 H.J. Lu <hongjiu.lu@intel.com> * c-decl.c (merge_decls): Re-indent. From-SVN: r148984
H.J. Lu committed -
2009-06-26 H.J. Lu <hongjiu.lu@intel.com> * decl.c (duplicate_decls): Re-indent. From-SVN: r148983
H.J. Lu committed -
PR c/39902 * tree.c (real_zerop, real_onep, real_twop, real_minus_onep): Special-case decimal float constants. * gcc.dg/dfp/pr39902.c: New test. From-SVN: r148982
Janis Johnson committed -
* function.h (struct function): Add cannot_be_copied_reason, and cannot_be_copied_set. * tree-inline.c (has_label_address_in_static_1): Rename from inline_forbidden_p_2; don't set inline_forbidden_reason here. (cannot_copy_type_1): Rename from inline_forbidden_p_op; likewise don't set inline_forbidden_reason. (copy_forbidden): New function, split out of inline_forbidden_p. (inline_forbidden_p_stmt): Don't check for nonlocal labels here. (inline_forbidden_p): Use copy_forbidden. (tree_versionable_function_p): Likewise. (inlinable_function_p): Merge into tree_inlinable_function_p. (tree_function_versioning): Remap cfun->nonlocal_goto_save_area. * ipa-cp.c (ipcp_versionable_function_p): New function. (ipcp_cloning_candidate_p): Use it. (ipcp_node_modifiable_p): Likewise. From-SVN: r148981
Richard Henderson committed -
* builtins.c (expand_builtin_alloca): Handle builtin alloca that is marked not to be inlined. Remove flag_mudflap use. * tree-mudflap.c: Rename mf_xform_derefs to mf_xfrom_statements. (mf_xform_statements): Mark builtin alloca calls as un-inlineable. From-SVN: r148980
Olatunji Ruwase committed -
2009-06-26 Steve Ellcey <sje@cup.hp.com> PR bootstrap/40338 * config/pa/t-pa-hpux10 (TARGET_LIBGCC2_CFLAGS): Add -frandom-seed. * config/pa/t-pa-hpux11 (TARGET_LIBGCC2_CFLAGS): Ditto. From-SVN: r148979
Steve Ellcey committed -
2009-06-26 Steve Ellcey <sje@cup.hp.com> PR bootstrap/40338 * configure.ac (comparestring): Create new variable. * Makefile.tpl (comparestring): Use to skip some comparisions. * configure: Regenerate. * Makefile.in: Regenerate. From-SVN: r148978
Steve Ellcey committed -
* Makefile.def (host_modules): Add cgen. * Makefile.in: Regenerate. * configure.ac (host_tools): Add cgen. * configure: Regenerate. From-SVN: r148977
Doug Evans committed -
* Makefile.def (host_modules): Add cgen. * Makefile.in: Regenerate. * configure.ac (host_tools): Add cgen. * configure: Regenerate. From-SVN: r148976
Doug Evans committed -
2009-06-26 Laurent GUERBY <laurent@guerby.net> * tb-gcc.c (trace_callback): Use char* instead of void*. * gcc-interface/misc.c (enumerate_modes): Make loop compatible with C++. * gcc-interface/trans.c (parm_attr): Rename to parm_attr_d. Change all uses. * gcc-interface/utils.c (new, class, template): Rename to be compatible with C++. Change all uses. * gcc-interface/decl.c (new): Likewise. From-SVN: r148975
Laurent GUERBY committed -
2009-06-26 Kai Tietz <kai.tietz@onevision.com> * config/i386/mingw-tls.c (__mingwthr_key_dtor): Remove for none shared libgcc. (__mingwthr_remove_key_dtor): Likewise. From-SVN: r148971
Kai Tietz committed -
2009-06-26 Richard Guenther <rguenther@suse.de> * tree-ssa-structalias.c (do_ds_constraint): Simplify escape handling. From-SVN: r148968
Richard Guenther committed -
PR testsuite/40532 * gcc.dg/builtins-65.c: Require c99 runtime. From-SVN: r148967
Uros Bizjak committed -
* gcc-interface/decl.c (cannot_be_superflat_p): New predicate. (gnat_to_gnu_entity) <E_Array_Subtype>: Use it to build the expression of the upper bound of the index types. From-SVN: r148966
Eric Botcazou committed -
From-SVN: r148965
Eric Botcazou committed -
* gcc-interface/decl.c (gnat_to_gnu_entity) <E_Array_Subtype>: Factor out common predicate. Use the maximum to compute the upper bound of the index type only when it is not wider than sizetype. Perform the comparison in the index type for the generic expression. Use real precision to decide whether to generate special types for debugging information. From-SVN: r148964
Eric Botcazou committed -
2009-06-26 Matthew Gingell <gingell@adacore.com> * adaint.c: Do not use the dummy version of convert_addresses on LynxOS 2009-06-26 Vincent Celier <celier@adacore.com> * prj.ads (No_Language_Config): Value of Dependency_Kind is None by default. 2009-06-26 Robert Dewar <dewar@adacore.com> * exp_ch4.adb, gnatcmd.adb, make.adb: Minor reformatting From-SVN: r148963
Arnaud Charlet committed -
* gcc-interface/decl.c (gnat_to_gnu_entity) <E_Array_Type>: Pass correct arguments to create_field_decl. Remove redundant iteration. Rewrite computation of the maximum size. <E_Array_Subtype>: Reorder and simplify handling of special cases. Rewrite computation of the maximum size. Use consistent naming. * gcc-interface/trans.c (Attribute_to_gnu) <Attr_Length>: Swap comparison order for consistency. Use generic integer node to build the operator and fold the result. From-SVN: r148962
Eric Botcazou committed -
re PR middle-end/40525 (if conversion (in dead_or_predicable) fails for targets with limited conditional execution support) PR middle-end/40525 * ifcvt.c (dead_or_predicable): If predicating MERGE_BB fails, try the non-cond_exec path also. From-SVN: r148961
Steven Bosscher committed -
PR target/40468 * pa.c (branch_to_delay_slot_p, branch_needs_nop_p): New functions. (output_cbranch): Use new functions. (output_lbranch, output_bb, output_bvb, output_dbra, output_movb): Likewise. From-SVN: r148959
John David Anglin committed -
From-SVN: r148958
GCC Administrator committed
-
- 25 Jun, 2009 6 commits
-
-
Co-Authored-By: Pat Haugen <pthaugen@us.ibm.com> Co-Authored-By: Revital Eres <eres@il.ibm.com> From-SVN: r148955
Michael Meissner committed -
From-SVN: r148953
Eric Botcazou committed -
cp/: * call.c (avoid_sign_compare_warnings): New static function. (build_new_op): Call it. * typeck.c (cp_build_binary_op): Don't call warn_sign_compare if TREE_NO_WARNING is set on either operand. testsuite/: * g++.dg/warn/Wsign-compare-3.C: New testcase. From-SVN: r148952
Ian Lance Taylor committed -
cp/: * g++spec.c (SKIPOPT): define. (lang_specific_driver): Handle -static-libstdc++. Only add LIBSTDCXX_STATIC if we add LIBSTDCXX. ./: * doc/invoke.texi (Option Summary): Mention -static-libstdc++. (Link Options): Document -static-libstdc++. From-SVN: r148951
Ian Lance Taylor committed -
cvt.c (convert_to_void): Only warn about COND_EXPR if neither the second nor third operand has side effects. cp/: * cvt.c (convert_to_void): Only warn about COND_EXPR if neither the second nor third operand has side effects. testsuite/: * g++.dg/warn/Wunused-16.C: New testcase. From-SVN: r148950
Ian Lance Taylor committed -
parser.c (cp_parser_binary_expression): Increment c_inhibit_evaluation_warnings while parsing the right hand side of... cp/: * parser.c (cp_parser_binary_expression): Increment c_inhibit_evaluation_warnings while parsing the right hand side of "true || x" or "false && x". * typeck.c (cp_build_binary_op): Only call warn_for_sign_compare if c_inhibit_evaluation_warnings is zero. testsuite/: * g++.dg/warn/skip-2.C: New testcase. From-SVN: r148949
Ian Lance Taylor committed
-