PR go/61254
compiler: Don't move nil subexpressions into temporaries.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@218701 138bc75d-0d04-0410-961f-82ee72b054a4
	PR go/61258
runtime: Don't crash when deleting zero-sized key.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@218702 138bc75d-0d04-0410-961f-82ee72b054a4
	PR bootstrap/64023
	* Makefile.tpl (EXTRA_TARGET_FLAGS): Set STAGE1_LDFLAGS
	to POSTSTAGE1_LDFLAGS and STAGE1_LIBS to POSTSTAGE1_LIBS.
	Add -B to libstdc++-v3/src/.libs and libstdc++-v3/libsupc++/.libs
	to CXX.
	* Makefile.in: Regenerated.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@218705 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/testsuite/
	* gcc.target/sh/sp-switch.c: Match zero or more underscores in
	alt_stack symbol.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@218706 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/testsuite/
	PR target/53513
	* gcc.target/sh/attr-isr-nosave_low_regs.c: Fix matching of expected
	register push/pop sequences.
	* gcc.target/sh/attr-isr.c: Likewise.
	* gcc.target/sh/attr-isr-trapa.c: Likewise.
	* gcc.target/sh/pragma-isr-nosave_low_regs.c: Likewise.
	* gcc.target/sh/pragma-isr-trapa.c: Likewise.
	* gcc.target/sh/pragma-isr-trapa2.c: Likewise.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@218707 138bc75d-0d04-0410-961f-82ee72b054a4
Post-Urbana updates to Library Fundamentals v1.

	* include/experimental/any (any): Remove allocator support and update
	feature-testing macro.
	* include/experimental/functional: Update feature-testing macro.
	* include/experimental/optional (optional::_M_get()): Add constexpr.
	(optional::operator*(), optional::value()): Overload and add
	ref-qualifiers. Update feature-testing macro.
	* include/experimental/string_view (basic_string_view::clear): Remove
	and update feature-testing macro.
	* testsuite/experimental/any/cons/3.cc: Remove.
	* testsuite/experimental/any/cons/4.cc: Remove.
	* testsuite/experimental/any/misc/any_cast.cc: Remove allocator tests.
	* testsuite/experimental/any/misc/any_cast_neg.cc: Adjust dg-error.
	* testsuite/experimental/string_view/capacity/1.cc: Don't test clear().

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@218709 138bc75d-0d04-0410-961f-82ee72b054a4
	PR libstdc++/64239
	* include/bits/regex.h (match_results<>::match_results,
	match_results<>::operator=, match_results<>::position,
	match_results<>::swap): Remove match_results::_M_in_iterator.
	Fix ctor/assign/swap.
	* include/bits/regex.tcc: (__regex_algo_impl<>,
	regex_iterator<>::operator++): Set match_results::_M_begin as
	"start position".
	* testsuite/28_regex/iterators/regex_iterator/char/
	string_position_01.cc: Test cases.



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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@218714 138bc75d-0d04-0410-961f-82ee72b054a4
	PR go/61244
compiler: Traverse type descriptor expressions.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@218715 138bc75d-0d04-0410-961f-82ee72b054a4
2014-12-14  Janus Weil  <janus@gcc.gnu.org>

	PR fortran/63674
	* resolve.c (pure_function): Treat procedure-pointer components.
	(check_pure_function): New function.
	(resolve_function): Use it.
	(pure_subroutine): Return a bool to indicate success and modify
	arguments.
	(resolve_generic_s0,resolve_specific_s0,resolve_unknown_s): Use return
	value of 'pure_subroutine'.
	(resolve_ppc_call): Call 'pure_subroutine'.
	(resolve_expr_ppc): Call 'check_pure_function'.


2014-12-14  Janus Weil  <janus@gcc.gnu.org>

	PR fortran/63674
	* gfortran.dg/proc_ptr_comp_39.f90: New.
	* gfortran.dg/pure_dummy_length_1.f90: Modified error message.
	* gfortran.dg/stfunc_6.f90: Ditto.
	* gfortran.dg/typebound_operator_4.f90: Ditto.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@218717 138bc75d-0d04-0410-961f-82ee72b054a4
Pass unpromoted argument to promote_function_mode

This patch updates setup_incoming_promotions in combine.c to match what
is actually passed in assign_parm_setup_reg in function.c.

gcc/

	PR rtl-optimization/64037
	* combine.c (setup_incoming_promotions): Pass the argument
	before any promotions happen to promote_function_mode.

gcc/testsuite/

	PR rtl-optimization/64037
	* g++.dg/pr64037.C: New test.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@218720 138bc75d-0d04-0410-961f-82ee72b054a4
compiler: Fix crash when tracked field used in global initializer.


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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@218725 138bc75d-0d04-0410-961f-82ee72b054a4
	* cgraphunit.c (analyze_functions): Do not analyze extern inline
	funtions when not optimizing; skip comdat locals.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@218726 138bc75d-0d04-0410-961f-82ee72b054a4
	PR lto/64043
	* tree.c (virtual_method_call_p): Return false when OTR type has
	no BINFO.
	* g++.dg/lto/pr64043_0.C: New testcase.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@218727 138bc75d-0d04-0410-961f-82ee72b054a4
	* cgraphunit.c (analyze_functions): Always analyze targets of aliases.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@218728 138bc75d-0d04-0410-961f-82ee72b054a4
	PR ipa/61558
	* symtab.c (symbol_table::insert_to_assembler_name_hash
	symbol_table::unlink_from_assembler_name_hash): Do not ICE when	
	DECL_ASSEMBLER_NAME is NULL.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@218729 138bc75d-0d04-0410-961f-82ee72b054a4
	* ipa.c (process_references): Fix conditoinal on flag_optimize


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@218730 138bc75d-0d04-0410-961f-82ee72b054a4
	PR ipa/61602
	* gcc.dg/torture/pr61602.c: New testcase.

	* cgraph.h (ipa_discover_readonly_nonaddressable_vars): Return bool.
	* ipa.c (set_writeonly_bit): Track if reference was removed.
	(ipa_discover_readonly_nonaddressable_vars): Return true if any
	references was removed.
	* ipa-reference.c (propagate): Return TODO_remove_functions if
	reference was removed.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@218731 138bc75d-0d04-0410-961f-82ee72b054a4
	* server.c (server_setup): Check return value of
	getcwd and in case of error set buff[0] to 0.



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