- 21 Sep, 2010 14 commits
-
-
* config/rs6000/rs6000.h (OUTPUT_ADDR_CONST_EXTRA): Remove macros. * config/rs6000/rs6000-protos.h (rs6000_output_addr_const_extra): Remove. * config/rs6000/rs6000.c (rs6000_output_addr_const_extra): Make static. (TTARGET_ASM_OUTPUT_ADDR_CONST_EXTRA): Define. From-SVN: r164493
Anatoly Sokolov committed -
From-SVN: r164492
Kai Tietz committed -
PR objc/25965 In gcc/objc/: * objc-act.c (objc_get_interface_ivars): New function. (objc_collecting_ivars): New variable. (continue_class): Set and reset objc_collecting_ivars for context. In gcc/: * c-decl.c (detect_field_duplicates): If compiling Objective-C, call objc_get_interface_ivars (). * c-family/c-common.h (objc_get_interface_ivars): New declaration. * c-family/stub-objc.c (objc_get_interface_ivars): New stub. In gcc/objcp/: * objcp-decl.c (objcp_finish_struct): Call objc_get_interface_ivars() and check for duplicate ivars. In gcc/testsuite/: Merge from 'apple/trunk' branch on FSF servers. 2005-10-11 Fariborz Jahanian <fjahanian@apple.com> Radar 4291785 objc.dg/naming-4.m: New objc.dg/naming-5.m: New obj-c++.dg/naming-1.mm: New obj-c++.dg/naming-2.mm: New From-SVN: r164491
Nicola Pero committed -
2010-09-21 Kai Tietz <kai.tietz@onevision.com> PR target/45694 * config/i386/i386.c (ix86_expand_prologue): Save r10 in case that static chain-register is used for 64-bit. From-SVN: r164489
Kai Tietz committed -
2010-09-21 Richard Guenther <rguenther@suse.de> * dwarf2out.c (is_cu_die): New function. (add_pubtype): Use it. (gen_subprogram_die): Likewise. (gen_struct_or_union_type_die): Likewise. (dwarf2out_finish): Likewise. (comp_unit_die): Rename to ... (single_comp_unit_die): ... this. (comp_unit_die): New function lazily constructing and returning single_comp_unit_die. (is_cxx, is_fortran, is_ada, debug_dwarf, break_out_comdat_types, base_type_die, subrange_type_die, modified_type_die, lower_bound_default, add_bound_info, add_prototyped_attribute, dwarf2out_vms_debug_main_pointer, scope_die_for, retry_incomplete_types, dwarf2out_abstract_function, gen_type_die_with_usage, get_context_die, force_decl_die, gen_namespace_die, dwarf2out_decl, dwarf2out_start_source_file, dwarf2out_end_source_file, prune_unused_types, dwarf2out_finish): Use it. (gen_compile_unit_die): For GNU GIMPLE derive DW_AT_language from the global list of translation-unit decls. (dwarf2out_init): Do not create single_comp_unit_die here. (force_decl_die): Handle TRANSLATION_UNIT_DECL. From-SVN: r164484
Richard Guenther committed -
2010-09-21 Richard Guenther <rguenther@suse.de> * dwarf2out.c (dwarf2out_decl): Do not always generate a DIE for bool for C++. From-SVN: r164483
Richard Guenther committed -
Makefile.in (libgcc-extra-parts): Check for static archives and invoke ranlib after installing them. * Makefile.in (libgcc-extra-parts): Check for static archives and invoke ranlib after installing them. (gcc-extra-parts): Likewise. (install-leaf): Likewise. From-SVN: r164482
Iain Sandoe committed -
* configure.ac (enable-lto): Add Darwin to the list of supported lto targets and amend comment. * configure: Regenerate. From-SVN: r164481
Iain Sandoe committed -
2010-09-21 Jonathan Wakely <redi@gcc.gnu.org> Jack Howarth <howarth@bromo.med.uc.edu> PR c++/45645 * g++.dg/torture/pr44972.C: Use portable assert(). Co-Authored-By: Jack Howarth <howarth@bromo.med.uc.edu> From-SVN: r164479
Jonathan Wakely committed -
2010-09-21 Jack Howarth <howarth@bromo.med.uc.edu> * libjava/configure.ac: Set LIBMATHSPEC to -lm except on darwin. * libjava/libgcj.spec.in: Use LIBMATHSPEC. * libjava/configure: Regenerate. From-SVN: r164478
Jack Howarth committed -
* config/arm/iterators.md (qhs_extenddi_op): New mode_attr. (qhs_extenddi_cstr): Likewise. * config/arm/arm.md (zero_extend<mode>di2, extend<mode>di2): Use them for the source operand. From-SVN: r164477
Bernd Schmidt committed -
* config/i386/i386.c (ix86_split_ashl): Rename single_width variable to half_width. Use GET_MODE_BITSIZE to calculate mode size. (ix86_split_ashr): Ditto. (ix86_split_lshr): Ditto. From-SVN: r164476
Uros Bizjak committed -
re PR tree-optimization/45580 (Building WebKit fails with compiler catching SIGSEGV in gimple_fold_obj_type_ref_known_binfo()) 2010-09-21 Richard Guenther <rguenther@suse.de> PR tree-optimization/45580 * tree-ssa-propagate.c (substitute_and_fold): Always replace regular uses. * gimple-fold.c (gimple_fold_obj_type_ref): For a BINFO without virtuals fold the call into a regular indirect one. * g++.dg/torture/pr45580.C: New testcase. From-SVN: r164474
Richard Guenther committed -
From-SVN: r164472
GCC Administrator committed
-
- 20 Sep, 2010 24 commits
-
-
* lib/gcc-dg.exp (clanup-stack-usage): Really remove .su files. From-SVN: r164466
Uros Bizjak committed -
2010-09-20 Janus Weil <janus@gcc.gnu.org> PR fortran/45438 * trans-expr.c (gfc_conv_procedure_call): Fix pointer checking for TBPs, PPCs and pointer/allocatable components. 2010-09-20 Janus Weil <janus@gcc.gnu.org> PR fortran/45438 * gfortran.dg/pointer_check_7.f90: New. From-SVN: r164462
Janus Weil committed -
PR rtl-optimization/42775 * cfgrtl.c (rest_of_pass_free_cfg): Recompute notes if delay slot scheduling is enabled. From-SVN: r164458
Eric Botcazou committed -
re PR rtl-optimization/45728 (ICE: in gen_lowpart_general, at rtlhooks.c:59 at -O1 when comparing union members) PR rtl-optimization/45728 * expr.c (expand_expr_real_1): If op0 isn't REG or MEM, try gen_lowpart_common first and if that fails, force_reg first before calling gen_lowpart. * gcc.c-torture/compile/pr45728.c: New test. From-SVN: r164456
Jakub Jelinek committed -
PR middle-end/45678 * cfgexpand.c (expand_one_stack_var_at): Use crtl->max_used_stack_slot_alignment as max_align, instead of maximum of that and PREFERRED_STACK_BOUNDARY. Don't call update_stack_alignment. From-SVN: r164454
Jakub Jelinek committed -
* langhooks.h (struct lang_hooks_for_types): Remove hash_types field. * langhooks-def.h (LANG_HOOKS_HASH_TYPES): Delete. (LANG_HOOKS_FOR_TYPES_INITIALIZER): Remove LANG_HOOKS_HASH_TYPES. * system.h (LANG_HOOKS_HASH_TYPES): Poison. * tree.c (type_hash_canon): Do not test lang_hooks.types.hash_types. (build_nonstandard_integer_type): Likewise. (build_range_type_1): New function, built from... (build_range_type): ...this. Call build_range_type_1. (build_nonshared_range_type): New function. (build_array_type_1): New function, built from... (build_array_type: ...this. Call build_array_type_1. (build_nonshared_array_type): New function. * tree.h (build_nonshared_range_type): Declare. (build_nonshared_array_type): Likewise. ada/ * gcc-interface/decl.c (gnat_to_gnu_entity): Replace calls to build_array_type with calls to build_nonshared_array_type. (substitute_in_type): Likewise. * gcc-interface/misc.c (LANG_HOOKS_HASH_TYPES): Delete. (LANG_HOOKS_TYPE_HASH_EQ): Define. (gnat_post_options): Add 'static' keyword. (gnat_type_hash_eq): New static function. * gcc-interface/utils.c (fntype_same_flags_p): New function. (create_subprog_type): Call it. (create_index_type): Call build_nonshared_range_type and tidy up. (create_range_type): Likewise. * gcc-interface/gigi.h (fntype_same_flags_p): Declare. From-SVN: r164452
Eric Botcazou committed -
Fix PR libstdc++/45711. libstdc++-v3/: PR libstdc++/45711 * src/Makefile.am (stamp-debug): Also adjust possibly-relative file names in MKDIR_P, and, for consistency, also top_build_prefix. * src/Makefile.in: Regenerate. From-SVN: r164451
Ralf Wildenhues committed -
* config/arm/arm.h (CLASS_LIKELY_SPILLED_P): Remove. * config/arm/arm.c (TARGET_CLASS_LIKELY_SPILLED_P): Define. (arm_class_likely_spilled_p): New function. From-SVN: r164450
Anatoly Sokolov committed -
* config/i386/i386.c (ix86_expand_ashl_const): Rewrite using indirect functions. (ix86_split_ashl): Ditto. (ix86_split_ashr): Ditto. (ix86_split_lshr): Ditto. (ix86_adjust_counter): Ditto. From-SVN: r164449
Uros Bizjak committed -
2010-09-20 Paul Thomas <pault@gcc.gnu.org> PR fortran/45081 * simplify.c (is_constant_array_expr): Allow structure array elements as well as constants. (gfc_simplify_pack, gfc_simplify_reshape, gfc_simplify_spread, gfc_simplify_transpose, gfc_simplify_unpack): Copy the derived type of source to the result. 2010-09-20 Paul Thomas <pault@gcc.gnu.org> PR fortran/45081 * gfortran.dg/derived_array_intrinsics_1.f90 : New test. From-SVN: r164448
Paul Thomas committed -
* c-family/c-common.h (constant_string_class): Documented with comment identical to the one in c-common.c. From-SVN: r164447
Nicola Pero committed -
2010-09-20 H.J. Lu <hongjiu.lu@intel.com> * g++.dg/tree-ssa/pr45605.C: Add "\\". From-SVN: r164446
H.J. Lu committed -
* dwarf2out.c (any_cfis_emitted): New static variable. (add_fde_cfi): Set it. (dwarf2out_frame_debug): Clear it before processing, if it is set afterwards, flush any queued reg saves. From-SVN: r164443
Jakub Jelinek committed -
PR debug/45124 * dwarf2out.c (add_accessibility_attribute): Assume DW_ACCESS_private as the default for dwarf_version > 2 and DW_TAG_class_type parent. (gen_inheritance_die): Assume DW_ACCESS_public as the default for dwarf_version > 2 and parent other than DW_TAG_class_type. From-SVN: r164442
Jakub Jelinek committed -
2010-09-20 Rafael Carre <rafael.carre@gmail.com> PR target/45726 * arm.md (arm_movt): Only enable on machines with MOVT. From-SVN: r164441
Rafael Carre committed -
* config/arm/arm.c (arm_address_offset_is_imm): New. (arm_early_store_addr_dep): New. (arm_early_load_addr_dep): New. * config/arm/arm-protos.h (arm_early_store_addr_dep): Declare. (arm_early_load_addr_dep): Declare. (arm_address_offset_is_imm): Declare. * config/arm/cortex-m4.md: New file. * config/arm/cortex-m4-fpu.md: New file. * config/arm/arm.md: Include cortex-m4.md and cortex-m4-fpu.md. (attr generic_sched): Exclude cortexm4. (attr generic_vfp): Exclude cortexm4. From-SVN: r164440
Jie Zhang committed -
2010-09-20 Richard Guenther <rguenther@suse.de> PR middle-end/45704 * gimplify.c (gimplify_modify_expr_rhs): Preserve volatileness. * gcc.dg/torture/pr45704.c: New testcase. From-SVN: r164439
Richard Guenther committed -
PR tree-optimize/45605 * cgraph.h (const_value_known_p): Declare. (varpool_decide_const_value_known): Remove. * tree-ssa-ccp.c (get_base_constructor): Use it. * lto-cgraph.c (compute_ltrans_boundary): Likewise. * expr.c (string_constant): Likewise. * tree-ssa-loop-ivcanon.c (constant_after_peeling): Likewise. * ipa.c (ipa_discover_readonly_nonaddressable_var, function_and_variable_visibility): Likewise. * gimplify.c (gimplify_call_expr): Likewise. * gimple-fold.c (get_symbol_constant_value): Likewise. * varpool.c (varpool_decide_const_value_known): Replace by... (const_value_known_p): ... this one; handle other kinds of DECLs too and work for automatic vars. (varpool_finalize_decl): Use const_value_known_p. * lto.c (lto_promote_cross_file_statics): Use const_value_known_p. * g++.dg/tree-ssa/pr45605.C: New testcase. From-SVN: r164438
Jan Hubicka committed -
2010-09-20 Rafael Carre <rafael.carre@gmail.com> PR target/45726 * arm.md (arm_movtas_ze): Only enable on machine with MOVT. From-SVN: r164436
Rafael Carre committed -
PR testsuite/45706 * gcc.dg/vect/pr43432.c: Don't override dg-options, defaults are enough. From-SVN: r164435
Michael Matz committed -
2010-09-20 Richard Guenther <rguenther@suse.de> PR tree-optimization/45705 * tree-ssa-dom.c (optimize_stmt): Perform redundant store elimination. * gcc.dg/tree-ssa/ssa-dom-dse-1.c: New testcase. From-SVN: r164434
Richard Guenther committed -
PR testsuite/45706 * lib/target-supports.exp (check_effective_target_vect_perm): Add i?86-*-*. From-SVN: r164433
Michael Matz committed -
PR rtl-optimization/45695 * combine.c (try_combine): When splitting a two set pattern, make sure the pattern which will be put into i2 doesn't use REGs or MEMs set by insns in between i2 and i3. * gcc.c-torture/execute/pr45695.c: New test. From-SVN: r164431
Jakub Jelinek committed -
From-SVN: r164429
GCC Administrator committed
-
- 19 Sep, 2010 2 commits
-
-
PR lto/44246 * lto-cgraph.c (input_cgraph_1, input_varpool_1): Avoid processing same node twice. * gcc.c-torture/compile/pr44246.c:New file. From-SVN: r164425
Jan Hubicka committed -
* gcc-interface/trans.c (gnat_pushdecl): Do not do anything special for PARM_DECLs. (end_subprog_body): If the body is a BIND_EXPR, make its associated block the top-level one. (build_function_stub): Build a statement group for the whole function. * gcc-interface/utils.c (Subprogram_Body_to_gnu): If copy-in/copy-out is used, create the enclosing block early and process first the OUT parameters. From-SVN: r164422
Eric Botcazou committed
-