- 12 Jun, 2007 11 commits
-
-
* tree-nested.c (convert_local_reference): Handle VIEW_CONVERT_EXPR. Request walking the subtrees only, leaving the current is_lhs/val_only untouched. (convert_non_local_reference): Likewise. testsuite/ * gnat.dg/lhs_view_convert.adb: New test. From-SVN: r125646
Olivier Hainque committed -
From-SVN: r125645
Nathan Sidwell committed -
2007-06-12 Richard Guenther <rguenther@suse.de> PR tree-optimization/15353 PR tree-optimization/31657 * passes.c (init_optimization_passes): Add pass_tree_ifcombine. * timevar.def: Add TV_TREE_IFCOMBINE. * tree-pass.h (pass_tree_ifcombine): Declare. * tree-ssa-ifcombine.c: New file. * tree-ssa-phiopt.c (blocks_in_phiopt_order): Export. * tree-flow.h (blocks_in_phiopt_order): Declare. * Makefile.in (OBJS-common): Add tree-ssa-ifcombine.o. (tree-ssa-ifcombine.o): New dependencies. * gcc.c-torture/execute/20070424-1.c: New testcase. * gcc.dg/tree-ssa/ssa-ifcombine-1.c: Likewise. * gcc.dg/tree-ssa/ssa-ifcombine-2.c: Likewise. * gcc.dg/tree-ssa/ssa-ifcombine-3.c: Likewise. * gcc.dg/tree-ssa/ssa-ifcombine-4.c: Likewise. * gcc.dg/tree-ssa/ssa-ifcombine-5.c: Likewise. From-SVN: r125644
Richard Guenther committed -
PR rtl-optimization/32293 * combine.c (simplify_if_then_else): Truncate return from nonzero_bits() to correct mode. testsuite/ChangeLog: PR rtl-optimization/32293 * gcc.dg/pr32293.c: New test. From-SVN: r125643
Uros Bizjak committed -
fold-const (fold_binary): Also optimize a/cbrt(b/c) into a*cbrt(c/b) if flag_unsafe_math_optimizations is set. * fold-const (fold_binary) [RDIV_EXPR]: Also optimize a/cbrt(b/c) into a*cbrt(c/b) if flag_unsafe_math_optimizations is set. testuite/ChangeLog: * gcc.dg/builtins-11.c: Also check folding of a/cbrt(b/c). From-SVN: r125641
Uros Bizjak committed -
2007-06-12 Paul Thomas <pault@gcc.gnu.org> * trans-common.c (create_common): Initialize 'field_init'. From-SVN: r125640
Paul Thomas committed -
From-SVN: r125638
Eric Botcazou committed -
* Makefile.in (reload1.o-warn): Remove. From-SVN: r125636
Diego Novillo committed -
2007-06-11 Seongbae Park <seongbae.park@gmail.com> * combine.c (subst): Fix typo. From-SVN: r125635
Seongbae Park committed -
2007-06-11 Seongbae Park <seongbae.park@gmail.com> * combine.c (subst): Use reg_overlap_mentioned_p instead of comparing register numbers directly. From-SVN: r125634
Seongbae Park committed -
From-SVN: r125631
GCC Administrator committed
-
- 11 Jun, 2007 19 commits
-
-
2007-06-12 Paul Thomas <pault@gcc.gnu.org> PR fortran/29786 PR fortran/30875 * trans-common.c (get_init_field): New function. (create_common): Call get_init_field for overlapping initializers in equivalence blocks. * resolve.c (resolve_equivalence_derived, resolve_equivalence): Remove constraints on initializers in equivalence blocks. * target-memory.c (expr_to_char, gfc_merge_initializers): New functions. (encode_derived): Add the bit offset to the byte offset to get the total offset to the field. * target-memory.h : Add prototype for gfc_merge_initializers. 2007-06-12 Paul Thomas <pault@gcc.gnu.org> PR fortran/29786 * gfortran.dg/equiv_7.f90: New test. * gfortran.dg/equiv_constraint_7.f90: Change error message. PR fortran/30875 * gfortran.dg/equiv_constraint_5.f90: Correct code and error. From-SVN: r125628
Paul Thomas committed -
2007-06-11 Kenneth Zadeck <zadeck@naturalbridge.com> * reload1.c (mark_home_live_1): Use the mode parameter. From-SVN: r125627
Kenneth Zadeck committed -
2007-06-11 Andreas Tobler <a.tobler@schweiz.org> * gcc.dg/setjmp-3.c: Rename raise to raise0. * gcc.dg/setjmp-4.c: Likewise. * gcc.target/i386/980211-1.c: Rename __signbitl to __signbitl0. From-SVN: r125626
Andreas Tobler committed -
2007-06-11 Kenneth Zadeck <zadeck@naturalbridge.com> * df-scan.c (df_insn_delete, df_insn_rescan, df_insn_rescan_all, df_process_deferred_rescans, df_notes_rescan): Fixed spelling of word "deferred". * df-core.c: Ditto. From-SVN: r125625
Kenneth Zadeck committed -
From-SVN: r125624
Daniel Berlin committed -
* config/i386/i386.md ("*movtf_internal): Penalize moves to and from integer registers. (FP mode splitters): Handle TFmode. From-SVN: r125623
Uros Bizjak committed -
From-SVN: r125622
Arnaud Charlet committed -
From-SVN: r125621
Rafael Espindola committed -
tree-ssa-structalias.c (find_what_p_points_to): Return false for ref-all pointers that point-to anything. * tree-ssa-structalias.c (find_what_p_points_to): Return false for ref-all pointers that point-to anything. From-SVN: r125620
Eric Botcazou committed -
* config/arm/arm.c (arm_output_dwarf_dtprel, TARGET_ASM_OUTPUT_DWARF_DTPREL): New. From-SVN: r125619
Joseph Myers committed -
2007-06-11 Paolo Bonzini <bonzini@gnu.org> * MAINTAINERS (Various Maintainer): Add myself as dataflow maintainer. From-SVN: r125618
Paolo Bonzini committed -
* config/bfin/bfin.md (movdi_insn, movsi_insn, movv2hi_insn, movhi_insn, movqi_insn, movsf_insn, movdf_insn): Don't allow constant to memory moves. From-SVN: r125617
Bernd Schmidt committed -
From-SVN: r125616
Rafael Espindola committed -
PR target/32280 * config/i386/sse.md ("sse2_ashlti", "sse2_lshrti3"): Move ... * config/i386/i386.md ("sse2_ashlti", "sse2_lshrti3"): ... to here. testsuite/ChangeLog: PR target/32280 * gcc.target/i386/pr32280.c: New test. From-SVN: r125615
Uros Bizjak committed -
PR middle-end/32279 * fold-const (fold_binary) [RDIV_EXPR]: Optimize a/sqrt(b/c) into a*sqrt(c/b) if flag_unsafe_math_optimizations is set. testsuite/ChangeLog: PR middle-end/32279 * gcc.dg/builtins-11.c: Also check folding of a/sqrt(b/c). From-SVN: r125614
Uros Bizjak committed -
From-SVN: r125613
Bob Duff committed -
g-stsifd-sockets.adb (Create): Work around strange behavior of 'bind' on windows that causes 'connect' to fail... 2007-06-11 Bob Duff <duff@adacore.com> Thomas Quinot <quinot@adacore.com> * g-stsifd-sockets.adb (Create): Work around strange behavior of 'bind' on windows that causes 'connect' to fail intermittently, by retrying the 'bind'. (GNAT.Sockets.Thin.Signalling_Fds): New procedure Close. From-SVN: r125612
Bob Duff committed -
2007-06-10 Jerry DeLisle <jvdelisle@gcc.gnu.org> PR libgfortran/32235 * gfortran.dg/backspace_9.f: New test. From-SVN: r125611
Jerry DeLisle committed -
From-SVN: r125609
GCC Administrator committed
-
- 10 Jun, 2007 8 commits
-
-
2007-06-10 Jerry DeLisle <jvdelisle@gcc.gnu.org> PR libgfortran/32235 * io/transfer.c (st_read): Remove test for end of file condition. (next_record_r): Add test for end of file condition. From-SVN: r125606
Jerry DeLisle committed -
* lambda-code.c (remove_iv): New. (lambda_loopnest_to_gcc_loopnest): Use remove_iv. Co-Authored-By: Sebastian Pop <sebpop@gmail.com> From-SVN: r125605
Jan Sjodin committed -
* tree-data-ref.c (dr_analyze_alias): Handle case smt is NULL. * tree-predcom.c (mark_virtual_ops_for_renaming): Exported. * tree-ssa-loop-prefetch.c: Include optabs.h. (FENCE_FOLLOWING_MOVNT): New macro. (struct mem_ref): Add independent_p and storent_p fields. (record_ref): Initalize the new fields. (gather_memory_references_ref): Return true if the reference could be analysed. (gather_memory_references): Check whether all memory accesses in loop were recorded. (should_issue_prefetch_p): Return false for nontemporal stores. (nontemporal_store_p, mark_nontemporal_store, emit_mfence_after_loop, may_use_storent_in_loop_p, mark_nontemporal_stores): New functions. (determine_loop_nest_reuse): Detect independent memory references. (loop_prefetch_arrays): Call mark_nontemporal_stores. * tree-flow.h (mark_virtual_ops_for_renaming): Declare. * Makefile.in (tree-ssa-loop-prefetch.o): Add OPTABS_H dependency. * config/i386/i386.h (x86_mfence): Declare. (FENCE_FOLLOWING_MOVNT): Return x86_mfence. * config/i386/i386.c (x86_mfence): New variable. (ix86_init_mmx_sse_builtins): Initialize x86_mfence. * tree-pretty-print.c (dump_generic_node): Mark nontemporal stores. * optabs.c (init_optabs): Initialize storent_optab. * optabs.h (enum optab_index): Add OTI_storent. (storent_optab): Declare. * genopinit.c (optabs): Add initialization for storent_optab. * tree.h (MOVE_NONTEMPORAL): New macro. * expr.c (expand_assignment, store_expr, store_constructor_field, store_constructor, store_field, expand_expr_real_1): Propagate nontemporality of the expanded store. (emit_storent_insn): New function. * expr.h (expand_assignment, store_expr): Declaration changed. * function.c (assign_parm_setup_reg): Pass false as nontemporality to expand_assignment. * stmt.c (expand_asm_expr): Ditto. * calls.c (initialize_argument_information): Pass false as nontemporality to store_expr. * config/i386/sse.md (storentv4sf, storentv2df, storentv2di, storentsi): New. * gcc.dg/tree-ssa/prefetch-7.c: New test. From-SVN: r125604
Zdenek Dvorak committed -
2007-06-09 Daniel Berlin <dberlin@dberlin.org> * tree-ssa-structalias.c (set_uids_in_ptset): Add is_deref'd parameter, use it. (find_what_p_points_to): Pass new parameter to set_uids_in_ptset. From-SVN: r125603
Daniel Berlin committed -
* decl.c (gnat_to_gnu_entity): Use pointers to dummy nodes, rather than to void, for the fields when making a new fat pointer type. (gnat_substitute_in_type): Now substitute_in_type. * gigi.h (gnat_substitute_in_type): Likewise. * trans.c (gnat_gimplify_expr): Remove COMPONENT_REF kludge. * utils.c (update_pointer_to): Update fat pointers by updating the dummy node pointers used for the fields. From-SVN: r125602
Duncan Sands committed -
2007-06-09 Daniel Berlin <dberlin@dberlin.org> * tree-data-ref.c (dr_may_alias_p): Check that decl_a != decl_b, and allow DECL_P here. From-SVN: r125601
Daniel Berlin committed -
2007-06-10 Benjamin Kosnik <bkoz@redhat.com> * testsuite/util/testsuite_performance.h: Add cstring include for memset. From-SVN: r125600
Benjamin Kosnik committed -
From-SVN: r125598
GCC Administrator committed
-
- 09 Jun, 2007 2 commits
-
-
tree-scalar-evolution.c (follow_ssa_edge_in_rhs, [...]): Keep more precise track of the size of the expression. * tree-scalar-evolution.c (follow_ssa_edge_in_rhs, follow_ssa_edge_in_condition_phi, follow_ssa_edge): Keep more precise track of the size of the expression. * cfghooks.c (merge_blocks): Remove block from loops structure only after call of the merge_blocks hook. * gcc.dg/tree-ssa/loop-28.c: New testcase. From-SVN: r125595
Zdenek Dvorak committed -
* testsuite/libjava.jvmti/dummyagent.c (Agent_OnLoad): Add missing return value. From-SVN: r125594
Keith Seitz committed
-