Merge remote-tracking branch 'gnu/master' into 5.0.0
2014-10-06  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

	* config/rs6000/rs6000.c (analyze_swaps commentary): Add
	discussion of permutes and why we don't handle them.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@215951 138bc75d-0d04-0410-961f-82ee72b054a4
2014-10-06  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
	    Jonathan Wakely  <jwakely@redhat.com>

	PR libstdc++/59987
	* doc/xml/manual/status_cxx2011.xml: Remove hexfloat from notes.
	* doc/html/manual/status.html: Regenerate.
	* include/bits/ios_base.h (hexfloat): New function.
	(defaultfloat): New function.
	* src/c++98/locale_facets.cc (__num_base::_S_format_float): Support
	hexadecimal floating point format.
	* testsuite/27_io/basic_ostream/inserters_arithmetic/char/hexfloat.cc:
	New file.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@215952 138bc75d-0d04-0410-961f-82ee72b054a4
/cp
2014-10-06  Paolo Carlini  <paolo.carlini@oracle.com>

	PR c++/55250
	* semantics.c (check_constexpr_bind_expr_vars): New.
	(check_constexpr_ctor_body, massage_constexpr_body): Use it.
	(build_constexpr_constructor_member_initializers): Handle
	BIND_EXPR in the main conditional.

/testsuite
2014-10-06  Paolo Carlini  <paolo.carlini@oracle.com>

	PR c++/55250
	* g++.dg/cpp0x/constexpr-type-decl1.C: New.
	* g++.dg/cpp0x/constexpr-type-def1.C: Likewise.
	* g++.dg/cpp1y/constexpr-type-def1.C: Likewise.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@215954 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/c-family:

2014-10-06  Edward Smith-Rowland  <3dw4rd@verizon.net>

	* c-family/c-cppbuiltin.c: Move __cpp_attribute_deprecated to the
	C++11 section.


gcc/cp:

2014-10-06  Edward Smith-Rowland  <3dw4rd@verizon.net>

	* cp/parser.c: Allow [[deprecated]] for C++11.  Issue a pedwarn.


gcc/testsuite:

2014-10-06  Edward Smith-Rowland  <3dw4rd@verizon.net>

	* g++.dg/cpp1y/attr-deprecated-neg.C: Attribute no longer ignored.
	* g++.dg/cpp1y/feat-cxx11-neg.C: Comment out __cpp_attribute_deprecated test.
	* g++.dg/cpp1y/feat-cxx11.C: Add __cpp_attribute_deprecated test.




git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@215957 138bc75d-0d04-0410-961f-82ee72b054a4
	* calls.c (expand_call): Do not use the target as the return slot if
	it is not sufficiently aligned.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@215958 138bc75d-0d04-0410-961f-82ee72b054a4
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@215961 138bc75d-0d04-0410-961f-82ee72b054a4
2014-10-06  Rong Xu  <xur@google.com>

	* gcc/Makefile.in: Fix dependence.
	* gcc/gcov-counter.def (GCOV_COUNTER_ICALL_TOPNV): Add
        indirect call topn profiler.
	* gcc/gcov-io.h: Ditto.
	* libgcc/Makefile.in: Ditto.
	* libgcc/libgcov-driver.c (gcov_sort_n_vals): New utility function.
	(gcov_sort_icall_topn_counter): Ditto.
	(gcov_sort_topn_counter_arrays): Ditto.
	(dump_one_gcov): Sort indirect_call topn counters.
	* libgcc/libgcov-merge.c (__gcov_merge_icall_topn): New merge
        function.
	* libgcc/libgcov-profiler.c (__gcov_topn_value_profiler_body): New
        utility function.
	(__gcov_indirect_call_topn_profiler): New profiler function.
	* libgcc/libgcov-util.c (__gcov_icall_topn_counter_op): New.
	* libgcc/libgcov.h: New decls.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@215962 138bc75d-0d04-0410-961f-82ee72b054a4
