2014-06-15  Tobias Burnus  <burnus@net-b.de>

gcc/fortran/
        * symbol.c (check_conflict): Add codimension conflict with
        pointer; fix cray-pointee check.

gcc/testsuite/
        * gfortran.dg/coarray_34.f90: New.
        * gfortran.dg/coarray_6.f90: Update test case.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@212540 138bc75d-0d04-0410-961f-82ee72b054a4
	* tree.c (tree_code_size): Add TRANSLATION_UNIT_DECL,
	NAMESPACE_DECL, IMPORTED_DECL and NAMELIST_DECL;
	call langhook for unknown declaration.
	(find_decls_types_r): Do not walk DECL_ARGUMENT_FLD.
	* tree.h (DECL_ARGUMENTS): Update.
	* print-tree.c (print_node): Update.
	* tree-core.h (tree_decl_non_common): Remove arguments.
	(tree_function_decl): Add arguments.

	* class.c (build_clone): Do not clear assembler names of
	templates.
	* decl.c (cp_tree_node_structure): Add TEMPLATE_DECL.
	* cp-objcp-common.c (cp_tree_size): Add TEMPLATE_DECL
	as a special case return sizeof (struct tree_decl_non_common)
	for other decls.
	(cp_common_init_ts): Do not initialize NAMESPACE_DECL;
	initialize TEMPLATE_DECL as MARK_TS_DECL_COMMON.
	* cp/cp-tree.h (tree_template_decl): New structure.
	(cp_tree_node_structure_enum): Add TS_CP_TEMPLATE_DECL.
	(union cp_lang_tree_node): Add template_decl.
	(DECL_TEMPLATE_PARMS, DECL_TEMPLATE_RESULT): Update.

	* lto/lto.c (mentions_vars_p_decl_non_common): Skip
	DECL_ARGUMENT_FLD.
	mentions_vars_p_function): Do DECL_ARGUMENTS.
	(lto_fixup_prevailing_decls): Update.

	* objc-act.c (objc_common_tree_size): New function.
	* objc-act.h (KEYWORD_KEY_NAME, KEYWORD_ARG_NAME): Add type
	checking.
	(INSTANCE_METHOD_OR_CLASS_METHOD_DECL_CHECK): New macro.
	(METHOD_SEL_NAME, METHOD_SEL_ARGS, METHOD_ADD_ARGS,
 	METHOD_ADD_ARGS_ELLIPSIS_P, METHOD_DEFINITION, METHOD_ENCODING,
	METHOD_TYPE_ATTRIBUTES, METHOD_PROPERTY_CONTEXT): Add type checking.
	(METHOD_SEL_ARGS): Use decl_common.size instead of
	decl_non_common.result.
	(PROPERTY_NAME, PROPERTY_GETTER_NAME, PROPERTY_SETTER_NAME,
	PROPERTY_READONLY, PROPERTY_NONATOMIC, PROPERTY_ASSIGN_SEMANTICS,
	PROPERTY_IVAR_NAME, PROPERTY_DYNAMIC, PROPERTY_HAS_NO_GETTER,
	PROPERTY_HAS_NO_SETTER, PROPERTY_OPTIONAL): Add type checking.
	(objc_common_tree_size): Declare.
	* objc/objc-lang.c (LANG_HOOKS_TREE_SIZE): New macro.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@212549 138bc75d-0d04-0410-961f-82ee72b054a4
	* fold-const.c (fold_checksum_tree): Move checking of
	DECL_RESULT.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@212550 138bc75d-0d04-0410-961f-82ee72b054a4
	* c-ubsan.c (ubsan_instrument_bounds): Don't instrument if
	TYPE_MAX_VALUE is NULL.

	* gcc.dg/ubsan/bounds-1.c: New test.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@212552 138bc75d-0d04-0410-961f-82ee72b054a4
	* python/libstdcxx/v6/printers.py (TemplateTypePrinter): Add type
	printer for class templates.
	(register_type_printers): Use TemplateTypePrinter for containers
	and other class templates with default template arguments.
	* testsuite/libstdc++-prettyprinters/whatis.cc: Test new recognizers.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@212555 138bc75d-0d04-0410-961f-82ee72b054a4
	* python/libstdcxx/v6/printers.py (SingleObjContainerPrinter): New
	base class for experimental::any and experimental::optional printers.
	(StdExpAnyPrinter, StdExpOptionalPrinter, StdExpStringViewPrinter):
	New printers for Fundamentals TS types.
	* testsuite/libstdc++-prettyprinters/libfundts.cc: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@212556 138bc75d-0d04-0410-961f-82ee72b054a4
2014-07-15  Richard Biener  <rguenther@suse.de>

	* opts.c (default_options_table): Disable bit-ccp at -Og.


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

	* call.c (convert_like_real): Call print_z_candidate and inform only
	if permerror returns true.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@212560 138bc75d-0d04-0410-961f-82ee72b054a4
        PR rtl-optimization/61772
        * ifcvt.c (dead_or_predicable): Check jump to be free of side
        effects.

testsuite/
        * gcc.dg/torture/pr61772.c: New test.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@212563 138bc75d-0d04-0410-961f-82ee72b054a4
Change an assignment to an assert.

	* asan.c (asan_finish_file): Use varpool_finalize_decl instead of
	varpool_assemble_decl.
	* varpool.c (varpool_assemble_decl): Assert that node->definition is
	true.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@212564 138bc75d-0d04-0410-961f-82ee72b054a4
	* fold-const.c (fold_checksum_tree): Fix typo in previous patch.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@212566 138bc75d-0d04-0410-961f-82ee72b054a4
	* config/alpha/alpha.c (alpha_atomic_assign_expand_fenv): New.
	(TARGET_ATOMIC_ASSIGN_EXPAND_FENV): New define.

testsuite/ChangeLog:

	* lib/target-supports.exp (check_effective_target_fenv_exceptions):
	Add IEEE options to compile flags.
	* gcc.dg/atomic/c11-atomic-exec-5.c: Ditto.  Add -mieee-with-inexact
	additional option and lower ITER_COUNT to 100 for alpha*-*-* targets.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@212568 138bc75d-0d04-0410-961f-82ee72b054a4
	* gfortran.dg/ieee/rounding_1.f90: Rename from ieee_rounding_1.f90.
	* gfortran.dg/ieee/ieee_1.f90: Rename from ieee_1.F90.
	(dg-additional-options): Add -mieee-with-inexact for alpha*-*-*.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@212570 138bc75d-0d04-0410-961f-82ee72b054a4
	* gfortran.dg/ieee/ieee_1.F90: Revert rename.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@212573 138bc75d-0d04-0410-961f-82ee72b054a4
	PR c++/60848
	PR c++/61723
	* call.c (is_std_init_list): Don't check CLASSTYPE_TEMPLATE_INFO.
	* class.c (finish_struct): Reject invalid definition of
	std::initializer_list.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@212574 138bc75d-0d04-0410-961f-82ee72b054a4
2014-07-15  Eric Christopher  <echristo@gmail.com>

        * doc/invoke.texi (Link Options): Document -z option.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@212575 138bc75d-0d04-0410-961f-82ee72b054a4
	PR c++/61811
	* decl2.c (maybe_emit_vtables): Return true for -fuse-all-virtuals.

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

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