- 25 Nov, 2009 15 commits
-
-
2009-09-01 Sebastian Pop <sebastian.pop@amd.com> * tree-scalar-evolution.c (instantiate_scev_assign): New. Do not call analyze_scalar_evolution on assignments. (instantiate_scev_phi): Call analyze_scalar_evolution. (instantiate_scev_name): Call instantiate_scev_assign and instantiate_scev_phi. (instantiate_scev_not): Adapted to pass as parameters the operands of the not expression. From-SVN: r154541
Sebastian Pop committed -
tree-scalar-evolution.c (instantiate_scev_binary): Adapted to pass as parameters the operands of the binary expression. 2009-09-01 Sebastian Pop <sebastian.pop@amd.com> * tree-scalar-evolution.c (instantiate_scev_binary): Adapted to pass as parameters the operands of the binary expression. From-SVN: r154540
Sebastian Pop committed -
2009-09-01 Sebastian Pop <sebastian.pop@amd.com> * tree-scalar-evolution.c (instantiate_scev_bitnot): Renamed instantiate_scev_not. Handle NEGATE_EXPR. (instantiate_scev_r): Handle NEGATE_EXPR. From-SVN: r154539
Sebastian Pop committed -
2009-09-01 Sebastian Pop <sebastian.pop@amd.com> * tree-scalar-evolution.c (instantiate_scev_1): Renamed instantiate_scev_r. (instantiate_scev_r): Move code in instantiate_scev_2 and instantiate_scev_1. From-SVN: r154538
Sebastian Pop committed -
2009-09-01 Sebastian Pop <sebastian.pop@amd.com> * tree-scalar-evolution.c (instantiate_scev_3): New. (instantiate_scev_1): Move code in instantiate_scev_3. From-SVN: r154537
Sebastian Pop committed -
2009-09-01 Sebastian Pop <sebastian.pop@amd.com> * tree-scalar-evolution.c (instantiate_scev_poly): New. (instantiate_scev_1): Move code in instantiate_scev_poly. From-SVN: r154536
Sebastian Pop committed -
2009-09-01 Sebastian Pop <sebastian.pop@amd.com> * tree-scalar-evolution.c (instantiate_scev_bitnot): New. (instantiate_scev_1): Move code in instantiate_scev_bitnot. From-SVN: r154535
Sebastian Pop committed -
2009-09-01 Sebastian Pop <sebastian.pop@amd.com> * tree-scalar-evolution.c (instantiate_scev_convert): New. (instantiate_scev_1): Move code in instantiate_scev_convert. From-SVN: r154534
Sebastian Pop committed -
2009-09-01 Sebastian Pop <sebastian.pop@amd.com> * tree-scalar-evolution.c (instantiate_scev_binary): New. (instantiate_scev_1): Move code in instantiate_scev_binary. From-SVN: r154533
Sebastian Pop committed -
2009-09-01 Sebastian Pop <sebastian.pop@amd.com> * tree-scalar-evolution.c (instantiate_scev_name): New. (instantiate_scev_1): Move code in instantiate_scev_name. From-SVN: r154532
Sebastian Pop committed -
2009-11-24 Jerry DeLisle <jvdelisle@gcc.gnu.org> PR fortran/42008 * decl.c (variable_decl): Do not error on initialization within a derived type specification of a pure procedure. From-SVN: r154531
Jerry DeLisle committed -
2009-11-24 Jerry DeLisle <jvdelisle@gcc.gnu.org> PR fortran/42008 * gfortran.dg/pure_initializer_2.f90: New test. From-SVN: r154530
Jerry DeLisle committed -
2009-11-24 Jerry DeLisle <jvdelisle@gcc.gnu.org> PR fortran/41807 * decl.c (variable_decl): Do not error on initialization within a derived type specification of a pure procedure. From-SVN: r154529
Jerry DeLisle committed -
pa.c (output_call): Only use sr4 for long interspace calls if call binds local and generating non... * pa.c (output_call): Only use sr4 for long interspace calls if call binds local and generating non PIC code. (attr_length_call): Adjust length calculation for above. From-SVN: r154527
John David Anglin committed -
From-SVN: r154526
GCC Administrator committed
-
- 24 Nov, 2009 22 commits
-
-
* config/i386/i386.md (plusminus_carry_mnemonic): New code attribute. (add<mode>3_carry): Change operand order of plus RTX. (*add<mode>3_carry): Ditto. (*addsi3_carry_zext): Ditto. (*add<dwi>3_doubleword): Update for changed operand order. (*negti2_1 splitter): Ditto. (*negdi2_1 splitter): Ditto. (<plusminus_insn><mode>3_carry): Macroize expander from {add,sub}<mode>3_carry patterns using plusminus code iterator. (*<plusminus_insn><mode>3_carry): Macroize insn from *{add,sub}<mode>3_carry patetrns using plusminus code iterator. (neg<mode>2): Macroize expander from neg{qi,hi,si,di,ti}2 patterns using SDWIM mode iterator. (*neg<dwi>2_doubleword): New insn_and_split pattern. Macroize pattern from *neg{di,ti}2_1 patterns and corresponding splitters using DWIH mode iterator. (*neg<mode>2_1): Macroize insn from neg{qi,hi,si,di}2_1 patterns using SWI mode iterator. (*neg<mode>2_cmpz): Ditto from neg{qi,hi,si,di}2_cmpz patterns. (one_cmpl<mode>2): Macroize expander from one_cmpl{qi,hi,si,di}2 patterns using SWIM mode iterator. (*one_cmpl<mode>2_1): Macroize insn from one_cmpl{hi,si,di}2_1 patterns using SWI248 mode iterator. (*one_cmpl<mode>2_2): Macroize insn from one_cmpl{qi,hi,si,di}2_2 patterns using SWI mode iterator. (*one_cmpl<mode>2_2 splitter): Macroize splitter from one_cmpl{qi,hi,si,di}2_2 splitter patterns using SWI mode iterator. From-SVN: r154522
Uros Bizjak committed -
From-SVN: r154521
Joel Brobecker committed -
PR c++/42137 * parser.c (cp_parser_mem_initializer_id): Pass typename_type to cp_parser_class_name. (cp_parser_unqualified_id): Same, rather than class_type. PR c++/11764 * parser.c (cp_parser_expression_statement): Give helpful error for constructor name used as type. From-SVN: r154519
Jason Merrill committed -
* pt.c (determine_specialization): Give helpful error about missing "template<>". From-SVN: r154518
Jason Merrill committed -
sem_util.adb (Set_Debug_Info_Needed): For an E_Class_Wide_Subtype, also set the flag on the Equivalent_Type. * sem_util.adb (Set_Debug_Info_Needed): For an E_Class_Wide_Subtype, also set the flag on the Equivalent_Type. * gcc-interface/utils.c (finish_record_type): Replace DO_NOT_FINALIZE parameter with DEBUG_INFO_P. Rename FIELDLIST into FIELD_LIST. (rest_of_record_type_compilation): Rename FIELDLIST into FIELD_LIST. (build_vms_descriptor32): Adjust call to finish_record_type. (build_vms_descriptor): Likewise. (build_unc_object_type): Likewise. * decl.c (gnat_to_gnu_entity): Adjust calls to finish_record_type and components_to_record. (make_packable_type): Adjust call to finish_record_type. (maybe_pad_type): Likewise. Tweak condition. (components_to_record): Likewise. Replace DO_NOT_FINALIZE parameter with MAYBE_UNUSED. Adjust recursive call. (create_variant_part_from): Adjust call to finish_record_type. Do not call rest_of_record_type_compilation on the new record types. * trans.c (gigi): Adjust call to finish_record_type. * gigi.h (finish_record_type): Adjust prototype and comment. (rest_of_record_type_compilation): Adjust comment. From-SVN: r154515
Eric Botcazou committed -
exp_util.adb (Make_CW_Equivalent_Type): Do not mark the type as frozen for targets that do not require front-end layout. * exp_util.adb (Make_CW_Equivalent_Type): Do not mark the type as frozen for targets that do not require front-end layout. (New_Class_Wide_Subtype): Always reset the freezing status to False. * exp_ch8.adb: Do not 'with' Targparm. (Expand_N_Object_Renaming_Declaration): Always freeze a class-wide subtype that has been built from the expression. * exp_intr.adb (Expand_Unc_Deallocation): If the designated type is class wide, freeze the implicit type that has been built from the expression at the dereference point. * freeze.adb (Freeze_Entity): Adjust comment. * gcc-interface/decl.c (Gigi_Equivalent_Type) <E_Class_Wide_Type>: Remove useless test. * gcc-interface/trans.c (process_freeze_entity): Do not special-case class-wide subtypes. * s-osinte-aix.adb (clock_gettime): Fix comment. * s-osinte-darwin.adb (clock_gettime): Likewise. From-SVN: r154514
Eric Botcazou committed -
* gcc.target/powerpc/altivec-32.c: Don't use -m64. * gcc.target/powerpc/const-compare.c: Require lp64, don't use -m64. * gcc.target/powerpc/darwin-bool-1.c: Require ilp32, remove dg-skip-if. * gcc.target/powerpc/paired-1.c: Require ilp32, don't use -m32. * gcc.target/powerpc/paired-2.c: Ditto. * gcc.target/powerpc/paired-3.c: Ditto. * gcc.target/powerpc/paired-4.c: Ditto. * gcc.target/powerpc/paired-5.c: Ditto. * gcc.target/powerpc/paired-6.c: Ditto. * gcc.target/powerpc/paired-7.c: Ditto. * gcc.target/powerpc/paired-8.c: Ditto. * gcc.target/powerpc/paired-9.c: Ditto. * gcc.target/powerpc/paired-10.c: Ditto. * gcc.target/powerpc/popcount-2.c: Don't use -m32. * gcc.target/powerpc/popcount-3.c: Don't use -m64. * gcc.target/powerpc/ppc-paired.c: Require ilp32, don't use -m32. * gcc.target/powerpc/pr39457.c: Don't use -m64. * gcc.target/powerpc/vsx-vector-1.c: Ditto. * gcc.target/powerpc/vsx-vector-2.c: Ditto. * gcc.target/powerpc/vsx-vector-3.c: Ditto. * gcc.target/powerpc/vsx-vector-4.c: Ditto. From-SVN: r154512
Janis Johnson committed -
2009-11-24 Michael Matz <matz@suse.de> * expr.c (set_storage_via_libcall): Fix build_call_expr call. 2009-11-24 David Binderman <dcb314@hotmail.com> * expr.c (store_field): Remove set but not used local variable width_mask. (expand_expr_real_2): Remove treeop2. * gcse.c (update_ld_motion_stores): Remove new_rtx. * haifa-sched.c (max_issue): Remove points. (sched_create_recovery_edges): Remove e. * ira-costs.c (setup_allocno_cover_class_and_costs): Remove mode. From-SVN: r154505
Paolo Carlini committed -
* config/v850/v850.c (function_arg): Fix handling of zero-length function arguments. From-SVN: r154503
Nick Clifton committed -
* tree.h (union tree_ann_d): Don't declare. (tree_base): Remove ann field. (struct var_ann_d): Declare forward. (tree_result_decl, tree_parm_decl, tree_var_decl): Add ann field. (DECL_VAR_ANN_PTR): New macro. * tree-dfa.c (create_var_ann): Rewrite in terms of above macro, accept only VAR, PARM or RESULT decls. (create_tree_common_ann): Remove. (remove_referenced_var): Use DECL_VAR_ANN_PTR. * tree-eh.c (lookup_expr_eh_lp): Remove. * tree-flow-inline.h (var_ann, get_var_ann): Rewrite in terms of DECL_VAR_ANN_PTR. (ann_type, tree_common_ann, get_tree_common_ann): Remove. * tree-flow.h (enum tree_ann_type): Remove. (struct tree_ann_common_d): Remove. (struct var_ann_d): Remove common field. (union tree_ann_d): Remove. (tree_ann_t, tree_ann_common_t): Remove typedefs. (tree_common_ann, get_tree_common_ann, ann_type, create_tree_common_ann, lookup_expr_eh_lp): Don't declare. * tree-ssa.c (delete_tree_ssa): Use DECL_VAR_ANN_PTR. * tree.c (copy_node_stat): Use DECL_VAR_ANN_PTR. * builtins.c (expand_builtin_memcpy): Use currently_expanding_gimple_stmt instead of tree annotation. (expand_builtin_memset_args): Ditto. * cfgexpand.c (currently_expanding_gimple_stmt): Add global variable. (expand_call_stmt): Don't set tree annotation. (expand_gimple_basic_block): Set currently_expanding_gimple_stmt. * expr.c (expand_expr_real): Don't call lookup_expr_eh_lp. * gimple.h (currently_expanding_gimple_stmt): Declare. From-SVN: r154502
Michael Matz committed -
2009-11-24 Paolo Carlini <paolo.carlini@oracle.com> * dwarf2out.c (add_location_or_const_value_attribute): Remove useless NOTE_VAR_LOCATION_STATUS call. * cfgrtl.c (commit_one_edge_insertion): Remove useless loop, tidy. From-SVN: r154501
Paolo Carlini committed -
2009-11-24 Rafael Avila de Espindola <espindola@google.com> * lto-wrapper.c (lto_wrapper_exit): Don't try to delete files if being called recursively. From-SVN: r154500
Rafael Avila de Espindola committed -
2009-11-24 Basile Starynkevitch <basile@starynkevitch.net> * gcc/Makefile.in (PLUGIN_HEADERS): Added files: cppdefault.h flags.h $(MD5_H) params.def params.h prefix.h tree-inline.h. --This lifilne, and those below, will be ignored-- M gcc/ChangeLog M gcc/Makefile.in From-SVN: r154499
Basile Starynkevitch committed -
2009-11-24 Paul Brook <paul@codesourcery.com> gcc/ * gcc/config/arm/arm.c (arm_compute_save_reg0_reg12_mask): Fix comment typo. From-SVN: r154498
Paul Brook committed -
gcc/ * config/arm/arm.c (TARGET_DWARF_REGISTER_SPAN): Define. (arm_dwarf_register_span): New function. (arm_dbx_register_number): Add VFPv3 dwarf numbering. Co-Authored-By: Paul Brook <paul@codesourcery.com> From-SVN: r154497
Julian Brown committed -
2009-11-24 David Binderman <dcb314@hotmail.com> * cfgrtl.c (commit_one_edge_insertion): Remove set but not used local variable bb_note. * dominance.c (get_dominated_by): Likewise local var n. (output_file_names): Likewise local var idx. (add_location_or_const_value_attribute): Likewise local var status. * dwarf2out.c (gen_variable_die): Likewise local var field. * emit-rtl.c (no_line_numbers): Remove. (init_emit_once): Remove line_numbers parameter. * rtl.h (init_emit_once): Adjust prototype. * toplev.c (backend_init): Adjust init_emit_once call. From-SVN: r154496
David Binderman committed -
* g++.dg/debug/dwarf2/anonname1.C: Escape backslash in scan-assembler-not regular expression. From-SVN: r154495
Ulrich Weigand committed -
re PR tree-optimization/42142 (DCE miscompiles a certain quicksort implementation when optimizing with -O1 or higher) 2009-11-24 Richard Guenther <rguenther@suse.de> PR tree-optimization/42142 * tree-ssa-dce.c (mark_aliased_reaching_defs_necessary_1): Handle iv-dependent (non-)kills properly. (mark_aliased_reaching_defs_necessary): Pass the basic-block of the reference statement to mark_aliased_reaching_defs_necessary_1. * gcc.c-torture/execute/pr42142.c: New testcase. From-SVN: r154494
Richard Guenther committed -
2009-11-24 Martin Jambor <mjambor@suse.cz> PR tree-optimization/42154 * tree-sra.c (struct access): Added comments. (sra_modify_expr): Build references to the old aggregate with build_ref_for_offset instead of reusing access->expr. (load_assign_lhs_subreplacements): Likewise. * testsuite/gcc.c-torture/execute/pr42154.c: New test. From-SVN: r154493
Martin Jambor committed -
2009-11-24 Janus Weil <janus@gcc.gnu.org> PR fortran/42045 * resolve.c (resolve_actual_arglist): Make sure procedure pointer actual arguments are resolved correctly. (resolve_function): An EXPR_FUNCTION which is a procedure pointer component, has already been resolved. (resolve_fl_derived): Procedure pointer components should not be implicitly typed. 2009-11-24 Janus Weil <janus@gcc.gnu.org> PR fortran/42045 * gfortran.dg/proc_ptr_comp_2.f90: Correct invalid test case. * gfortran.dg/proc_ptr_comp_3.f90: Extended test case. * gfortran.dg/proc_ptr_comp_24.f90: New. From-SVN: r154492
Janus Weil committed -
From-SVN: r154487
Andy Hutchinson committed -
From-SVN: r154485
GCC Administrator committed
-
- 23 Nov, 2009 3 commits
-
-
From-SVN: r154482
Andy Hutchinson committed -
* config/i386/i386.md (add<mode>3_carry): Change insn pattern to expander. (sub<mode>3_carry): Ditto. (x86_mov<mode>cc_0_m1): Ditto. (*add<mode>3_carry): New insn pattern. Use VOIDmode match_operator for ix86_carry_flag_operator operator predicate. (*sub<mode>3_carry): Ditto. (*x86_mov<mode>cc_0_m1): Ditto. (*addsi3_carry_zext): Use VOIDmode match_operator for ix86_carry_flag_operator operator predicate. (*subsi3_carry_zext): Ditto. (*x86_mov<mode>cc_0_m1_s): Ditto. (*x86_mov<mode>cc_0_m1_neg): Ditto. * config/i386/predocates.md (ix86_carry_flag_operator): Do not check operator sub-expressions for FLAGS_REG and const0_rtx. * config/i386/i386.c (*ix86_gen_sub3_carry): Update prototype. (ix86_expand_int_movcc): Update calls to gen_x86_mov{si,di}cc_0_m1. (ix86_expand_int_addcc): Update calls to gen_{add,sub}{qi,hi,si,di}3_carry. Do not set mode of compare_op. (ix86_expand_strlensi_unroll_1): Update calls to ix86_gen_sub3_carry. Do not set mode of compare operation. From-SVN: r154480
Uros Bizjak committed -
2009-11-23 H.J. Lu <hongjiu.lu@intel.com> PR testsuite/42086 * gcc.target/ia64/fptr-1.c: Make it a compile test. From-SVN: r154478
H.J. Lu committed
-