2014-10-06  Rong Xu  <xur@google.com>

	* gcc/params.def (PARAM_INDIR_CALL_TOPN_PROFILE): New param.
	* gcc/tree-profile.c: (params.h): New include.
        (init_ic_make_global_vars): Make __gcov_indirect_call_topn_callee
        and __gcov_indirect_call_topn_counters for
        indirect_call_topn_profile.
	(gimple_init_edge_profiler): New decls for 
        __gcov_indirect_call_topn_profiler.
	(gimple_gen_ic_profiler): Generate the correct profiler call.
	(gimple_gen_ic_func_profiler): Fix format.
	* gcc/value-prof.c (params.h): New include.
        (dump_histogram_value): Hanlde indirect_call_topn counters.
	(stream_in_histogram_value): Ditto.
	(gimple_indirect_call_to_profile): Use indirect_call_topn
        profile when PARAM_INDIR_CALL_TOPN_PROFILE is set.
	(gimple_find_values_to_profile): Hanlde indirect_call_topn
        counters.
	* gcc/value-prof.h (enum hist_type): Histrogram type for
        indirect_call_topn counters.
	* gcc/profile.c (instrument_values): Instrument
        indirect_call_topn counters.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@215963 138bc75d-0d04-0410-961f-82ee72b054a4
	* c-convert.c (convert): Use error_operand_p.
	* c-typeck.c (require_complete_type): Likewise.
	(really_atomic_lvalue): Likewise.
	(digest_init): Likewise.
	(handle_omp_array_sections_1): Likewise.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@215964 138bc75d-0d04-0410-961f-82ee72b054a4
	* lto-opts.c (lto_write_options): Handle -fmath-errno, -fsigned-zeros
	and -ftrapping-math.
	* lto-wrapper.c (merge_and_complain): Likewise.
	(run_gcc): Likewise.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@215966 138bc75d-0d04-0410-961f-82ee72b054a4
	* g++.dg/lto/pr63270.h: New test.
	* g++.dg/lto/pr63270_0.C (int main): Implementation replaced with
	include.
	* g++.dg/lto/pr63270_2.C: New test.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@215967 138bc75d-0d04-0410-961f-82ee72b054a4
	* cgraph.h (cgraph_node::get_fun): Declare.
	* cgraph.c (cgraph_node::get_fun): New method.
	* ipa-inline.c (can_inline_edge_p): Use it.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@215968 138bc75d-0d04-0410-961f-82ee72b054a4
	* jvgenmain.c (main): Provide declarations for JvRunMain{,Name}.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@215969 138bc75d-0d04-0410-961f-82ee72b054a4
Use long long instead of long in adx intrinsics.

2014-10-02  Ilya Tocar  <ilya.tocar@intel.com>

         * config/i386/adxintrin.h (_subborrow_u64): Use long long for param
         type.
         (_addcarry_u64): Ditto.
         (_addcarryx_u64): Ditto.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@215970 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/fortran/ChangeLog:

2014-10-06  Manuel López-Ibáñez  <manu@gcc.gnu.org>

	PR fortran/44054
	PR fortran/54687
	* gfortran.h (gfc_warning_cmdline): Add overload that takes an
	option.
	(gfc_error_cmdline): Declare.
	* error.c (gfc_warning_cmdline): New overload that takes an option.
	(gfc_error_cmdline): New.
	* lang.opt (Wmissing-include-dirs): New.
	* scanner.c (add_path_to_list): Use the new functions.
	(load_file): Likewise.
	* options.c (gfc_init_options): Wmissing-include-dirs is enabled
	by default in Fortran.
	(gfc_handle_option): Accept automatically handled options.




git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@215974 138bc75d-0d04-0410-961f-82ee72b054a4
Update the ChangeLog for r215962 and r215963.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@215976 138bc75d-0d04-0410-961f-82ee72b054a4
	* gcc.dg/guality/pr41616-1.c: Use -fgnu89-inline.
	* gcc.dg/iftrap-1.c: Fix implicit declarations.
	* gcc.target/powerpc/pr26350.c: Likewise.
	* gcc.target/powerpc/altivec-consts.c: Likewise.
	* gcc.target/powerpc/altivec-varargs-1.c: Likewise.
	* gcc.target/powerpc/le-altivec-consts.c: Likewise.
	* gcc.target/powerpc/ppc-vector-memcpy.c: Likewise.
	* gcc.target/powerpc/ppc-vector-memset.c: Likewise.
	* gcc.target/powerpc/pr47862.c: Likewise.
	* gcc.target/powerpc/pr48053-1.c: Likewise.
	* gcc.target/powerpc/pr53487.c: Likewise.
	* gcc.dg/vect/pr48765.c: Fix implicit declarations and defaulting
	to int.
	* gcc.target/powerpc/20050603-1.c: Fix defaulting to int.
	* gcc.target/powerpc/altivec-2.c: Likewise.
	* gcc.target/powerpc/pr47755-2.c: Likewise.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@215978 138bc75d-0d04-0410-961f-82ee72b054a4
	PR c/59717
	* c-decl.c (header_for_builtin_fn): New function.
	(implicitly_declare): Suggest which header to include.

	* gcc.dg/pr59717.c: New test.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@215979 138bc75d-0d04-0410-961f-82ee72b054a4
	* dwarf2out.c: Remove current_function_has_inlines.
	(gen_subprogram_die): Same.
	(gen_inlined_subroutine_die): Same.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@215980 138bc75d-0d04-0410-961f-82ee72b054a4