- 12 Jun, 2007 1 commit
-
-
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 7 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 -
* c-decl.c (grokdeclarator): Added 'deprecated_state' argument. (deprecated_state): Removed. (start_decl): Update. (enum deprecated_states): Moved earlier. (groktypename): Update. (push_parm_decl): Likewise. (grokfield): Likewise. (start_function): Likewise. From-SVN: r125593
Tom Tromey committed -
./: PR tree-optimization/32169 * tree-vrp.c (extract_range_from_unary_expr): For NOP_EXPR and CONVERT_EXPR, check whether min and max both converted to an overflow infinity representation. testsuite/: PR tree-optimization/32169 * gcc.c-torture/compile/pr32169.c: New test. From-SVN: r125591
Ian Lance Taylor committed -
* cppfiles.c (open_file): Account for the fact that on windows, opening a directory gives EACCES. From-SVN: r125590
Vladimir Prus committed -
2007-06-08 Paolo Carlini <pcarlini@suse.de> * docs/html/install.html: Adjust consistently with libstdc++/31717. From-SVN: r125587
Paolo Carlini committed -
From-SVN: r125585
GCC Administrator committed
-
- 08 Jun, 2007 5 commits
-
-
* reload1.c (fixup_abnormal_edges): Clear bb field for insns not inserted on the edge. From-SVN: r125582
Eric Botcazou committed -
From-SVN: r125578
Uros Bizjak committed -
* config/xtensa/lib1funcs.asm (__udivsi3): Use hardware divide instructions if they are supported. (__divsi3, __umodsi3, __modsi3): Likewise. (__ashldi3, __ashrdi3, __lshrdi3): New. * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add DImode shift functions. From-SVN: r125577
Bob Wilson committed -
gcc/ChangeLog: 2007-06-08 Harsha Jagasia <harsha.jagasia@amd.com> Tony Linthicum <tony.linthicum@amd.com> * doc/extend.texi: Add fvect-cost-model flag. * common.opt (fvect-cost-model): New flag. * tree-vectorizer.c (new_stmt_vec_info): Initialize inside and outside cost fields in stmt_vec_info struct for STMT. * tree-vectorizer.h (stmt_vec_info): Define inside and outside cost fields in stmt_vec_info struct and access functions for the same. (TARG_COND_BRANCH_COST): Define cost of conditional branch. (TARG_VEC_STMT_COST): Define cost of any vector operation, excluding load, store and vector to scalar operation. (TARG_VEC_TO_SCALAR_COST): Define cost of vector to scalar operation. (TARG_VEC_LOAD_COST): Define cost of aligned vector load. (TARG_VEC_UNALIGNED_LOAD_COST): Define cost of misasligned vector load. (TARG_VEC_STORE_COST): Define cost of vector store. (vect_estimate_min_profitable_iters): Define new function. * tree-vect-analyze.c (vect_analyze_operations): Add a compile-time check to evaluate if loop iterations are less than minimum profitable iterations determined by cost model or minimum vect loop bound defined by user, whichever is more conservative. * tree-vect-transform.c (vect_do_peeling_for_loop_bound): Add a run-time check to evaluate if loop iterations are less than minimum profitable iterations determined by cost model or minimum vect loop bound defined by user, whichever is more conservative. (vect_estimate_min_profitable_iterations): New function to estimate mimimimum iterartions required for vector version of loop to be profitable over scalar version. (vect_model_reduction_cost): New function. (vect_model_induction_cost): New function. (vect_model_simple_cost): New function. (vect_cost_strided_group_size): New function. (vect_model_store_cost): New function. (vect_model_load_cost): New function. (vectorizable_reduction): Call vect_model_reduction_cost during analysis phase. (vectorizable_induction): Call vect_model_induction_cost during analysis phase. (vectorizable_load): Call vect_model_load_cost during analysis phase. (vectorizable_store): Call vect_model_store_cost during analysis phase. (vectorizable_call, vectorizable_assignment, vectorizable_operation, vectorizable_promotion, vectorizable_demotion): Call vect_model_simple_cost during analysis phase. gcc/testsuite/ChangeLog: 2007-06-08 Harsha Jagasia <harsha.jagasia@amd.com> * gcc.dg/vect/costmodel: New directory. * gcc.dg/vect/costmodel/i386: New directory. * gcc.dg/vect/costmodel/i386/i386-costmodel-vect.exp: New testsuite. * gcc.dg/vect/costmodel/i386/costmodel-fast-math-vect-pr29925.c: New test. * gcc.dg/vect/costmodel/i386/costmodel-vect-31.c: New test. * gcc.dg/vect/costmodel/i386/costmodel-vect-33.c: New test. * gcc.dg/vect/costmodel/i386/costmodel-vect-68.c: New test. * gcc.dg/vect/costmodel/i386/costmodel-vect-reduc-1char.c: New test. * gcc.dg/vect/costmodel/x86_64: New directory. * gcc.dg/vect/costmodel/x86_64/x86_64-costmodel-vect.exp: New testsuite. * gcc.dg/vect/costmodel/x86_64/costmodel-fast-math-vect-pr29925.c: New test. * gcc.dg/vect/costmodel/x86_64/costmodel-vect-31.c: New test. * gcc.dg/vect/costmodel/x86_64/costmodel-vect-33.c: New test. * gcc.dg/vect/costmodel/x86_64/costmodel-vect-68.c: New test. * gcc.dg/vect/costmodel/x86_64/costmodel-vect-reduc-1char.c: New test. * gcc.dg/vect/costmodel/x86_64/costmodel-pr30843.c: New test. Co-Authored-By: Tony Linthicum <tony.linthicum@amd.com> From-SVN: r125575
Harsha Jagasia committed -
* reg-stack.c (get_true_reg): Readability change. Moved default case label into direct switch statement scope. From-SVN: r125574
Simon Baldwin committed
-