Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@215829 138bc75d-0d04-0410-961f-82ee72b054a4
2014-10-02  Teresa Johnson  <tejohnson@google.com>

	* tree-ssa-threadupdate.c (freqs_to_counts_path): Scale frequencies
	up when synthesizing counts to avoid rounding errors.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@215830 138bc75d-0d04-0410-961f-82ee72b054a4
runtime: Check for CPU_COUNT itself, don't check glibc version.

Fixes issue 38.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@215832 138bc75d-0d04-0410-961f-82ee72b054a4
	* cgraph.h (ipa_polymorphic_call_context):
	Turn bools into bitfields; add DYNAMIC; make MAKE_SPECULATIVE
	private, add POSSIBLE_DYNAMIC_TYPE_CHANGE.
	* ipa-polymorphic-call.c
	(ipa_polymorphic_call_context::restrict_to_inner_class): Allow accesses
	past end of dynamic types.
	(ipa_polymorphic_call_context::stream_out,
	speculative_outer_type): Stream dynamic flag.
	(ipa_polymorphic_call_context::set_by_decl): Clear DYNAMIC.
	(ipa_polymorphic_call_context::ipa_polymorphic_call_context):
	Clear DYNAMIC.
	(ipa_polymorphic_call_context::get_dynamic_type): Use DYNAMIC;
	set it.
	(ipa_polymorphic_call_context::combine_with): Propagate dynamic.
	* ipa-prop.c (update_jump_functions_after_inlining,
	try_make_edge_direct_virtual_call): Use possible_dynamic_type_change.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@215833 138bc75d-0d04-0410-961f-82ee72b054a4
	PR target/62128
	* config/i386/i386.c (expand_vec_perm_palignr): If op1, op0 order
	of palignr arguments can't be used due to min 0 or max - min
	too high, try also op0, op1 order of palignr arguments.

	* gcc.dg/torture/vshuf-16.inc (TESTS): Add 2 new permutations.
	* gcc.dg/torture/vshuf-32.inc (TESTS): Add 5 new permutations.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@215834 138bc75d-0d04-0410-961f-82ee72b054a4
	PR libgomp/61200
	* omp-low.c (taskreg_contexts): New variable.
	(scan_omp_parallel): Push newly created context into taskreg_contexts
	vector and move record layout code to finish_taskreg_scan.
	(scan_omp_task): Likewise.
	(finish_taskreg_scan): New function.
	(execute_lower_omp): Call finish_taskreg_scan on all taskreg_contexts
	vector elements and release it.

	* c-c++-common/gomp/pr61200.c: New test.

	* testsuite/libgomp.c/pr61200.c: New test.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@215835 138bc75d-0d04-0410-961f-82ee72b054a4
	* tree-vect-data-refs.c (vect_permute_load_chain,
	vect_shift_permute_load_chain): Fix a typo in temporary var names,
	suffle3 to shuffle3.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@215837 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/
	* lra-constraints.c (inherit_in_ebb): Handle calls with
	multiple return values.
	* caller-save.c (save_call_clobbered_regs): Likewise.



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

	* parser.c (cp_parser_assignment_expression,
	cp_parser_constant_expression): Add default arguments.
	(cp_parser_primary_expression,
	cp_parser_postfix_open_square_expression,
	cp_parser_parenthesized_expression_list,
	cp_parser_question_colon_clause,
	cp_parser_expression, cp_parser_constant_expression,
	cp_parser_label_for_labeled_statement, cp_parser_static_assert,
	cp_parser_template_argument, cp_parser_enumerator_definition,
	cp_parser_member_declaration, cp_parser_constant_initializer,
	cp_parser_noexcept_specification_opt, cp_parser_throw_expression,
	cp_parser_std_attribute_spec, cp_parser_objc_message_args,
	cp_parser_objc_class_ivars, cp_parser_omp_clause_collapse,
	cp_parser_omp_clause_aligned, cp_parser_omp_clause_safelen,
	cp_parser_omp_clause_simdlen, cp_parser_omp_clause_dist_schedule,
	cp_parser_omp_for_incr, cp_parser_omp_for_loop_init,
	cp_parser_cilk_simd_vectorlength, cp_parser_cilk_simd_linear): Adjust.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@215840 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/
