PR c++/58979
c-family/
	* c-common.c (invalid_indirection_error): Handle RO_ARROW_STAR case.
testsuite/
	* g++.dg/diagnostic/pr58979.C: New test.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@204352 138bc75d-0d04-0410-961f-82ee72b054a4
2013-11-04  Vladimir Makarov  <vmakarov@redhat.com>

	PR rtl-optimization/58968
	* lra-spills.c (return_regno_p): New function.
	(lra_final_code_change): Use it.

2013-11-04  Vladimir Makarov  <vmakarov@redhat.com>

	PR rtl-optimization/58968
	* gfortran.dg/pr58968.f: New



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@204353 138bc75d-0d04-0410-961f-82ee72b054a4
2013-11-04  Paul Thomas  <pault@gcc.gnu.org>

	PR fortran/57445
	* trans-expr.c (gfc_conv_class_to_class): Remove spurious
	assert.

2013-11-04  Paul Thomas  <pault@gcc.gnu.org>

	PR fortran/57445
	* gfortran.dg/optional_class_1.f90 : New test


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@204356 138bc75d-0d04-0410-961f-82ee72b054a4
	PR tree-optimization/58978
	* tree-vrp.c (all_imm_uses_in_stmt_or_feed_cond): Don't modify
	use_stmt by single_imm_use directly.  Only call single_imm_use
	on SSA_NAMEs.

	* gcc.c-torture/compile/pr58978.c: New test.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@204357 138bc75d-0d04-0410-961f-82ee72b054a4
2013-11-04  Paul Thomas  <pault@gcc.gnu.org>

	PR fortran/58771
	* trans-io.c (transfer_expr): If the backend_decl for a derived
	type is missing, build it with gfc_typenode_for_spec.

2013-11-04  Paul Thomas  <pault@gcc.gnu.org>

	PR fortran/58771
	* gfortran.dg/derived_external_function_1.f90 : New test


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@204358 138bc75d-0d04-0410-961f-82ee72b054a4
	* optabs.c (expand_vec_perm): Revert one incorrect line from
	2013-10-31 change.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@204359 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/:
	* builtins.def (ATTR_NOTHROWCALL_LEAF_LIST): Define.
	* sync-builtins.def: Use ATTR_NOTHROWCALL_LEAF_LIST for all sync
	builtins that take pointers.
	* lto-opts.c (lto_write_options): Write -fnon-call-exceptions
	if set.
	* lto-wrapper.c (merge_and_complain): Collect
	OPT_fnon_call_exceptions.
	(run_gcc): Pass -fnon-call-exceptions.
gcc/testsuite/:
	* g++.dg/ext/sync-4.C: New test.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@204360 138bc75d-0d04-0410-961f-82ee72b054a4
2013-11-04  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

	* config/rs6000/altivec.md (vec_widen_umult_hi_v16qi): Swap
	arguments to merge instruction for little endian.
	(vec_widen_umult_lo_v16qi): Likewise.
	(vec_widen_smult_hi_v16qi): Likewise.
	(vec_widen_smult_lo_v16qi): Likewise.
	(vec_widen_umult_hi_v8hi): Likewise.
	(vec_widen_umult_lo_v8hi): Likewise.
	(vec_widen_smult_hi_v8hi): Likewise.
	(vec_widen_smult_lo_v8hi): Likewise.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@204363 138bc75d-0d04-0410-961f-82ee72b054a4
2013-11-04  Vladimir Makarov  <vmakarov@redhat.com>

	PR rtl-optimization/58967
	* config/rs6000/rs6000.c (legitimate_lo_sum_address_p): Remove
	!lra_in_progress for mode sizes bigger word.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@204365 138bc75d-0d04-0410-961f-82ee72b054a4
2013-11-04  Wei Mi  <wmi@google.com>

        * gcc/config/i386/i386-c.c (ix86_target_macros_internal): Separate
        PROCESSOR_COREI7_AVX out from PROCESSOR_COREI7.
        * gcc/config/i386/i386.c (ix86_option_override_internal): Ditto.
        (ix86_issue_rate): Ditto.
        (ix86_adjust_cost): Ditto.
        (ia32_multipass_dfa_lookahead): Ditto.
        (ix86_sched_init_global): Ditto.
        (get_builtin_code_for_version): Ditto.
        * gcc/config/i386/i386.h (enum target_cpu_default): Ditto.
        (enum processor_type): Ditto.
        * gcc/config/i386/x86-tune.def (DEF_TUNE): Ditto.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@204367 138bc75d-0d04-0410-961f-82ee72b054a4
