1. 22 Mar, 2015 8 commits
    • IPA ICF: include hash values of references. · 3ab93359
      	* ipa-icf.c (sem_item::update_hash_by_addr_refs): New function.
      	(sem_item::update_hash_by_local_refs): Likewise.
      	(sem_variable::get_hash): Empty line is fixed.
      	(sem_item_optimizer::execute): Include adding of hash references.
      	(sem_item_optimizer::update_hash_by_addr_refs): New function.
      	(sem_item_optimizer::build_hash_based_classes): Use local hash.
      	* ipa-icf.h (sem_item::update_hash_by_addr_refs): New function.
      	(sem_item::update_hash_by_local_refs): Likewise.
      
      From-SVN: r221576
      Martin Liska committed
    • re PR libfortran/59513 (Fortran runtime error: Sequential READ or WRITE not… · 34d417be
      re PR libfortran/59513 (Fortran runtime error: Sequential READ or WRITE not allowed after EOF marker, possibly use REWIND or BACKSPACE)
      
      2015-03-22 Jerry DeLisle  <jvdelisle@gcc.gnu.org>
      
      	PR libgfortran/59513
      	* gfortran.texi (Read/Write after EOF marker): New information.
      
      From-SVN: r221575
      Jerry DeLisle committed
    • re PR ipa/65502 (pure-const should play well with clobbers.) · dcbde1f8
      
      	PR ipa/65502
      	* ipa-comdats.c (enqueue_references): Walk through thunks.
      	(ipa_comdats): Likewise.
      	(set_comdat_group_1): New function.
      
      From-SVN: r221574
      Jan Hubicka committed
    • add forgoten entry. · a6bfa7c7
      From-SVN: r221573
      Jan Hubicka committed
    • re PR libfortran/59513 (Fortran runtime error: Sequential READ or WRITE not… · 4bfbd309
      re PR libfortran/59513 (Fortran runtime error: Sequential READ or WRITE not allowed after EOF marker, possibly use REWIND or BACKSPACE)
      
      2015-03-22 Jerry DeLisle  <jvdelisle@gcc.gnu.org>
      
      	PR libgfortran/59513
      	* io/transfer.c (data_transfer_init): Do not error for
      	-std=legacy.
      
      From-SVN: r221572
      Jerry DeLisle committed
    • contrib.texi (Contributors): Update entry for Danny Smith. · ac48a1ba
      	* doc/contrib.texi (Contributors): Update entry for Danny Smith.
      
      Co-Authored-By: Gerald Pfeifer <gerald@pfeifer.com>
      
      From-SVN: r221570
      Dave Korn committed
    • nios2-protos.h (nios2_adjust_call_address): Adjust function parameter declaration. · a866d527
      2015-03-21  Chung-Lin Tang  <cltang@codesourcery.com>
      	    Sandra Loosemore  <sandra@codesourcery.com>
      
      	gcc/
      	* config/nios2/nios2-protos.h (nios2_adjust_call_address): Adjust
      	function parameter declaration.
      	* config/nios2/nios2.md (call,call_value,sibcall,sibcall_value):
      	Update arguments to nios2_adjust_call_address().
      	(sibcall_internal): Rename from *sibcall.
      	(sibcall_value_internal): Rename from *sibcall_value.
      	* config/nios2/nios2.c (nios2_emit_add_constant): New function.
      	(nios2_large_got_address): Add target temp reg parameter.
      	(nios2_got_address): Adjust call to nios2_large_got_address, add
      	force_reg around it.
      	(nios2_load_pic_address): Add target temp reg parameter, replace call
      	to nios2_got_address with corresponding code.
      	(nios2_legitimize_constant_address): Update call to
      	nios2_load_pic_address.
      	(nios2_adjust_call_address): Add temp reg parameter, update PIC case
      	to use temp reg for PIC loading purposes.
      	(nios2_asm_output_mi_thunk): Implement TARGET_ASM_OUTPUT_MI_THUNK.
      	(TARGET_ASM_CAN_OUTPUT_MI_THUNK): Define.
      	(TARGET_ASM_OUTPUT_MI_THUNK): Likewise.
      
      Co-Authored-By: Sandra Loosemore <sandra@codesourcery.com>
      
      From-SVN: r221569
      Chung-Lin Tang committed
    • Daily bump. · f409ce4c
      From-SVN: r221568
      GCC Administrator committed
  2. 21 Mar, 2015 11 commits
    • invoke.texi (-fno-diagnostics-show-caret): Fix usage of "the @option{...}". · 6d5c05f0
      2015-03-21  Sandra Loosemore  <sandra@codesourcery.com>
      
      	gcc/
      	* doc/invoke.texi (-fno-diagnostics-show-caret): Fix
      	usage of "the @option{...}".
      	(-Wopenmp-simd): Likewise.
      	(-fsanitize-recover): Likewise.
      	(-fsanitize-undefined-trap-on-error): Likewise.
      	(-flto): Likewise.
      	(tracer-dynamic-coverage-feedback): Likewise.
      	(reorder-block-duplicate-feedback): Likewise.
      	(loop-unroll-jam-size): Likewise.
      	(-B): Likewise.
      	(-I-): Likewise.
      	(-mabs=legacy): Likewise.
      	(-mupper-regs-df): Likewise.
      	(-mupper-regs-sf): Likewise.
      	(-mpointers-to-nested-functions): Likewise.
      
      From-SVN: r221564
      Sandra Loosemore committed
    • extend.texi (Cilk Plus Builtins): Add markup. · ce805a8d
      2015-03-21  Sandra Loosemore  <sandra@codesourcery.com>
      
      	gcc/
      	* doc/extend.texi (Cilk Plus Builtins): Add markup.
      
      From-SVN: r221559
      Sandra Loosemore committed
    • invoke.texi (-fcheck-pointer-bounds): Copy-edit, add additional index entries and cross-references. · 7651042e
      2015-03-21  Sandra Loosemore  <sandra@codesourcery.com>
      
      	gcc/
      	* doc/invoke.texi (-fcheck-pointer-bounds): Copy-edit, add
      	additional index entries and cross-references.
      	(-fchkp-check-incomplete-type): Likewise.
      	(-fchkp-first-field-has-own-bounds): Likewise.
      	(-fchkp-narrow-to-innermost-array): Likewise.
      	(-fchkp-use-fast-string-functions): Likewise.
      	(-fchkp-use-nochk-string-functions): Likewise.
      	(-fchkp-use-static-const-bounds): Likewise.
      	(-fchkp-treat-zero-dynamic-size-as-infinite): Likewise.
      	(-fchkp-instrument-marked-only): Likewise.
      	(-fchkp-use-wrappers): Likewise.
      	(-static-libmpx): Likewise.
      	(-static-libmpxwrappers): Likewise.
      	* doc/extend.texi (bnd_legacy): Likewise.
      	(bnd_instrument): Likewise.
      	(bnd_variable_size): Likewise.
      	(Pointer Bounds Checker builtins): Likewise.
      
      From-SVN: r221558
      Sandra Loosemore committed
    • reduction-4.c: Don't run on hppa*-*-hpux*. · 844d9a76
      	* testsuite/libgomp.oacc-c-c++-common/reduction-4.c: Don't run on
      	hppa*-*-hpux*.
      
      From-SVN: r221557
      John David Anglin committed
    • Fix ChangeLog year · 7ce3cec7
      From-SVN: r221554
      Mikael Morin committed
    • Fix ChangeLog formatting · 02ea2926
      From-SVN: r221553
      Mikael Morin committed
    • Put @{xxx} in one line · 2aec4543
      	* gfortran.texi (_gfortran_caf_sync_memory): Put @{xxx} in one
      	line.
      
      From-SVN: r221552
      H.J. Lu committed
    • Mark omp thread functions as parallelized · a79b7ec5
      2015-03-21  Tom de Vries  <tom@codesourcery.com>
      
      	PR tree-optimization/65458
      	* cgraph.c (cgraph_node::dump): Handle parallelized_function field.
      	* cgraph.h (cgraph_node): Add parallelized_function field.
      	* lto-cgraph.c (lto_output_node): Write parallelized_function field.
      	(input_overwrite_node): Read parallelized_function field.
      	* omp-low.c (expand_omp_taskreg, finalize_task_copyfn): Set
      	parallelized_function on cgraph_node for child_fn.
      	* tree-parloops.c: Add include of plugin-api.h, ipa-ref.h and cgraph.h.
      	Remove include of gt-tree-parloops.h.
      	(parallelized_functions): Remove static variable.
      	(parallelized_function_p): Rewrite using parallelized_function field of
      	cgraph_node.
      	(create_loop_fn): Remove adding to parallelized_functions.
      	* Makefile.in (GTFILES): Remove tree-parloops.c
      
      From-SVN: r221551
      Tom de Vries committed
    • 2015-03-21 Tobias Burnus <burnus@net-b.de> · 2691415b
              * gfortran.texi (_gfortran_caf_sync_all,
              * _gfortran_caf_sync_images,
              _gfortran_caf_sync_memory, _gfortran_caf_error_stop,
              _gfortran_caf_error_stop_str, _gfortran_caf_atomic_define,
              _gfortran_caf_atomic_ref, _gfortran_caf_atomic_cas,
              _gfortran_caf_atomic_op): New sections.
      
      From-SVN: r221550
      Tobias Burnus committed
    • trans-expr.c (gfc_get_tree_for_caf_expr): Reject unimplemented coindexed coarray accesses. · a684fb64
      2015-03-21  Tobias Burnus  <burnus@net-b.de>
      
              * trans-expr.c (gfc_get_tree_for_caf_expr): Reject unimplemented
              coindexed coarray accesses.
      
      2015-03-21  Tobias Burnus  <burnus@net-b.de>
      
              * gfortran.dg/coarray_38.f90: New.
              * gfortran.dg/coarray_39.f90: New.
              * gfortran.dg/coarray/coindexed_3.f90: Add dg-error, turn into
              compile test.
      
      From-SVN: r221549
      Tobias Burnus committed
    • Daily bump. · 506fdd17
      From-SVN: r221547
      GCC Administrator committed
  3. 20 Mar, 2015 14 commits
  4. 19 Mar, 2015 7 commits
    • re PR target/65240 (ICE (insn does not satisfy its constraints) on powerpc64le-linux-gnu) · 8d9fb9bb
      [gcc]
      2015-03-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
      
      	PR target/65240
      	* config/rs6000/predicates.md (easy_fp_constant): Remove special
      	-ffast-math handling that kept non-0 constants live in the RTL
      	until reload.  Remove logic testing the number of instructions it
      	took to create a constant in a GPR that was never used, due to a
      	test for soft-float earlier.
      	(memory_fp_constant): Delete, no longer used.
      
      	* config/rs6000/rs6000.md (mov<MODE>_hardfloat): Remove
      	alternatives for loading non-0 constants into GPRs for hard
      	floating point that is no longer needed due to changes in
      	easy_fp_constant.  Add support for loading 0.0 into GPRs.
      	(mov<mode>_hardfloat32): Likewise.
      	(mov<mode>_hardfloat64): Likewise.
      	(mov<mode>_64bit_dm): Likewise.
      	(movtd_64bit_nodm): Likewise.
      	(pre-reload move FP constant define_split): Delete define_split,
      	since it is no longer used.
      	(extenddftf2_internal): Remove GHF constraints that are not valid
      	for extenddftf2.
      
      [gcc/testsuite]
      2015-03-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
      
      	PR target/65240
      	* gcc/testsuite/g++.dg/pr65240.h: Add tests for PR 65240.
      	* gcc/testsuite/g++.dg/pr65240-1.C: Likewise.
      	* gcc/testsuite/g++.dg/pr65240-2.C: Likewise.
      	* gcc/testsuite/g++.dg/pr65240-3.C: Likewise.
      	* gcc/testsuite/g++.dg/pr65240-4.C: Likewise.
      
      From-SVN: r221524
      Michael Meissner committed
    • re PR rtl-optimization/63491 (Ice in LRA with simple vector test case on power) · ef0006eb
      2015-03-19  Vladimir Makarov  <vmakarov@redhat.com>
      
      	PR rtl-optimization/63491
      	* lra-constraints.c (check_and_process_move): Use src instead of
      	sreg.  Remove some dead code.
      
      2015-03-19  Vladimir Makarov  <vmakarov@redhat.com>
      
      	PR rtl-optimization/63491
      	* gcc.target/powerpc/pr63491.c: New.
      
      From-SVN: r221522
      Vladimir Makarov committed
    • re PR c++/65046 (-Wabi-tag doesn't warn about variables or function return types) · 7cb73573
      	PR c++/65046
      	Automatically propagate ABI tags to variables and functions
      	from their (return) type.
      	* class.c (check_tag): Handle variables and functions.
      	(mark_or_check_attr_tags): Split out from find_abi_tags_r.
      	(mark_or_check_tags): Likewise.
      	(mark_abi_tags): Use it.  Rename from mark_type_abi_tags.
      	(check_abi_tags): Add single argument overload for decls.
      	Handle inheriting tags for decls.
      	* mangle.c (write_mangled_name): Call it.
      	(mangle_return_type_p): Split out from write_encoding.
      	(unmangled_name_p): Split out from write_mangled_name.
      	(write_mangled_name): Ignore abi_tag on namespace.
      	* cp-tree.h (NAMESPACE_IS_INLINE): Replace NAMESPACE_ABI_TAG.
      	* parser.c (cp_parser_namespace_definition): Set it.
      	* name-lookup.c (handle_namespace_attrs): Use arguments. Warn
      	about abi_tag attribute on non-inline namespace.
      	* tree.c (check_abi_tag_args): Split out from handle_abi_tag_attribute.
      	(handle_abi_tag_attribute): Allow tags on variables.
      
      From-SVN: r221521
      Jason Merrill committed
    • c-decl.c (c_decl_attributes): Also add "omp declare target" attribute for DECL_EXTERNAL VAR_DECLs. · 9b65e171
      	* c-decl.c (c_decl_attributes): Also add "omp declare target"
      	attribute for DECL_EXTERNAL VAR_DECLs.
      
      	* decl2.c (cplus_decl_attributes): Also add "omp declare target"
      	attribute for DECL_EXTERNAL VAR_DECLs.
      
      	* testsuite/libgomp.c/target-10.c: New test.
      	* testsuite/libgomp.c++/target-4.C: New test.
      
      From-SVN: r221520
      Jakub Jelinek committed
    • re PR lto/65380 ([ICF] LTO: ICE in add_symbol_to_partition_1, at lto/lto-partition.c:158) · 257291fc
      Fix PR ipa/65380.
      
      	PR ipa/65380
      	* ipa-icf.c (sem_function::merge): Do not merge DECL_EXTERNAL symbols.
      	(sem_variable::merge): Likewise.
      
      From-SVN: r221519
      Jan Hubicka committed
    • re PR ipa/65465 (Internal compiler error: in build2_stIat) · e68287df
      Fix for PR ipa/65465.
      
      	PR ipa/65465
      	* cgraphunit.c (cgraph_node::create_wrapper): Correctly reset
      	all fields of cgraph_thunk_info.
      	* g++.dg/ipa/pr65465.C: New test.
      
      From-SVN: r221518
      Martin Liska committed
    • ipa-chkp.c (chkp_maybe_create_clone): Don't try to clone instrumented thunks. · 5cdd35db
      	* ipa-chkp.c (chkp_maybe_create_clone): Don't try to
      	clone instrumented thunks.
      
      From-SVN: r221516
      Ilya Enkovich committed