- 04 Jun, 2017 4 commits
-
-
Add missing file in the previous commit. From-SVN: r248862
Dominique d'Humieres committed -
2017-06-04 Dominique d'Humieres <dominiq@lps.ens.fr> * lib/fortran-modules.exp (igrep): New procedure, case insensitive vesrion of the dejagnu grep. (list-module-names): Use it and adjust the regular expressions for modules and submodules. * gfortran.dg/prof/prof.exp: Cleanup modules. * gfortran.dg/allocate_class_4.f90: Remove cleanup-(sub)?modules directives. * gfortran.dg/altreturn_8.f90: Likewise. * gfortran.dg/associate_12.f90: Likewise. * gfortran.dg/c_f_pointer_shape_test.f90: Likewise. * gfortran.dg/charlen_15.f90: Likewise. * gfortran.dg/class_4a.f03: Likewise. * gfortran.dg/class_54.f90: Likewise. * gfortran.dg/class_dummy_4.f03: Likewise. * gfortran.dg/class_dummy_5.f90: Likewise. * gfortran.dg/constructor_9.f90: Likewise. * gfortran.dg/dec_structure_15.f90: Likewise. * gfortran.dg/do_check_8.f90: Likewise. * gfortran.dg/dtio_26.f03: Likewise. * gfortran.dg/dynamic_dispatch_12.f90: Likewise. * gfortran.dg/equiv_9.f90: Likewise. * gfortran.dg/extends_15.f90: Likewise. * gfortran.dg/finalize_22.f90: Likewise. * gfortran.dg/finalize_23.f90: Likewise. * gfortran.dg/generic_26.f90: Likewise. * gfortran.dg/generic_27.f90: Likewise. * gfortran.dg/namelist_76.f90: Likewise. * gfortran.dg/pointer_init_8.f90: Likewise. * gfortran.dg/pr61318.f90: Likewise. * gfortran.dg/pr77260_1.f90: Likewise. * gfortran.dg/pr77260_2.f90: Likewise. * gfortran.dg/pr77420_3.f90: Likewise. * gfortran.dg/proc_ptr_39.f90: Likewise. * gfortran.dg/proc_ptr_41.f90: Likewise. * gfortran.dg/proc_ptr_42.f90: Likewise. * gfortran.dg/proc_ptr_comp_43.f90: Likewise. * gfortran.dg/submodule_1.f08: Likewise. * gfortran.dg/submodule_10.f08: Likewise. * gfortran.dg/submodule_14.f08: Likewise. * gfortran.dg/submodule_15.f08: Likewise. * gfortran.dg/submodule_2.f08: Likewise. * gfortran.dg/submodule_5.f08: Likewise. * gfortran.dg/submodule_6.f08: Likewise. * gfortran.dg/submodule_7.f08: Likewise. * gfortran.dg/submodule_8.f08: Likewise. * gfortran.dg/submodule_9.f08: Likewise. * gfortran.dg/transfer_class_2.f90: Likewise. * gfortran.dg/typebound_assignment_7.f90: Likewise. * gfortran.dg/typebound_call_24.f03: Likewise. * gfortran.dg/typebound_call_25.f90: Likewise. * gfortran.dg/typebound_deferred_1.f90: Likewise. * gfortran.dg/typebound_generic_12.f03: Likewise. * gfortran.dg/typebound_generic_13.f03: Likewise. * gfortran.dg/typebound_generic_14.f03: Likewise. * gfortran.dg/typebound_generic_15.f90: Likewise. * gfortran.dg/typebound_operator_16.f03: Likewise. * gfortran.dg/typebound_operator_18.f90: Likewise. * gfortran.dg/typebound_operator_20.f90: Likewise. * gfortran.dg/typebound_override_3.f90: Likewise. * gfortran.dg/typebound_override_4.f90: Likewise. * gfortran.dg/typebound_override_5.f90: Likewise. * gfortran.dg/typebound_override_6.f90: Likewise. * gfortran.dg/typebound_override_7.f90: Likewise. * gfortran.dg/typebound_proc_28.f03: Likewise. * gfortran.dg/typebound_proc_29.f90: Likewise. * gfortran.dg/typebound_proc_30.f90: Likewise. * gfortran.dg/typebound_proc_31.f90: Likewise. * gfortran.dg/typebound_proc_32.f90: Likewise. * gfortran.dg/typebound_proc_33.f90: Likewise. * gfortran.dg/unlimited_polymorphic_16.f90: Likewise. * gfortran.dg/unlimited_polymorphic_19.f90: Likewise. * gfortran.dg/unlimited_polymorphic_24.f03: Likewise. * gfortran.dg/use_only_3.f90: Likewise. * gfortran.dg/use_without_only_1.f90: Likewise. * gfortran.dg/warn_unused_function.f90: Likewise. * gfortran.dg/warn_unused_function_2.f90: Likewise. * gfortran.dg/ieee/ieee_8.f90: Likewise. From-SVN: r248861
Dominique d'Humieres committed -
PR c/80919 * c-format.c (matching_type_p): Return false if any of the types requires structural equality. * gcc.dg/format/pr80919.c: New test. From-SVN: r248860
Marek Polacek committed -
From-SVN: r248859
GCC Administrator committed
-
- 03 Jun, 2017 4 commits
-
-
* config/abi/post/powerpc-linux-gnu/baseline_symbols.txt: Update. From-SVN: r248854
Andreas Schwab committed -
* configure.ac (*-*-linux-android*): Set target_makefile_frag. * configure: Regenerate. config/ * mt-android: New file. libstdc++-v3/ * src/filesystem/dir.cc (fs::_Dir::advance): Use std::exchange. From-SVN: r248853
Eric Botcazou committed -
gcc/c-family/ChangeLog: PR c/80892 * c-warn.c (conversion_warning): Use -Wconversion for integer conversion and -Wfloat-conversion for floating one. gcc/testsuite/ChangeLog: PR c/80892 * c-c++-common/Wfloat-conversion-2.c: New test. From-SVN: r248852
Martin Sebor committed -
From-SVN: r248851
GCC Administrator committed
-
- 02 Jun, 2017 28 commits
-
-
2017-06-02 Paolo Carlini <paolo.carlini@oracle.com> PR c++/68754 * g++.dg/cpp1y/constexpr-68754.C: New. From-SVN: r248847
Paolo Carlini committed -
gcc/ChangeLog: 2017-06-02 Carl Love <cel@us.ibm.com> * config/rs6000/rs6000-c: Add support for built-in functions vector double vec_doublee (vector signed int); vector double vec_doublee (vector unsigned int); vector double vec_doublee (vector float); vector double vec_doubleh (vector signed int); vector double vec_doubleh (vector unsigned int); vector double vec_doubleh (vector float); vector double vec_doublel (vector signed int); vector double vec_doublel (vector unsigned int); vector double vec_doublel (vector float); vector double vec_doubleo (vector signed int); vector double vec_doubleo (vector unsigned int); vector double vec_doubleo (vector float);. * config/rs6000/rs6000-builtin.def: Add definitions for DOUBLEE, DOUBLEO, DOUBLEH, DOUBLEL, UNS_DOUBLEO, UNS_DOUBLEE, UNS_DOUBLEH, UNS_DOUBLEL. * config/rs6000/altivec.md: Add code generator for doublee<mode>2, unsdoubleev4si2, doubleo<mode>2, unsdoubleov4si2, doubleh<mode>2, unsdoublehv4si2, doublel<mode>2, unsdoublelv4si2, add mode attribute VS_sxwsp. * config/rs6000/altivec.h: Add define for vec_doublee, vec_doubleo, vec_doublel, vec_doubleh. * doc/extend.texi: Update the built-in documentation file for the new built-in functions. 2017-06-02 Carl Love <cel@us.ibm.com> gcc/testsuite/ChangeLog: * gcc.target/powerpc/builtins-3-runnable.c: New file of runnable tests for the new built-ins. From-SVN: r248846
Carl Love committed -
PR libstdc++/80624 * doc/xml/manual/status_cxx2011.xml: Document to_int_type behaviour. * include/bits/char_traits.h (char_traits<char16_t>::to_int_type): Transform eof value to U+FFFD. * testsuite/21_strings/char_traits/requirements/char16_t/eof.cc: New. * testsuite/27_io/basic_streambuf/sgetc/char16_t/80624.cc: New. * testsuite/27_io/basic_streambuf/sputc/char16_t/80624.cc: New. From-SVN: r248843
Jonathan Wakely committed -
gcc/ChangeLog: PR jit/80954 * ipa-inline-analysis.c (free_growth_caches): Set edge_removal_hook_holder to NULL after removing it. From-SVN: r248841
David Malcolm committed -
From-SVN: r248839
Olivier Hainque committed -
2017-06-02 Olivier Hainque <hainque@adacore.com> * config/vxlib.c (__gthread_once): Add missing value to nested return statement. From-SVN: r248838
Olivier Hainque committed -
2017-06-02 Olivier Hainque <hainque@adacore.com> * vx_crtbegin_auto.c: New file. * vx_crtbegin.c: New file. * vx_crtbegin.inc: New file. * vx_crtend.c: New file. From-SVN: r248837
Olivier Hainque committed -
gcc/ * config/aarch64/aarch64.c (aarch64_select_cc_mode): Return CC_SWP for comparision with zero. gcc/testsuite/ * gcc.target/aarch64/cmp_shifted_reg_1.c: New. From-SVN: r248836
Sudakshina Das committed -
* config/aarch64/aarch64-simd.md (*aarch64_simd_vec_copy_lane<mode>): Use VALL_F16 iterator rather than VALL. * gcc.target/aarch64/hfmode_ins_1.c: New test. From-SVN: r248835
Kyrylo Tkachov committed -
rs6000.c (rs6000_gimple_fold_builtin): Add handling for early expansion of vec_min and vec_max builtins. [gcc] 2017-06-02 Will Schmidt <will_schmidt@vnet.ibm.com> * config/rs6000/rs6000.c (rs6000_gimple_fold_builtin): Add handling for early expansion of vec_min and vec_max builtins. (builtin_function_type): Add min/max unsigned variants to those identified as having unsigned arguments. [gcc/testsuite] 2017-06-02 Will Schmidt <will_schmidt@vnet.ibm.com> * testsuite/gcc.target/powerpc/fold-vec-minmax-char.c: New. * testsuite/gcc.target/powerpc/fold-vec-minmax-floatdouble.c: New. * testsuite/gcc.target/powerpc/fold-vec-minmax-int.c: New. * testsuite/gcc.target/powerpc/fold-vec-minmax-longlong.c: New. * testsuite/gcc.target/powerpc/fold-vec-minmax-short.c: New. From-SVN: r248834
Will Schmidt committed -
2017-06-02 Olivier Hainque <hainque@adacore.com> * config/vx-common.h (DWARF_UNWIND_INFO): Switch #define to 1. From-SVN: r248833
Olivier Hainque committed -
* config/aarch64/aarch64.c (aarch64_split_compare_and_swap): Emit CBNZ inside loop when doing a strong exchange and comparing against zero. Generate the CC flags after the loop. * gcc.target/aarch64/atomic_cmp_exchange_zero_strong_1.c: New test. From-SVN: r248832
Kyrylo Tkachov committed -
* dwarf2out.c (DWARF_INITIAL_LENGTH_SIZE_STR): New. (dl_section_ref): New. (dwarf2out_finish): Copy debug_line_section_label to dl_section_ref. On AIX, append an expression to subtract the size of the section length to dl_section_ref. From-SVN: r248831
David Edelsohn committed -
rs6000.c (rs6000_gimple_fold_builtin): Add handling for early expansion of vector absolute builtins. [gcc] 2017-05-31 Will Schmidt <will_schmidt@vnet.ibm.com> * config/rs6000/rs6000.c (rs6000_gimple_fold_builtin): Add handling for early expansion of vector absolute builtins. [gcc/testsuite] 2017-05-31 Will Schmidt <will_schmidt@vnet.ibm.com> * gcc.target/powerpc/fold-vec-abs-char.c: New. * gcc.target/powerpc/fold-vec-abs-floatdouble.c: New. * gcc.target/powerpc/fold-vec-abs-int.c: New. * gcc.target/powerpc/fold-vec-abs-longlong.c: New. * gcc.target/powerpc/fold-vec-abs-short.c: New. * gcc.target/powerpc/fold-vec-abs-char-fwrapv.c: New. * gcc.target/powerpc/fold-vec-abs-int-fwrapv.c: New. * gcc.target/powerpc/fold-vec-abs-longlong-fwrapv.c: New. * gcc.target/powerpc/fold-vec-abs-short-fwrapv.c: New. From-SVN: r248830
Will Schmidt committed -
Changlogs: cp/ Remove lang_type_ptrmem. * cp-tree.h (lang_type_header): Remove is_lang_type_class. Move into ... (lang_type_class): ... this. Reorder bitfields. Rename to ... (lang_type): ... this. Delete old definition. (lang_type_ptrmem): Delete. (LANG_TYPE_CLASS_CHECK): Simply get TYPE_LANG_SPECIFIC. Adjust uses. (LANG_TYPE_PTRMEM_CHECK): Delete. (TYPE_GET_PTRMEMFUNC_TYPE, TYPE_SET_PTRMEMFUNC_TYPE): Delete. (TYPE_PTRMEMFUNC_TYPE): New. Use TYPE_LANG_SLOT_1. * decl.c (build_ptrmemfunc_type): Adjust. * lex.c (copy_lang_type): Remove lang_type_ptrmem handling. (maybe_add_lang_type_raw): Don't set u.c.h.is_lang_type_class. objcp/ * objcp-decl.h (SIZEOF_OBJC_TYPE_LANG_SPECIFIC): Use lang_type. (ALLOC_OBJC_TYPE_LANG_SPECIFIC): Use it. Don't set u.c.h.is_lang_type_class. From-SVN: r248827
Nathan Sidwell committed -
cp/ Remove lang_type_ptrmem. * cp-tree.h (lang_type_header): Remove is_lang_type_class. Move into ... (lang_type_class): ... this. Reorder bitfields. Rename to ... (lang_type): ... this. Delete old definition. (lang_type_ptrmem): Delete. (LANG_TYPE_CLASS_CHECK): Simply get TYPE_LANG_SPECIFIC. Adjust uses. (LANG_TYPE_PTRMEM_CHECK): Delete. (TYPE_GET_PTRMEMFUNC_TYPE, TYPE_SET_PTRMEMFUNC_TYPE): Delete. (TYPE_PTRMEMFUNC_TYPE): New. Use TYPE_LANG_SLOT_1. * decl.c (build_ptrmemfunc_type): Adjust. * lex.c (copy_lang_type): Remove lang_type_ptrmem handling. (maybe_add_lang_type_raw): Don't set u.c.h.is_lang_type_class. objcp/ * objcp-decl.h (SIZEOF_OBJC_TYPE_LANG_SPECIFIC): Use lang_type. (ALLOC_OBJC_TYPE_LANG_SPECIFIC): Use it. Don't set u.c.h.is_lang_type_class. From-SVN: r248826
Nathan Sidwell committed -
tree-vect-slp.c (vect_detect_hybrid_slp_2): Match up what we consider a relevant use stmt with vect_detect_hybrid_slp_stmts. 2017-06-02 Richard Biener <rguenther@suse.de> * tree-vect-slp.c (vect_detect_hybrid_slp_2): Match up what we consider a relevant use stmt with vect_detect_hybrid_slp_stmts. From-SVN: r248825
Richard Biener committed -
re PR tree-optimization/80948 (test case gcc.dg/torture/pr68017.c fails with ICE starting with r248771) 2017-06-02 Richard Biener <rguenther@suse.de> PR tree-optimization/80948 * tree-tailcall.c (find_tail_calls): Track stmts to move in stmt order as well. From-SVN: r248824
Richard Biener committed -
* libsupc++/Makefile.am: Remove custom targets for files that need to be compiled as C++11 or C++14. * libsupc++/Makefile.in: Regenerate. * libsupc++/del_ops.cc: Use pragma to disable -Wsized-deallocation warnings. * libsupc++/del_opvs.cc: Likewise. From-SVN: r248823
Jonathan Wakely committed -
* name-lookup.h (cp_binding_level): Lose namespaces field. * name-lookup.c (add_decl_to_level): Chain namespaces on the names list. (suggest_alternatives_for): Adjust for namespace list. Do breadth-first search. * decl2.c (collect_source_refs): Namespaces are on the regulr list. (collect_ada_namespace): Likewise. * g++.dg/pr45330.C: Adjust. Check breadth-firstness. From-SVN: r248821
Nathan Sidwell committed -
2017-06-02 Richard Biener <rguenther@suse.de> * tree-vect-loop.c (vect_analyze_loop_operations): Not relevant PHIs are ok. * tree-vect-stmts.c (process_use): Do not mark backedge defs for inductions as relevant. From-SVN: r248820
Richard Biener committed -
2017-06-02 Richard Biener <rguenther@suse.de> * tree-vect-loop.c (get_initial_def_for_induction): Inline into ... (vectorizable_induction): ... this. Remove dead code. From-SVN: r248819
Richard Biener committed -
infer its value from the first parameter instead. (expand_builtin) <BUILT_IN_ALLOCA>: Adjust call to above. From-SVN: r248818
Eric Botcazou committed -
2017-06-02 Richard Biener <rguenther@suse.de> Markus Eisenmann <meisenmann.lba@fh-salzburg.ac.at> PR libstdc++/80721 * libsupc++/eh_alloc.cc (pool::free): Keep list properly sorted and add missing freelist item merging cases. Co-Authored-By: Markus Eisenmann <meisenmann.lba@fh-salzburg.ac.at> From-SVN: r248816
Richard Biener committed -
re PR rtl-optimization/80903 (ICE: internal consistency failure (error: invalid rtl sharing found in the insn)) PR rtl-optimization/80903 * loop-doloop.c (add_test): Unshare sequence. * gcc.dg/pr80903.c: New test. From-SVN: r248815
Jakub Jelinek committed -
PR fortran/80918 * openmp.c (resolve_omp_clauses): Fix a typo. * gfortran.dg/gomp/pr80918.f90: New test. From-SVN: r248812
Jakub Jelinek committed -
gcc: 2017-06-02 Bernd Edlinger <bernd.edlinger@hotmail.de> * doc/invoke.texi: Document the -Wsizeof-pointer-div warning. gcc/c-family: 2017-06-02 Bernd Edlinger <bernd.edlinger@hotmail.de> * c.opt (Wsizeof-pointer-div): New warning option. gcc/c: 2017-06-02 Bernd Edlinger <bernd.edlinger@hotmail.de> * c-parser.c (c_parser_binary_expression): Implement the -Wsizeof_pointer_div warning. (c_parser_postfix_expression): Allow SIZEOF_EXPR as expr.original_code from a parenthesized expression. (c_parser_expr_list): Use c_last_sizeof_loc. * c-tree.h (c_last_sizeof_loc): New external. * c-typeck.c (c_last_sizeof_loc): New variable. (c_expr_sizeof_expr, c_expr_sizeof_type): Assign c_last_sizeof_loc. gcc/cp: 2017-06-02 Bernd Edlinger <bernd.edlinger@hotmail.de> * typeck.c (cp_build_binary_op): Implement the -Wsizeof_pointer_div warning. gcc/testsuite: 2017-06-02 Bernd Edlinger <bernd.edlinger@hotmail.de> * c-c++-common/Wsizeof-pointer-div.c: New test. * gcc.dg/Wsizeof-pointer-memaccess1.c: Add test cases with parens. * gcc.dg/torture/Wsizeof-pointer-memaccess1.c: Likewise. * gcc.target/i386/sse-init-v4hi-1.c: Fix test case. * gcc.target/i386/sse-init-v4sf-1.c: Likewise. * gcc.target/i386/sse-set-ps-1.c: Likewise. * gcc.target/i386/sse2-init-v16qi-1.c: Likewise. * gcc.target/i386/sse2-init-v2di-1.c: Likewise. * gcc.target/i386/sse2-init-v4si-1.c: Likewise. * gcc.target/i386/sse2-init-v8hi-1.c: Likewise. * gcc.target/i386/sse2-set-epi32-1.c: Likewise. * gcc.target/i386/sse2-set-epi64x-1.c: Likewise. * gcc.target/i386/sse4_1-init-v16qi-1.c: Likewise. * gcc.target/i386/sse4_1-init-v2di-1.c: Likewise. * gcc.target/i386/sse4_1-init-v4sf-1.c: Likewise. * gcc.target/i386/sse4_1-init-v4si-1.c: Likewise. * gcc.target/i386/sse4_1-set-epi32-1.c: Likewise. * gcc.target/i386/sse4_1-set-epi64x-1.c: Likewise. * gcc.target/i386/sse4_1-set-ps-1.c: Likewise. * libgomp.c/pr39591-2.c: Likewise. * libgomp.c/pr39591-3.c: Likewise. From-SVN: r248811
Bernd Edlinger committed -
From-SVN: r248810
GCC Administrator committed
-
- 01 Jun, 2017 4 commits
-
-
[gcc/testsuite] 2017-05-26 Will Schmidt <will_schmidt@vnet.ibm.com> * gcc.target/powerpc/fold-vec-logical-ors-longlong.c: Update the target to power8-vector. From-SVN: r248805
Will Schmidt committed -
From-SVN: r248802
Joseph Myers committed -
gcc/testsuite/ChangeLog: * lib/gcc-dg.exp: Ensure GCC_COLORS is unset. From-SVN: r248800
David Malcolm committed -
2017-06-01 Bernd Edlinger <bernd.edlinger@hotmail.de> * config/i386/i386.c (x86_64_ms_sysv_extra_clobbered_registers): Make static. (xlogue_layout::get_stack_space_used, xlogue_layout::s_instances, xlogue_layout::get_instance, logue_layout::xlogue_layout, sp_valid_at, fp_valid_at, choose_basereg): Formatting. (xlogue_layout::get_stub_rtx): Make static. (xlogue_layout::get_stub_name): Avoid const-cast, make static. (xlogue_layout::compute_stub_managed_regs): Rename to... (xlogue_layout::count_stub_managed_regs): ...this. (xlogue_layout::is_stub_managed_reg): New function. (xlogue_layout::m_stub_names): Rename to... (xlogue_layout::s_stub_names): ...this, make static. (xlogue_layout::STUB_INDEX_OFFSET, xlogue_layout::MIN_REGS, xlogue_layout::MAX_REGS, xlogue_layout::MAX_EXTRA_REGS, xlogue_layout::VARIANT_COUNT, xlogue_layout::STUB_NAME_MAX_LEN, xlogue_layout::s_stub_names): Instantiate statics. (stub_managed_regs): Remove. (ix86_save_reg): Use xlogue_layout::compute_stub_managed_regs. (disable_call_ms2sysv_xlogues): Rename to... (warn_once_call_ms2sysv_xlogues): ...this, and warn only once. (ix86_initial_elimination_offset, ix86_expand_call): Fix call_ms2sysv warning logic. (ix86_static_chain): Make sure that ix86_static_chain_on_stack can't change after reload_completed. (ix86_can_use_return_insn_p): Use the ix86_frame data structure directly. (ix86_expand_prologue): Likewise. (ix86_expand_epilogue): Likewise. (ix86_expand_split_stack_prologue): Likewise. (ix86_compute_frame_layout): Remove frame parameter ... (TARGET_COMPUTE_FRAME_LAYOUT): ... and export it as a target hook. (ix86_finalize_stack_realign_flags): Call ix86_compute_frame_layout only if necessary. (ix86_init_machine_status): Don't set use_fast_prologue_epilogue_nregs. (ix86_frame): Move from here ... * config/i386/i386.h (ix86_frame): ... to here. (machine_function): Remove use_fast_prologue_epilogue_nregs, cache the complete ix86_frame data structure instead. Remove some_ld_name. From-SVN: r248798
Bernd Edlinger committed
-