libsanitizer merge from upstream r191666

This may break gcc-asan on Mac, will follow up separately.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@204368 138bc75d-0d04-0410-961f-82ee72b054a4
2013-11-04  Wei Mi  <wmi@google.com>

	* gcc/config/i386/i386.c (memory_address_length): Extract a part
	of code to rip_relative_addr_p.
	(rip_relative_addr_p): New Function.
	(ix86_macro_fusion_p): Ditto.
	(ix86_macro_fusion_pair_p): Ditto.
	* gcc/config/i386/i386.h: Add new tune features about macro-fusion.
	* gcc/config/i386/x86-tune.def (DEF_TUNE): Ditto.
	* gcc/doc/tm.texi: Generated.
	* gcc/doc/tm.texi.in: Ditto.
	* gcc/haifa-sched.c (try_group_insn): New Function.
	(group_insns_for_macro_fusion): Ditto.
	(sched_init): Call group_insns_for_macro_fusion.
	* gcc/target.def: Add two hooks: macro_fusion_p and
	macro_fusion_pair_p.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@204369 138bc75d-0d04-0410-961f-82ee72b054a4
2013-11-04  Wei Mi  <wmi@google.com>

        * sched-rgn.c (add_branch_dependences): Keep insns in
        a SCHED_GROUP at the end of BB to remain their location.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@204371 138bc75d-0d04-0410-961f-82ee72b054a4
	* f95-lang.c (ATTR_LEAF_LIST): Define.


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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@204375 138bc75d-0d04-0410-961f-82ee72b054a4
2013-11-04  Senthil Kumar Selvaraj  <senthil_kumar.selvaraj@atmel.com>

	* gcc.dg/superblock.c: Require scheduling support.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@204376 138bc75d-0d04-0410-961f-82ee72b054a4
fix for PR bootstrap/58951
+2013-11-04  Balaji V. Iyer  <balaji.v.iyer@intel.com>
+
+       PR bootstrap/58951
+       * Makefile.am (AM_LDFLAGS): Removed -ldl flag.
+       * Makefile.in: Regenerate.
+



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@204381 138bc75d-0d04-0410-961f-82ee72b054a4
2013-11-05  Tobias Burnus  <burnus@net-b.de>

gcc/
        * doc/invoke.texi (-fopenmp-simd): Document new option.
        * gimplify.c (gimplify_body): Accept -fopenmp-simd.
        * omp-low.c (execute_expand_omp, execute_lower_omp): Ditto.
        * tree.c (attribute_value_equal): Ditto.

gcc/fortran/
        * lang.opt (fopenmp-simd): New option.
        * gfortran.h (gfc_option_t): Add gfc_flag_openmp_simd.
        * options.c (gfc_handle_option): Handle it.

gcc/c-family/
        * c.opt (fopenmp-simd): New option.
        * c-pragma.c (omp_pragmas): Move pragmas which can contain simd
        * to ...
        (omp_pragmas): ... this new struct.
        (c_pp_lookup_pragma): Also walk omp_pragmas.
        (init_pragma): Init pragmas for -fopenmp-simd.

gcc/c
        * c-parser.c (c_parser_omp_for, c_parser_omp_parallel,
        c_parser_omp_distribute, c_parser_omp_teams,
        c_parser_omp_target, c_parser_omp_declare): Handle
        -fopenmp-simd.

gcc/cp
        * parser.c (cp_parser_omp_for, cp_parser_omp_parallel,
        cp_parser_omp_distribute, cp_parser_omp_teams,
cp_parser_omp_target,
        cp_parser_omp_declare): Handle
        -fopenmp-simd.

gcc/testsuite/
        * g++.dg/gomp/openmp-simd-1.C: New.
        * g++.dg/gomp/openmp-simd-2.C: New.
        * gcc.dg/gomp/openmp-simd-1.c: New.
        * gcc.dg/gomp/openmp-simd-2.c: New.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@204382 138bc75d-0d04-0410-961f-82ee72b054a4
* g++.dg/ext/sync-4.C: Require sync_long_long_runtime support.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@204383 138bc75d-0d04-0410-961f-82ee72b054a4
	PR tree-optimization/58984
	* ipa-prop.c (ipa_load_from_parm_agg_1): Add SIZE_P argument,
	set *SIZE_P if non-NULL on success.
	(ipa_load_from_parm_agg, ipa_analyze_indirect_call_uses): Adjust
	callers.
	(ipcp_transform_function): Likewise.  Punt if size of access
	is different from TYPE_SIZE on v->value's type.

	* gcc.c-torture/execute/pr58984.c: New test.


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