2014-10-03  David Sherwood  <david.sherwood@arm.com>

	* ira-int.h (ira_allocno): Mark hard_regno as signed.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@215842 138bc75d-0d04-0410-961f-82ee72b054a4
	* convert.c (convert_to_integer): Do not introduce useless conversions
	between integral types.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@215843 138bc75d-0d04-0410-961f-82ee72b054a4
	* gcc.dg/torture/pr24626-2.c: Add function declarations.  Fix
	defaulting to int.
	* gcc.dg/torture/pr28814.c: Likewise.
	* gcc.dg/torture/pr57036-1.c: Likewise.
	* gcc.dg/torture/inline-1.c: Add function declarations.
	* gcc.dg/torture/pr24626-1.c: Likewise.
	* gcc.dg/torture/pr24626-3.c: Likewise.
	* gcc.dg/torture/pr25947-1.c: Likewise.
	* gcc.dg/torture/pr27409.c: Likewise.
	* gcc.dg/torture/pr38948.c: Likewise.
	* gcc.dg/torture/pr44807.c: Likewise.
	* gcc.dg/torture/pr49603.c: Likewise.
	* gcc.dg/torture/pr45865.c: Likewise.
	* gcc.dg/torture/pr51071-2.c: Likewise.
	* gcc.dg/torture/pr51801.c: Likewise.
	* gcc.dg/torture/pr52720.c: Likewise.
	* gcc.dg/torture/pr55124.c: Likewise.
	* gcc.dg/torture/pr55238.c: Likewise.
	* gcc.dg/torture/pr55687.c: Likewise.
	* gcc.dg/torture/pr55888.c: Likewise.
	* gcc.dg/torture/pr57036-2.c: Likewise.
	* gcc.dg/torture/pr57147-3.c: Likewise.
	* gcc.dg/torture/pr57584.c: Likewise.
	* gcc.dg/torture/pr59993.c: Likewise.
	* gcc.dg/torture/pr58079.c: Likewise.
	* gcc.dg/torture/va-arg-25.c: Likewise.
	* gcc.dg/torture/vector-2.c: Likewise.
	* gcc.dg/torture/stackalign/nested-3.c: Likewise.
	* gcc.dg/torture/pr31254.c: Fix defaulting to int.
	* gcc.dg/torture/pr43781.c: Likewise.
	* gcc.dg/torture/pr52912.c: Likewise.
	* gcc.dg/torture/pr59139.c: Likewise.
	* gcc.dg/torture/pr55890-1.c: Likewise.
	* gcc.dg/torture/pr55890-2.c: Likewise.
	* gcc.dg/torture/pr59164.c: Likewise.
	* gcc.dg/torture/pr57393-2.c: Likewise.
	* gcc.dg/torture/stackalign/comp-goto-1.c: Likewise.
	* gcc.dg/torture/stackalign/non-local-goto-4.c: Likewise.
	* gcc.dg/torture/stackalign/non-local-goto-5.c: Likewise.
	* lib/target-supports.exp (check_effective_target_trapping): Likewise.
	* gcc.dg/torture/pr35227.c: Use -std=gnu89.  Fix defaulting to int.
	* gcc.dg/torture/stackalign/builtin-apply-4.c: Use -fgnu89-inline.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@215844 138bc75d-0d04-0410-961f-82ee72b054a4
	* gcc.dg/gomp/appendix-a/a.35.4.c: Fix implicit declarations.
	* gcc.dg/gomp/appendix-a/a.35.5.c: Likewise.
	* gcc.dg/gomp/appendix-a/a.35.6.c: Likewise.
	* gcc.dg/gomp/asm-1.c: Likewise.
	* gcc.dg/gomp/for-1.c: Likewise.
	* gcc.dg/gomp/empty.c: Fix defaulting to int.
	* gcc.dg/gomp/sharing-3.c: Likewise.
	* gcc.dg/gomp/udr-3.c: Use -std=gnu89.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@215846 138bc75d-0d04-0410-961f-82ee72b054a4
	PR libstdc++/63449
	* doc/xml/manual/containers.xml: Remove outdated section.
	* doc/html/*: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@215849 138bc75d-0d04-0410-961f-82ee72b054a4
2014-10-03  Yury Gribov  <y.gribov@samsung.com>

	* asan.c (asan_finish_file): Disable __asan_init calls for KASan;
	don't emit empty ctors.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@215851 138bc75d-0d04-0410-961f-82ee72b054a4
compiler: Don't insert promoted methods that conflict with fields.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@215856 138bc75d-0d04-0410-961f-82ee72b054a4
	PR go/61877
refect: fix direct call of variadic method value

As reported in bug https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61877
gcc mainline has regressed in this.  This CL adds the tests proposed
for the main Go repository:

        https://codereview.appspot.com/151280043/
        https://codereview.appspot.com/152060043/

restores the code from the amd64/386 path that makes this work and
was lost when the Go 1.3 stdlib was merged and changes the FFI path
to call into the same helper code as the amd64/386 path.

I've only tested this on amd64 but I did test a version that was
patched to unconditionally take the FFI path.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@215859 138bc75d-0d04-0410-961f-82ee72b054a4
	PR c++/63362
	* tree.c (strip_typedefs): Handle TREE_LIST.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@215860 138bc75d-0d04-0410-961f-82ee72b054a4
gcc.c: Split up the driver's "main" into smaller functions

gcc/ChangeLog:
	* gcc.c (class driver): New class.
	(main): Reimplement in terms of driver::main, moving most of the
	locals to be locals within individual methods of class driver.
	The remaining locals "explicit_link_files", "decoded_options" and
	"decoded_options_count" are used by multiple driver:: methods, and
	so become member data.  Doing so isolates the argc/argv reads and
	writes.  Replace "goto out" with a special exit code from
	new method driver::prepare_infiles.  Split out the old
	implementation of main into the following...
	(driver::main): New function, corresponding to the old "main"
	implementation.
	(driver::set_progname): New function, taken from the old
	"main" implementation.
	(driver::expand_at_files): Likewise.
	(driver::decode_argv): Likewise.
	(driver::global_initializations): Likewise.
	(driver::build_multilib_strings): Likewise.
	(driver::set_up_specs): Likewise.
	(driver::putenv_COLLECT_GCC): Likewise.
	(driver::maybe_putenv_COLLECT_LTO_WRAPPER): Likewise.
	(driver::handle_unrecognized_options): Likewise.
	(driver::maybe_print_and_exit): Likewise.
	(driver::prepare_infiles): Likewise.
	(driver::do_spec_on_infiles): Likewise.
	(driver::maybe_run_linker): Likewise.
	(driver::final_actions): Likewise.
	(driver::get_exit_code): Likewise.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@215861 138bc75d-0d04-0410-961f-82ee72b054a4
	* semantics.c (constexpr_fn_retval): Ignore declarations in C++14.
	(var_in_constexpr_fn): New.
	(cxx_eval_constant_expression): Look into DECL_INITIAL.
	(potential_constant_expression_1): Allow constexpr-local vars.

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