- 24 Nov, 2009 21 commits
-
-
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 19 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 -
* lib/lto.exp (lto_option_list): Rename from option_list. * lib/compat.exp (compat_option_list): Rename from option_list. From-SVN: r154477
Janis Johnson committed -
* gcc-dg/raw-string-1.c: Require-effective-target wchar. * gcc-dg/raw-string-2.c: Ditto. * gcc-dg/utf-array-short-wchar.c: Ditto. * gcc-dg/utf-array.c: Ditto. * gcc-dg/utf8-2.c: Ditto. From-SVN: r154476
Andy Hutchinson committed -
PR middle-end/42151 * ipa-inline.c (inline_transform): Avoid ICE when transform is called twice. From-SVN: r154475
Jan Hubicka committed -
From-SVN: r154474
Andy Hutchinson committed -
From-SVN: r154473
Andy Hutchinson committed -
From-SVN: r154472
Andy Hutchinson committed -
PR testsuite/36470 * gcc.dg/utf-cvt.c: Skip int test for 16bit int targets. Enable short test for avr target. * gcc.dg/utf32-1.c: Enable test for avr and m32 targets. * gcc.dg/utf32-2.c: Ditto. * gcc.dg/utf32-3.c: Ditto. * gcc.dg/utf32-4.c: Enable test for non-32bit targets. From-SVN: r154471
Andy Hutchinson committed -
From-SVN: r154470
Andy Hutchinson committed -
From-SVN: r154469
Andy Hutchinson committed -
* gcc.dg/sms-6.c: Use long for 16 bit int targets. * gcc.dg/sms-7.c: Ditto. From-SVN: r154468
Andy Hutchinson committed -
* gcc.dg/pr36998.c: Frame pointer required for avr target. * gcc.dg/debug/pr41264-1.c: Use long if int size 16bit or smaller. * gcc.dg/pr39226.c: Use smaller bitfield if int size is 16bit. * gcc.dg/pr41340.c: Test requires long pointer target. * gcc.dg/profile-generate-3.c: Test requires profiling support. From-SVN: r154467
Andy Hutchinson committed -
* gcc.dg/graphite/block-1.c: Require 32-bit or larger array support. * gcc.dg/graphite/block-3.c: Ditto. * gcc.dg/graphite/block-4.c: Ditto. * gcc.dg/graphite/block-5.c: Ditto. * gcc.dg/graphite/block-6.c: Ditto. * gcc.dg/graphite/interchange-0.c: Ditto. * gcc.dg/graphite/interchange-1.c: Ditto. * gcc.dg/graphite/interchange-2.c: Ditto. * gcc.dg/graphite/interchange-3.c: Ditto. * gcc.dg/graphite/interchange-4.c: Ditto. * gcc.dg/graphite/interchange-5.c: Ditto. * gcc.dg/graphite/interchange-6.c: Ditto. * gcc.dg/graphite/run-id-1.c: Ditto. * gcc.dg/graphite/scop-16.c: Ditto. * gcc.dg/graphite/scop-17.c: Ditto. * gcc.dg/graphite/scop-18.c: Ditto. * gcc.dg/graphite/scop-matmult.c: Ditto. * gcc.dg/graphite/pr40157.c: Require 32bit or larger int. * gcc.dg/graphite/id-15.c: Ditto. From-SVN: r154466
Andy Hutchinson committed -
* ipa-cp.c (ipcp_compute_node_scale): Work around completely wrong profile updates. * predict.c (counts_to_freqs): Be expected for ENTRY/EXIT block having largest frequency. * ira-live.c (ira_implicitly_set_insn_hard_regs): Silecne used uninitalized warning. * tree-optimize.c (execute_fixup_cfg): Rescale entry and exit block frequencies. From-SVN: r154462
Jan Hubicka committed -
From-SVN: r154459
Eric Botcazou committed -
decl.c (gnat_to_gnu_entity): Pass the list of attributes when building the corresponding variable of a constant. * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Variable>: Pass the list of attributes when building the corresponding variable of a constant. * gcc-interface/utils.c (create_var_decl_1): Do not process attributes for constants. From-SVN: r154458
Eric Botcazou committed -
2009-11-23 Steve Ellcey <sje@cup.hp.com> * gcc.dg/debug/dwarf2/inline2.c: Modify scan. From-SVN: r154456
Steve Ellcey committed
-