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

	* input.c (diagnostic_file_cache_fini): Fix typo in comment.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@214022 138bc75d-0d04-0410-961f-82ee72b054a4
2014-08-15  Vladimir Makarov  <vmakarov@redhat.com>

	* config/rs6000/rs6000.c (rs6000_emit_move): Use SDmode for
	load/store from/to non-floating class pseudo.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@214023 138bc75d-0d04-0410-961f-82ee72b054a4
2014-08-15  Manuel López-Ibáñez  <manu@gcc.gnu.org>

	PR fortran/44054
gcc/
	* diagnostic.c (build_message_string): Make it extern.
	* diagnostic.h (build_message_string): Make it extern.
c-family/
	* c-format.c: Handle Fortran flags.
fortran/
	* gfortran.h: Define GCC_DIAG_STYLE.
	(gfc_diagnostics_init,gfc_warning_cmdline): Declare.
	* trans-array.c: Include gfortran.h before diagnostic-core.h.
	* trans-expr.c: Likewise.
	* trans-openmp.c: Likewise.
	* trans-const.c: Likewise.
	* trans.c: Likewise.
	* trans-types.c: Likewise.
	* f95-lang.c: Likewise.
	* trans-decl.c: Likewise.
	* trans-io.c: Likewise.
	* trans-intrinsic.c: Likewise.
	* error.c: Include diagnostic.h and diagnostic-color.h.
	(gfc_diagnostic_build_prefix): New.
	(gfc_diagnostic_starter): New.
	(gfc_diagnostic_finalizer): New.
	(gfc_warning_cmdline): New.
	(gfc_diagnostics_init): New.
	* gfc-diagnostic.def: New.
	* options.c (gfc_init_options): Call gfc_diagnostics_init.
	(gfc_post_options): Use gfc_warning_cmdline.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@214024 138bc75d-0d04-0410-961f-82ee72b054a4
	PR libstdc++/62154
	* libsupc++/nested_exception.h (throw_with_nested, rethrow_if_nested):
	Rewrite to conform to C++11 requirements.
	* testsuite/18_support/nested_exception/62154.cc: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@214025 138bc75d-0d04-0410-961f-82ee72b054a4
2014-08-15  Manuel Lopez-Ibanez  <manu@gcc.gnu.org>

gcc/cp/:
	* call.c (build_conditional_expr_1): Use OPT_Wextra in warning.


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

	PR c++/62072
	Revert:
	2014-07-09  Paolo Carlini  <paolo.carlini@oracle.com>

	DR 1584
	PR c++/57466
	* pt.c (check_cv_quals_for_unify): Implement resolution, disregard
	cv-qualifiers of function types.

/testsuite
2014-08-15  Paolo Carlini  <paolo.carlini@oracle.com>

	PR c++/62072
	Revert:
	2014-07-09  Paolo Carlini  <paolo.carlini@oracle.com>

	DR 1584
	PR c++/57466
	* g++.dg/template/pr57466.C: New.
	* g++.dg/cpp0x/pr57466.C: Likewise.
	* g++.dg/template/unify6.C: Update.

	* g++.dg/cpp0x/sfinae52.C: New.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@214027 138bc75d-0d04-0410-961f-82ee72b054a4
2014-08-15  Manuel López-Ibáñez  <manu@gcc.gnu.org>

	* input.h (in_system_header_at): Add comment.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@214028 138bc75d-0d04-0410-961f-82ee72b054a4
2014-08-15  Tobias Burnus  <burnus@net-b.de>

        * resolve.c (resolve_critical): Fix name mangling.
        * trans-stmt.c (gfc_trans_critical): Fix lock call.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@214029 138bc75d-0d04-0410-961f-82ee72b054a4
	PR bootstrap/62077
gcc/
	* tree.c (type_hash_canon): Uncomment assert.
gcc/cp/
	* tree.c (build_min_array_type, set_array_type_canon): Split out...
	(build_cplus_array_type): ...from here.  Only call build_array_type
	for main variants.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@214030 138bc75d-0d04-0410-961f-82ee72b054a4
2014-08-15  Thomas Koenig  <tkoenig@gcc.gnu.org>

	PR fortran/62142
	* trans-expr.c (is_runtime_conformable):  Add NULL pointer checks.

2014-08-15  Thomas Koenig  <tkoenig@gcc.gnu.org>

	PR fortran/62142
	* gfortran.dg/realloc_on_assign_24.f90:  New test.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@214043 138bc75d-0d04-0410-961f-82ee72b054a4
	PR c++/61566
	* pt.c (instantiate_class_template_1): Ignore lambda on
	CLASSTYPE_DECL_LIST.
	(push_template_decl_real): A lambda is not primary.
	(lookup_template_class_1): Don't look for a lambda partial
	instantiation.
	* lambda.c (maybe_add_lambda_conv_op): Distinguish between being
	currently in a function and the lambda living in a function.
	* mangle.c (CLASSTYPE_TEMPLATE_ID_P): False for lambda.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@214046 138bc75d-0d04-0410-961f-82ee72b054a4
runtime: Don't get confused if m changes during runtime_gc.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@214048 138bc75d-0d04-0410-961f-82ee72b054a4
	PR c++/61566
	* pt.c (lookup_template_class_1): Revert recent change.
	* mangle.c (CLASSTYPE_TEMPLATE_ID_P): Revert recent change.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@214049 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/
	* doc/invoke.texi (SH options): Document missing processor variant
	options.  Remove references to Hitachi.  Undocument deprecated mspace
	option.


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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@214056 138bc75d-0d04-0410-961f-82ee72b054a4
compiler: Pass initialization of frame temporary to backend.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@214057 138bc75d-0d04-0410-961f-82ee72b054a4
	* ipa-utils.h (ipa_polymorphic_call_context): Turn into class; add ctors.
	(possible_polymorphic_call_targets, dump_possible_polymorphic_call_targets,
	possible_polymorphic_call_target_p, possible_polymorphic_call_target_p): Simplify.
	(get_dynamic_type): Remove.
	* ipa-devirt.c (ipa_dummy_polymorphic_call_context): Remove.
	(clear_speculation): Bring to ipa-deivrt.h
	(get_class_context): Rename to ...
	(ipa_polymorphic_call_context::restrict_to_inner_class): ... this one.
	(contains_type_p): Update.
	(get_dynamic_type): Rename to ...
	ipa_polymorphic_call_context::get_dynamic_type(): ... this one.
	(possible_polymorphic_call_targets): UPdate.
	* tree-ssa-pre.c (eliminate_dom_walker::before_dom_children): Update.
	* ipa-prop.c (ipa_analyze_call_uses): Update.


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

	PR c++/52819
	* g++.dg/template/pr52819.C: New.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@214062 138bc75d-0d04-0410-961f-82ee72b054a4
2014-08-16  Manuel López-Ibáñez  <manu@gcc.gnu.org>

        * doc/cppopts.texi (ftrack-macro-expansion): Add missing @code.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@214063 138bc75d-0d04-0410-961f-82ee72b054a4
	PR target/61641
	* config/pa/pa-protos.h (pa_output_addr_vec, pa_output_addr_diff_vec):
	Declare.
	* config/pa/pa.c (pa_reorg): Remove code to insert brtab marker insns.
	(pa_output_addr_vec, pa_output_addr_diff_vec): New.
	* config/pa/pa.h (ASM_OUTPUT_ADDR_VEC, ASM_OUTPUT_ADDR_DIFF_VEC):
	Define.
	* config/pa/pa.md (begin_brtab): Delete insn.
	(end_brtab): Likewise.



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