- 17 Apr, 2014 5 commits
-
-
* ipa-devirt.c (odr_type_d): Add field all_derivations_known. (type_all_derivations_known_p): New predicate. (type_all_ctors_visible_p): New predicate. (type_possibly_instantiated_p): New predicate. (get_odr_type): Compute all_derivations_known. (dump_odr_type): Dump the flag. (maybe_record_type): Cleanup. (record_target_from_binfo): Add bases_to_consider array; record bases for types w/o instances and skip CXX destructor. (possible_polymorphic_call_targets_1): Add bases_to_consider and consider_construction parameters; check if type may have instance. (get_polymorphic_call_info): Set maybe_in_construction to true when we know nothing. (record_targets_from_bases): Skip CXX destructors; they are never called for types in construction. (possible_polymorphic_call_targets): Do not record target when type may not have instance. * g++.dg/ipa/devirt-31.C: New testcase. From-SVN: r209461
Jan Hubicka committed -
PR lto/60820 * gcc.dg/lto/pr60820_0.c: New testcase. * gcc.dg/lto/pr60820_1.c: New testcase. From-SVN: r209460
Jan Hubicka committed -
PR ipa/60854 * ipa.c (symtab_remove_unreachable_nodes): Mark targets of external aliases alive, too. * g++.dg/torture/pr60854.C: New testcase. From-SVN: r209459
Jan Hubicka committed -
2014-04-16 Andrew Pinski <apinski@cavium.com> * config/host-linux.c (TRY_EMPTY_VM_SPACE): Change aarch64 ilp32 definition. From-SVN: r209457
Andrew Pinski committed -
From-SVN: r209456
GCC Administrator committed
-
- 16 Apr, 2014 13 commits
-
-
* final.c (compute_alignments): Do not apply loop alignment to a block falling through to the exit. From-SVN: r209451
Eric Botcazou committed -
2014-04-16 Catherine Moore <clm@codesourcery.com> gcc/ * mips.md (*mov<mode>_internal, *movhi_internal, *movqi_internal): Adjust constraints for microMIPS store patterns. testsuite/ * gcc.target/mips/umips-store16-2.c: New test. From-SVN: r209450
Catherine Moore committed -
2014-04-16 Marc Glisse <marc.glisse@inria.fr> gcc/cp/ * decl.c (reshape_init_r): Handle a single element of vector type. gcc/testsuite/ * g++.dg/cpp0x/initlist-vect.C: New file. From-SVN: r209449
Marc Glisse committed -
From Rainer Orth. From-SVN: r209448
Ian Lance Taylor committed -
2014-04-16 Patrick Palka <patrick@parcs.ath.cx> PR c++/60765 * decl2.c (cplus_decl_attributes): Handle pointer-to-member-function declarations. 2014-04-16 Patrick Palka <patrick@parcs.ath.cx> PR c++/60764 * call.c (build_user_type_coversion): Use build_dummy_object to create the placeholder object for a constructor method call. (build_special_member_call): Likewise. (build_over_call): Check for the placeholder object with is_dummy_object. (build_new_method_call_1): Likewise. Don't attempt to resolve a dummy object for a constructor method call. From-SVN: r209447
Patrick Palka committed -
* config/avr/avr-mcus.def: Correct typo for atxmega256a3bu macro. From-SVN: r209446
Pitchumani Sivanupandi committed -
From-SVN: r209445
Jonathan Wakely committed -
2014-04-16 Paul Pluzhnikov <ppluzhnikov@google.com> PR c++/59295 * friend.c (add_friend, make_friend_class): Move repeated friend warning under Wredundant_decls. From-SVN: r209444
Paul Pluzhnikov committed -
* tree-ssa-operands.c (create_vop_var): Set DECL_IGNORED_P. (append_use): Run at -O0. (append_vdef): Likewise. * tree-ssa-ter.c (ter_is_replaceable_p): Do not special-case -O0. * tree-ssa-uninit.c (warn_uninitialized_vars): Remove obsolete comment. From-SVN: r209443
Eric Botcazou committed -
PR tree-optimization/60844 * tree-ssa-reassoc.c (reassoc_remove_stmt): New function. (propagate_op_to_single_use, remove_visited_stmt_chain, linearize_expr, repropagate_negates, reassociate_bb): Use it instead of gsi_remove. * gcc.dg/pr60844.c: New test. From-SVN: r209442
Jakub Jelinek committed -
2014-04-16 Martin Jambor <mjambor@suse.cz> * cgraphclones.c (cgraph_create_virtual_clone): Duplicate ipa_transforms_to_apply. (cgraph_function_versioning): Assert that old_node has empty ipa_transforms_to_apply. * trans-mem.c (ipa_tm_create_version): Likewise. * tree-inline.c (tree_function_versioning): Do not duplicate ipa_transforms_to_apply. From-SVN: r209441
Martin Jambor committed -
PR target/60817 * configure.ac (set_have_as_tls): Merge i[34567]86-*-* and x86_64-*-* cases. Pass necessary as flags on 64-bit Solaris/x86. Use lowercase relocs for x86_64-*-*. * configure: Regenerate. From-SVN: r209440
Rainer Orth committed -
From-SVN: r209439
GCC Administrator committed
-
- 15 Apr, 2014 22 commits
-
-
* ipa-devirt.c (referenced_from_vtable_p): New predicate. (maybe_record_node, likely_target_p): Use it. From-SVN: r209435
Jan Hubicka committed -
* include/bits/shared_ptr.h (shared_ptr::shared_ptr(nullptr_t)): Remove name of unused parameter. From-SVN: r209434
Jonathan Wakely committed -
From-SVN: r209433
Jonathan Wakely committed -
* testsuite/24_iterators/insert_iterator/requirements/container.cc: Do not use uninitialized members in mem-initializers. * testsuite/ext/throw_value/cons.cc: Fix most vexing parse. * testsuite/util/testsuite_common_types.h: Update comment. From-SVN: r209432
Jonathan Wakely committed -
re PR c++/60786 (In C++11 an explicit instantiation with an unqualified name must be in the right namespace) PR c++/60786 * testsuite/20_util/shared_ptr/requirements/explicit_instantiation/ 1.cc: Fix invalid explicit instantiations with unqualified names. * testsuite/20_util/shared_ptr/requirements/explicit_instantiation/ 2.cc: Likweise. * testsuite/20_util/tuple/53648.cc: Likweise. * testsuite/20_util/weak_ptr/requirements/explicit_instantiation/1.cc: Likewise. * testsuite/20_util/weak_ptr/requirements/explicit_instantiation/2.cc: Likewise. * testsuite/23_containers/unordered_map/requirements/ debug_container.cc: Likewise. * testsuite/23_containers/unordered_map/requirements/ explicit_instantiation/3.cc: Likewise. * testsuite/23_containers/unordered_multimap/requirements/debug.cc: Likewise. * testsuite/23_containers/unordered_multimap/requirements/ explicit_instantiation/3.cc: Likewise. * testsuite/23_containers/unordered_multiset/requirements/debug.cc: Likewise. * testsuite/23_containers/unordered_multiset/requirements/ explicit_instantiation/3.cc: Likewise. * testsuite/23_containers/unordered_set/requirements/ debug_container.cc: Likewise. * testsuite/23_containers/unordered_set/requirements/ explicit_instantiation/3.cc: Likewise. From-SVN: r209431
Jonathan Wakely committed -
From-SVN: r209429
Jonathan Wakely committed -
* include/bits/shared_ptr.h (shared_ptr::shared_ptr(nullptr_t)): Use delegating constructor. * include/bits/shared_ptr_base.h (__shared_ptr::__shared_ptr(nullptr_t)): Likewise From-SVN: r209428
Jonathan Wakely committed -
* include/bits/atomic_base.h (__atomic_base<_PTp*>::_M_type_size): Add const to constexpr member functions. From-SVN: r209427
Jonathan Wakely committed -
2014-04-15 Bill Schmidt <wschmidt@linux.vnet.ibm.com> PR target/60839 Revert following patch 2014-04-02 Michael Meissner <meissner@linux.vnet.ibm.com> PR target/60735 * config/rs6000/rs6000.c (rs6000_hard_regno_mode_ok): If we have software floating point or no floating point registers, do not allow any type in the FPRs. Eliminate a test for SPE SIMD types in GPRs that occurs after we tested for GPRs that would never be true. * config/rs6000/rs6000.md (mov<mode>_softfloat32, FMOVE64): Rewrite tests to use TARGET_DOUBLE_FLOAT and TARGET_E500_DOUBLE, since the FMOVE64 type is DFmode/DDmode. If TARGET_E500_DOUBLE, specifically allow DDmode, since that does not use the SPE SIMD instructions. From-SVN: r209425
Bill Schmidt committed -
As the comment in the code already indicated DWARF2 does provide DW_FORM_sdata/DW_FORM_udata to represent signed/unsigned data. Enumeration constants wider than HOST_WIDE_INT are already handled separately. Those constant values that do fit a HOST_WIDE_INT can be encoded as signed or unsigned depending on type and value for more efficient encoding. * dwarf2out.c (gen_enumeration_type_die): Add DW_AT_const_value as unsigned or int depending on type and value used. From-SVN: r209424
Mark Wielaard committed -
2014-04-15 Richard Biener <rguenther@suse.de> PR rtl-optimization/56965 * alias.c (ncr_compar, nonoverlapping_component_refs_p): Move ... * tree-ssa-alias.c (ncr_compar, nonoverlapping_component_refs_p): ... here. * alias.c (true_dependence_1): Do not call nonoverlapping_component_refs_p. * tree-ssa-alias.c (indirect_ref_may_alias_decl_p): Call nonoverlapping_component_refs_p. (indirect_refs_may_alias_p): Likewise. * gcc.dg/torture/pr56965-1.c: New testcase. * gcc.dg/torture/pr56965-2.c: Likewise. From-SVN: r209423
Richard Biener committed -
re PR libstdc++/60594 (std::function of a type with a declared (but not defined) return type fails to compile) PR libstdc++/60594 * include/std/functional (function::_Callable): Exclude own type from the callable checks. * testsuite/20_util/function/60594.cc: New. From-SVN: r209422
Jonathan Wakely committed -
2014-04-15 Teresa Johnson <tejohnson@google.com> * cfg.c (dump_bb_info): Fix flags check. * tree-cfg.c (remove_bb): Only dump TDF_BLOCKS when removing. 2014-04-15 Teresa Johnson <tejohnson@google.com> * gcc.dg/tree-prof/update-loopch.c: Update expected output. From-SVN: r209421
Teresa Johnson committed -
2014-04-15 Paolo Carlini <paolo.carlini@oracle.com> * decl.c (duplicate_decls): Remove redundant TYPE_NAME use. * name-lookup.c (pushdecl_maybe_friend_1): Likewise. (do_class_using_decl): Likewise. * mangle.c (dump_substitution_candidates): Use TYPE_NAME_STRING. From-SVN: r209420
Paolo Carlini committed -
PR rtl-optimization/60663 * config/arm/arm.c (arm_new_rtx_costs): Improve ASM_OPERANDS case, avoid 0 cost. From-SVN: r209419
Kyrylo Tkachov committed -
PR libstdc++/60695 * include/std/atomic (atomic<_Tp>): Add static assertion. * testsuite/29_atomics/atomic/60695.cc: New. From-SVN: r209418
Jonathan Wakely committed -
2014-04-15 Richard Biener <rguenther@suse.de> * lto-streamer.h (LTO_major_version): Bump to 4. From-SVN: r209417
Richard Biener committed -
2014-04-15 Richard Biener <rguenther@suse.de> * common.opt (lto_partition_model): New enum. (flto-partition=): Merge separate options with a single with argument, add -flto-partition=one support. * flag-types.h (enum lto_partition_model): Declare. * opts.c (finish_options): Remove duplicate -flto-partition= option check. * lto-wrapper.c (run_gcc): Adjust. lto/ * lto.c: Include params.h. (do_whole_program_analysis): Switch on flag_lto_partition value, add support for LTO_PARTITION_ONE. * lto-partition.h (lto_balanced_map): Adjust. * lto-partition.c (lto_balanced_map): Get number of desired partitions as argument to support -flto-partition=one. From-SVN: r209416
Richard Biener committed -
From-SVN: r209415
Eric Botcazou committed -
PR libstdc++/60734 * include/bits/stl_tree.h (_Rb_tree::_M_end): Fix invalid cast. From-SVN: r209414
Jonathan Wakely committed -
2014-04-15 Richard Biener <rguenther@suse.de> * alias.c (ncr_compar): New function. (nonoverlapping_component_refs_p): Re-implement in O (n log n). From-SVN: r209413
Richard Biener committed -
2014-04-15 Richard Biener <rguenther@suse.de> * alias.c (record_component_aliases): Do not walk BINFOs. From-SVN: r209412
Richard Biener committed
-