- 22 Mar, 2015 2 commits
-
-
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 -
From-SVN: r221568
GCC Administrator committed
-
- 21 Mar, 2015 11 commits
-
-
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 -
2015-03-21 Sandra Loosemore <sandra@codesourcery.com> gcc/ * doc/extend.texi (Cilk Plus Builtins): Add markup. From-SVN: r221559
Sandra Loosemore committed -
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 -
* testsuite/libgomp.oacc-c-c++-common/reduction-4.c: Don't run on hppa*-*-hpux*. From-SVN: r221557
John David Anglin committed -
From-SVN: r221554
Mikael Morin committed -
From-SVN: r221553
Mikael Morin committed -
* gfortran.texi (_gfortran_caf_sync_memory): Put @{xxx} in one line. From-SVN: r221552
H.J. Lu committed -
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 -
* 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 -
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 -
From-SVN: r221547
GCC Administrator committed
-
- 20 Mar, 2015 14 commits
-
-
PR c++/65398 * constexpr.c (cxx_fold_indirect_ref): Transform *(&A[i] p+ j) into A[i + j]. * g++.dg/cpp0x/pr65398.C: New test. From-SVN: r221544
Marek Polacek committed -
PR ipa/65475 * ipa-devirt.c (add_type_duplicate): Prevail polymorphic type over non-polymorphic * g++.dg/lto/pr65475_0.C: New testcase. * g++.dg/lto/pr65475_1.C: New testcase. From-SVN: r221542
Jan Hubicka committed -
2015-03-20 Vladimir Makarov <vmakarov@redhat.com> PR rtl-optimization/64366 * lra.c (lra_update_insn_regno_info): Consider regs in CALL_INSN_FUNCTION_USAGE memory. 2015-03-20 Vladimir Makarov <vmakarov@redhat.com> PR rtl-optimization/64366 * gcc.target/sh/pr64366.c: New. From-SVN: r221541
Vladimir Makarov committed -
2015-03-20 Paolo Carlini <paolo.carlini@oracle.com> PR c++/48324 * g++.dg/cpp0x/constexpr-48324.C: New. From-SVN: r221539
Paolo Carlini committed -
* testsuite/17_intro/headers/c++1998/all_attributes.cc: Disable test for unused for ARM. * testsuite/17_intro/headers/c++200x/all_attributes.cc: Likewise. * testsuite/17_intro/headers/c++2014/all_attributes.cc: Likewise. From-SVN: r221538
James Greenhalgh committed -
2015-03-20 Paolo Carlini <paolo.carlini@oracle.com> PR c++/48453 * g++.dg/cpp0x/pr48453.C: New. From-SVN: r221537
Paolo Carlini committed -
PR c++/65072 * typeck.c (lookup_anon_field): Make sure we're dealing with the main variant. * g++.dg/cpp0x/pr65072.C: New test. From-SVN: r221535
Marek Polacek committed -
* include/bits/c++config (__gnu_cxx::__cxx11): Define new namespace. * include/ext/codecvt_specializations.h (encoding_state, encoding_char_traits): Remove abi-tag and use inline namespace. * testsuite/ext/profile/mutex_extensions_neg.cc: Adjust dg-error line. From-SVN: r221533
Jonathan Wakely committed -
2015-03-20 Richard Biener <rguenther@suse.de> PR middle-end/64715 * tree-chrec.c (chrec_fold_poly_cst): Use useless_type_conversion_p for type comparison and gcc_checking_assert. (chrec_fold_plus_poly_poly): Likewise. (chrec_fold_multiply_poly_poly): Likewise. (chrec_convert_1): Likewise. * gimplify.c (gimplify_expr): Remove premature folding of &X + CST to &MEM[&X, CST]. * gcc.dg/pr15347.c: Use -O. * c-c++-common/pr19807-1.c: Likewise. From-SVN: r221532
Richard Biener committed -
PR ada/65451 * gcc-interface/utils.c (gnat_pushdecl): Tidy up and improve comment. Make sure to chain only main variants through TYPE_NEXT_PTR_TO. From-SVN: r221531
Eric Botcazou committed -
* ipa-inline.c (can_inline_edge_p): Short circuit if inline_failed already is final. (ipa_inline): Recompute inline_failed codes. * cif-code.def (FUNCTION_NOT_OPTIMIZED, REDEFINED_EXTERN_INLINE, USES_COMDAT_LOCAL, ATTRIBUTE_MISMATCH, UNREACHABLE): Declare as CIF_FINAL_ERROR. From-SVN: r221530
Jan Hubicka committed -
re PR rtl-optimization/60851 (ICE: in extract_constrain_insn_cached, at recog.c:2117 with -flive-range-shrinkage -mdispatch-scheduler -march=bdver4) PR rtl-optimization/60851 * recog.c (constrain_operands): Accept a pseudo register before reload for LRA enabled targets. testsuite/ChangeLog: PR rtl-optimization/60851 * gcc.target/i386/pr60851.c: New test. From-SVN: r221529
Uros Bizjak committed -
From-SVN: r221528
Vladimir Makarov committed -
From-SVN: r221527
GCC Administrator committed
-
- 19 Mar, 2015 13 commits
-
-
[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 -
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 -
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. * 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 -
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 -
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. From-SVN: r221516
Ilya Enkovich committed -
2015-03-19 Richard Biener <rguenther@suse.de> Revert 2015-03-10 Richard Biener <rguenther@suse.de> PR middle-end/63155 * tree-ssa-coalesce.h (verify_ssa_coalescing): Declare. * tree-ssa-coalesce.c: Include timevar.h. (attempt_coalesce): Handle graph being NULL. (coalesce_partitions): Call verify_ssa_coalescing if ENABLE_CHECKING. Split out abnormal coalescing to ... (perform_abnormal_coalescing): ... this function. (coalesce_ssa_name): Perform abnormal coalescing without computing live/conflict. (verify_ssa_coalescing_worker): New function. (verify_ssa_coalescing): Likewise. From-SVN: r221515
Richard Biener committed -
2015-03-19 Richard Biener <rguenther@suse.de> * partition.h (struct partition_elem): Re-order elements to avoid padding. From-SVN: r221514
Richard Biener committed -
re PR c++/52659 (GCC fails to reject a deleted function definition which is not the first declaration) 2015-03-19 Paolo Carlini <paolo.carlini@oracle.com> PR c++/52659 * g++.dg/cpp0x/deleted11.C: New. From-SVN: r221513
Paolo Carlini committed -
PR sanitizer/65400 * tsan.c (instrument_gimple): Clear tail call flag on calls. * c-c++-common/tsan/pr65400-3.c: New test. From-SVN: r221512
Jakub Jelinek committed -
2015-03-19 Paolo Carlini <paolo.carlini@oracle.com> PR c++/59686 * g++.dg/cpp0x/constexpr-59686.C: New. From-SVN: r221510
Paolo Carlini committed -
PR sanitizer/64265 * g++.dg/tsan/pr64265.C: New test. From-SVN: r221509
Jakub Jelinek committed
-