- 05 Feb, 2014 1 commit
-
-
From-SVN: r207492
GCC Administrator committed
-
- 04 Feb, 2014 36 commits
-
-
ipa.c (function_and_variable_visibility): Decompose DECL_ONE_ONLY groups when we know they are controlled by LTO. * ipa.c (function_and_variable_visibility): Decompose DECL_ONE_ONLY groups when we know they are controlled by LTO. * varasm.c (default_binds_local_p_1): If object is in other partition, it will be resolved locally. * lto-partition.c (get_symbol_class): Only unforced DECL_ONE_ONLY needs duplicating, not generic COMDAT. From-SVN: r207489
Jan Hubicka committed -
2014-02-04 Bernd Edlinger <bernd.edlinger@hotmail.de> * gcc/config/host-linux.c (linux_gt_pch_use_address): Don't use SSIZE_MAX because it is not always defined. From-SVN: r207488
Bernd Edlinger committed -
2014-02-04 Vladimir Makarov <vmakarov@redhat.com> PR bootstrap/59913 * lra-constraints.c (need_for_split_p): Use more 3 reloads as threshold for pseudo splitting. (update_ebb_live_info): Process call argument hard registers and hard registers from insn definition too. (max_small_class_regs_num): New constant. (inherit_in_ebb): Update live hard regs through EBBs. Update reloads_num only for small register classes. Don't split for outputs of jumps. From-SVN: r207485
Vladimir Makarov committed -
PR c/60036 c-family/ * c-common.c (conversion_warning): Unwrap C_MAYBE_CONST_EXPR and/or SAVE_EXPR. testsuite/ * gcc.dg/pr60036.c: New test. From-SVN: r207481
Marek Polacek committed -
PR ipa/60058 * ipa-cp.c (ipa_get_indirect_edge_target_1): Check that target is non-null. * g++.dg/torture/pr60058.C: New testcase. From-SVN: r207478
Markus Trippelsdorf committed -
From-SVN: r207477
Jan Hubicka committed -
From-SVN: r207474
Marek Polacek committed -
2014-02-04 Bernd Edlinger <bernd.edlinger@hotmail.de> * doc/invoke.texi (fstrict-volatile-bitfields): Clarify current behavior. From-SVN: r207473
Bernd Edlinger committed -
From-SVN: r207472
Max Ostapenko committed -
re PR lto/59723 (ICE: in lto_output_tree, at lto-streamer-out.c:1390 when compiling some Fortran tests with -flto) 2014-02-04 Richard Biener <rguenther@suse.de> PR lto/59723 * lto-streamer-out.c (tree_is_indexable): Force NAMELIST_DECLs in function context local. (lto_output_tree_ref): Do not write trees from lto_output_tree_ref. * lto-streamer-in.c (lto_input_tree_ref): Handle LTO_namelist_decl_ref similar to LTO_imported_decl_ref. lto/ * lto.c (mentions_vars_p): Handle NAMELIST_DECL. (lto_fixup_prevailing_decls): Handle fixing up CONSTRUCTOR values. From-SVN: r207471
Richard Biener committed -
2014-02-04 Robert Dewar <dewar@adacore.com> * exp_ch5.adb, einfo.ads, freeze.adb, sem_ch8.adb: Minor reformatting. From-SVN: r207470
Robert Dewar committed -
2014-02-04 Gary Dismukes <dismukes@adacore.com> * sem_aggr.adb: Change "runtime" to "run time" in warning message, for consistency with other messages. 2014-02-04 Ed Schonberg <schonberg@adacore.com> * exp_ch5.adb (Expand_Iterator_Loop): For a container element iterator, indicate that the element is a constant if the container type does not have a variable indexing aspect. * sem_ch8.adb (Analyze_Object_Renaming): If the entity is already marked as constant, do not reset its Ekind, to ensure that container elements in an element loop are not modified if the container (e.g. a hashed set) only has a constant indexing aspect. 2014-02-04 Arnaud Charlet <charlet@adacore.com> * g-souinf.ads: Subprograms in this unit are actually not pure. * freeze.adb (Freeze_Subprogram): Do not reset Is_Pure for Intrinsics. * einfo.ads (Is_Pure): Update doc to match implementation. From-SVN: r207469
Arnaud Charlet committed -
2014-02-04 Gary Dismukes <dismukes@adacore.com> * exp_ch13.adb: Minor spelling fix. 2014-02-04 Robert Dewar <dewar@adacore.com> * opt.ads: Minor comment update. 2014-02-04 Robert Dewar <dewar@adacore.com> * exp_ch4.adb (Expand_N_Expression_With_Actions): Use Rewrite instead of Replace. 2014-02-04 Ed Schonberg <schonberg@adacore.com> * sem_aggr.adb (Resolve_Array_Aggregate): Suppress warnings on null expressions if component type is non-null, when the corresponding association covers an empty range of index values. From-SVN: r207468
Arnaud Charlet committed -
2014-02-04 Robert Dewar <dewar@adacore.com> * sinfo.ads: Further comments on N_Expression_With_Actions node. 2014-02-04 Hristian Kirtchev <kirtchev@adacore.com> * sem_prag.adb (Analyze_Refined_Depends_In_Decl_Part): Remove global variables Out_Items and Ref_Global. Remove local constant Body_Id along with dummy variables D1, D2, D3, D4, D5, D6, D7 and D8. Remove the useless collection of global items as this was a leftover from an earlier version of the routine. Move several routines out to avoid deep nesting and indentation. (Inputs_Match): Add formal parameter Dep_Clause. Rename formal parameter Do_Checks to Post_Errors. Update the comment on usage. (Is_Matching_Input): Renamed to Input_Match. Add formal parameters Ref_Inputs and Do_Checks. Rename formal parameter Do_Checks to Post_Errors. Update the comment on usage. Account for the case where a self referential state may have a null input_list. (Is_Self_Referential): New routine. 2014-02-04 Ed Schonberg <schonberg@adacore.com> * sem_ch13.adb (Analyze_Attribute_Definition_Clause): If the entity renames an expression, as in the case of an object of an unconstrained type initialized by a function call, defer the rewriting of the expression to the expander. * exp_ch13.adb (Expand_N_Attribute_Definition_Clause, case 'Alignment): If the entity renames an expression, introduce temporary to capture value, and rewrite original declaration to use temporary. From-SVN: r207467
Arnaud Charlet committed -
2014-02-04 Gary Dismukes <dismukes@adacore.com> * g-comlin.adb: Minor typo fix. 2014-02-04 Ed Schonberg <schonberg@adacore.com> * freeze.adb (Freeze_All): Types derived from a formal access_to_classwide type do not have a finalization master. 2014-02-04 Robert Dewar <dewar@adacore.com> * sprint.adb: Minor reformatting. 2014-02-04 Robert Dewar <dewar@adacore.com> * exp_ch4.adb (Expand_N_Expression_With_Actions): Eliminate cases where Actions is a null list. * sinfo.ads (N_Expression_With_Actions): Actions can be temporarily empty during semantic analysis, but must be non-empty in the final expanded tree. From-SVN: r207466
Arnaud Charlet committed -
re PR tree-optimization/60002 (ICE: SIGSEGV in skip_artificial_parms_for() with -O2 -fcompare-debug -fdeclone-ctor-dtor -fipa-cp-clone) PR tree-optimization/60002 * cgraphclones.c (build_function_decl_skip_args): Clear DECL_LANG_SPECIFIC. * g++.dg/opt/pr60002.C: New test. From-SVN: r207465
Jakub Jelinek committed -
re PR tree-optimization/60023 (ICE: verify_gimple failed: dead STMT in EH table with -O3 -fnon-call-exceptions -mavx2) PR tree-optimization/60023 * tree-if-conv.c (predicate_mem_writes): Pass true instead of false to gsi_replace. * tree-vect-stmts.c (vect_finish_stmt_generation): If stmt has been in some EH region and vec_stmt could throw, add vec_stmt into the same EH region. * tree-data-ref.c (get_references_in_stmt): If IFN_MASK_LOAD has no lhs, ignore it. * internal-fn.c (expand_MASK_LOAD): Likewise. * g++.dg/vect/pr60023.cc: New test. From-SVN: r207464
Jakub Jelinek committed -
PR ipa/60026 * tree-inline.c (copy_forbidden): Fail for __attribute__((optimize (0))) functions. * c-c++-common/torture/pr60026.c: New test. From-SVN: r207463
Jakub Jelinek committed -
PR other/58712 * omp-low.c (simd_clone_struct_copy): If from->inbranch is set, copy one less argument. (expand_simd_clones): Don't subtract clone_info->inbranch from simd_clone_struct_alloc argument. From-SVN: r207462
Jakub Jelinek committed -
PR other/58712 * omp-low.c (simd_clone_struct_copy): If from->inbranch is set, copy one less argument. From-SVN: r207461
Jakub Jelinek committed -
PR rtl-optimization/57915 * recog.c (simplify_while_replacing): If all unary/binary/relational operation arguments are constant, attempt to simplify those. * gcc.target/i386/pr57915.c: New test. From-SVN: r207460
Jakub Jelinek committed -
PR sanitizer/60055 * tsan/tsan_flags.cc (__tsan_default_options): Add SANITIZER_INTERFACE_ATTRIBUTE. Backport from upstream r200747. * tsan/tsan_rtl.cc (__tsan::OnFinalize): Likewise. From-SVN: r207459
Jakub Jelinek committed -
* g++.dg/init/dso_handle2.C: Compile with -fuse-cxa-atexit. From-SVN: r207458
Rainer Orth committed -
From-SVN: r207457
Renlin Li committed -
re PR middle-end/59261 (FAIL: gcc.dg/vect/bb-slp-26.c -flto -ffat-lto-objects (internal compiler error)) PR middle-end/59261 * expmed.c (expand_mult): For MODE_VECTOR_INT multiplication if there is no vashl<mode>3 or ashl<mode>3 insn, skip_synth. * gcc.dg/pr59261.c: New test. From-SVN: r207456
Jakub Jelinek committed -
2014-02-04 Richard Biener <rguenther@suse.de> PR tree-optimization/60012 * tree-vect-data-refs.c (vect_analyze_data_ref_dependence): Apply TBAA disambiguation to all DDRs. * gcc.dg/vect/pr60012.c: New testcase. From-SVN: r207455
Richard Biener committed -
gcc: PR target/59788 * config/sol2.h (LINK_LIBGCC_MAPFILE_SPEC): Define. (LINK_SPEC): Use it for -shared, -shared-libgcc. libgcc: PR target/59788 * config/t-slibgcc-sld (libgcc-unwind.map): New target. (install-libgcc-unwind-map-forbuild): New target. (all): Depend on install-libgcc-unwind-map-forbuild. (install-libgcc-unwind-map): New target. (install): Depend on install-libgcc-unwind-map. gcc/testsuite: PR target/59788 * g++.dg/eh/unwind-direct.C: New test. toplevel: PR target/59788 * ltmain.sh (opt_duplicate_compiler_generated_deps): Enable on *solaris2*. From-SVN: r207454
Rainer Orth committed -
* lib/tsan-dg.exp (tsan_init): Set trivial testcase timeout value to 20s. From-SVN: r207453
Uros Bizjak committed -
re PR sanitizer/60038 (AddressSanitizer CHECK failed ... "((*tls_addr + *tls_size)) <= ((*stk_addr + *stk_size))" on CentOS 5.10) PR sanitizer/60038 * sanitizer_common/sanitizer_linux_libcdep.cc: Include sanitizer_atomic.h and unistd.h. (kThreadDescriptorSize): Made static, remove initializer and const, change type to atomic_uintptr_t. (ThreadDescriptorSize): Use confstr(_CS_GNU_LIBC_VERSION, ...) to query glibc version, compute kThreadDescriptorSize depending on glibc version minor number. (GetThreadStackAndTls): Use ThreadDescriptorSize() instead of kThreadDescriptorSize directly. From-SVN: r207452
Jakub Jelinek committed -
PR ipa/59882 * tree.c (get_binfo_at_offset): Do not get confused by empty classes; * g++.dg/torture/pr59882.C: New testcase From-SVN: r207451
Jan Hubicka committed -
* gimple-fold.c (gimple_extract_devirt_binfo_from_cst): Remove. * gimple-fold.h (gimple_extract_devirt_binfo_from_cst): Remove. From-SVN: r207450
Jan Hubicka committed -
PR ipa/59469 * lto-symtab.c (lto_cgraph_replace_node, lto_varpool_replace_node): merge force_output and forced_by_abi flags. From-SVN: r207449
Jan Hubicka committed -
* ipa-cp.c (ipa_get_indirect_edge_target_1): Do direct lookup via vtable pointer; check for type consistency and turn inconsitent facts into UNREACHABLE. * ipa-prop.c (try_make_edge_direct_virtual_call): Likewise. * gimple-fold.c (gimple_get_virt_method_for_vtable): Do not ICE on type inconsistent querries; return UNREACHABLE instead. * testsuite/g++.dg/ipa/devirt-25.C: New testcase. From-SVN: r207448
Jan Hubicka committed -
* ipa-cp.c (ipa_get_indirect_edge_target_1): Do direct lookup via vtable pointer; check for type consistency and turn inconsitent facts into UNREACHABLE. * ipa-prop.c (try_make_edge_direct_virtual_call): Likewise. * gimple-fold.c (gimple_get_virt_method_for_vtable): Do not ICE on type inconsistent querries; return UNREACHABLE instead. * g++.dg/ipa/devirt-25.C: New testcase. From-SVN: r207447
Jan Hubicka committed -
PR tree-optimization/59924 * gcc.dg/pr59924.c: New test. From-SVN: r207446
Jakub Jelinek committed -
From-SVN: r207445
GCC Administrator committed
-
- 03 Feb, 2014 3 commits
-
-
PR tree-opt/59924 * tree-ssa-uninit.c (push_to_worklist): Don't re-push if we've already processed this node. (normalize_one_pred_1): Pass along mark_set. (normalize_one_pred): Create and destroy a pointer_set_t. (normalize_one_pred_chain): Likewise. From-SVN: r207442
Richard Henderson committed -
PR gcov-profile/58602 * gcc/gcov-io.c (gcov_open): Open with truncation when mode<0 From-SVN: r207441
Laurent Alfonsi committed -
PR ipa/59831 * g++.dg/ipa/devirt-24.C: New testcase. * ipa-cp.c (ipa_get_indirect_edge_target_1): Give up on -fno-devirtualize; Try to devirtualize by the knowledge of virtual table pointer given by aggregate propagation. * ipa-prop.c (try_make_edge_direct_virtual_call): Likewise. ipa_print_node_jump_functions): Dump also offset that is relevant for polymorphic calls. (determine_known_aggregate_parts): Add arg_type parameter; use it instead of determining the type from pointer type. (ipa_compute_jump_functions_for_edge): Update call of determine_known_aggregate_parts. * gimple-fold.c (gimple_get_virt_method_for_vtable): Break out from ... (gimple_get_virt_method_for_binfo): ... here; simplify using vtable_pointer_value_to_vtable. * gimple-fold.h (gimple_get_virt_method_for_vtable): Declare. * ipa-devirt.c (subbinfo_with_vtable_at_offset): Turn OFFSET parameter to unsigned HOST_WIDE_INT; Use vtable_pointer_value_to_vtable. (vtable_pointer_value_to_vtable): Break out from ...; handle also POINTER_PLUS_EXPR. (vtable_pointer_value_to_binfo): ... here. * ipa-utils.h (vtable_pointer_value_to_vtable): Declare. From-SVN: r207439
Jan Hubicka committed
-