1. 24 Nov, 2009 21 commits
    • * zlib.m4: New file. · 678ff823
      From-SVN: r154521
      Joel Brobecker committed
    • re PR c++/42137 (error: expected constructor, destructor, or type conversion before ‘{’ token) · 108e2445
      	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<>". · 3474a3b7
      	* 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… · 032d1b71
      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… · cbae498b
      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
    • altivec-32.c: Don't use -m64. · 828514e4
      	* 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
    • [multiple changes] · 038dc49a
      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
    • v850.c (function_arg): Fix handling of zero-length function arguments. · 356aaf8b
              * 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. · a5883ba0
      	* 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
    • dwarf2out.c (add_location_or_const_value_attribute): Remove useless NOTE_VAR_LOCATION_STATUS call. · 6e0b03f5
      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
    • lto-wrapper.c (lto_wrapper_exit): Don't try to delete files if being called recursively. · 8aea79e6
      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
    • Makefile.in (PLUGIN_HEADERS): Added files... · 33887751
      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
    • arm.c (arm_compute_save_reg0_reg12_mask): Fix comment typo. · 3ed04dbd
      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
    • arm.c (TARGET_DWARF_REGISTER_SPAN): Define. · 854b8a40
      	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
    • cfgrtl.c (commit_one_edge_insertion): Remove set but not used local variable bb_note. · 2d888286
      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
    • anonname1.C: Escape backslash in scan-assembler-not regular expression. · 44018bc3
      	* 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… · 1415abc0
      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
    • re PR tree-optimization/42154 (Wrong code from (early) SRA) · 09f0dc45
      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
    • re PR fortran/42045 ([F03] passing a procedure pointer component to a procedure pointer dummy) · 6c036626
      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
    • Daily bump. · a67a5c02
      From-SVN: r154485
      GCC Administrator committed
  2. 23 Nov, 2009 19 commits