2013-07-25  Janus Weil  <janus@gcc.gnu.org>

	PR fortran/57639
	* interface.c (compare_parameter): Check for class_ok.
	* simplify.c (gfc_simplify_same_type_as): Ditto.

2013-07-25  Janus Weil  <janus@gcc.gnu.org>

	PR fortran/57639
	* gfortran.dg/unlimited_polymorphic_9.f90: New.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@201239 138bc75d-0d04-0410-961f-82ee72b054a4
Fix PR target/57909.

2013-07-17  Yvan Roux  <yvan.roux@linaro.org>

        PR target/57909
        * config/arm/arm.c (gen_movmem_ldrd_strd): Fix unaligned load/store
        usage in HI mode.



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


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@201241 138bc75d-0d04-0410-961f-82ee72b054a4
	* lto-symtab.c (lto_cgraph_replace_node): Release function body.
	* cgraph.c (cgraph_remove_node): Do not release function body
	when in cgraph streaming.
	* ipa.c (process_references, symtab_remove_unreachable_nodes): Objects
	in other partitions are not considered reachable; fix handling of clones.


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

	PR rtl-optimization/57960
	* lra-constraints.c (process_alt_operands): Use the right mode
	when checking strict_low.

2013-07-25  Vladimir Makarov  <vmakarov@redhat.com>

	PR rtl-optimization/57960
	* gcc.target/s390/pr57960.c: New.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@201243 138bc75d-0d04-0410-961f-82ee72b054a4
2013-07-25  Tim Shen  <timshen91@gmail.com>

	Add documents and comments.
	* include/bits/regex.h: Documents and comments.
	* include/bits/regex_grep_matcher.h: Likewise.
	* include/bits/regex_grep_matcher.tcc: Likewise.
	* testsuite/28_regex/iterators/regex_iterator/char/string_position_01.cc:
	New.


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

	PR c++/57981
	* decl.c (check_default_argument): Take a tsubst_flags_t parameter.
	(grokparms): Adjust.
	* parser.c (cp_parser_late_parse_one_default_arg): Likewise.
	* pt.c (tsubst_default_argument, tsubst_default_arguments): Take
	a tsubst_flags_t parameter.
	(tsubst_decl): Adjust.
	* call.c (convert_default_arg): Likewise.
	* cp-tree.h (check_default_argument, tsubst_default_argument):
	Update declarations.

/testsuite
2013-07-25  Paolo Carlini  <paolo.carlini@oracle.com>

	PR c++/57981
	* g++.dg/cpp0x/pr57981.C: New.

/cp
2013-07-25  Paolo Carlini  <paolo.carlini@oracle.com>

	PR c++/57880
	* parser.c (cp_parser_operator, case CPP_WSTRING, CPP_STRING16,
	CPP_STRING32, CPP_UTF8STRING, CPP_WSTRING_USERDEF,
	CPP_STRING16_USERDEF, CPP_STRING32_USERDEF, CPP_UTF8STRING_USERDEF):
	Fix string_len management, tidy.

/testsuite
2013-07-25  Paolo Carlini  <paolo.carlini@oracle.com>

	PR c++/57880
	* g++.dg/cpp1y/udlit-empty-string-neg.C: New.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@201245 138bc75d-0d04-0410-961f-82ee72b054a4
	* config.gcc (hppa-*-openbsd*): Don't set tmake_file.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@201247 138bc75d-0d04-0410-961f-82ee72b054a4
	* config/pa/pa.c (pa_trampoline_init): Emit __enable_execute_stack
	libcall if HAVE_ENABLE_EXECUTE_STACK is defined.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@201248 138bc75d-0d04-0410-961f-82ee72b054a4
2013-07-25  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>

	* config/arm/arm-fixed.md (ssmulsa3, usmulusa3):
	Adjust for arm_restrict_it.
	Remove trailing whitespace.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@201249 138bc75d-0d04-0410-961f-82ee72b054a4
2013-07-25  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>

	* config/arm/arm.md (arm_addsi3, addsi3_carryin_<optab>,
	addsi3_carryin_alt2_<optab>): Correct output template.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@201250 138bc75d-0d04-0410-961f-82ee72b054a4
	* cgraph.c (release_function_body): Break out from ...
	(cgraph_release_function_body): ... this one; also release DECL_RESULT
	and DECL_ARGUMENTS.
	* ipa-cp.c (get_replacement_map): Add parm_num argument; do not set
	old_tree in the map.
	(create_specialized_node): Update.
	* lto-cgraph.c (output_node_opt_summary): Do not translate old_tree
	into index.
	* cgraphclones.c (cgraph_create_virtual_clone): Do not copy DECL_ARGUMENTS,
	DECL_INITIAL and DECL_RESULT.
	* ipa-prop.c (ipa_populate_param_decls): Look for origin of clones.
	* tree-inline.c (initialize_cfun): Initialize DECL_ARGUMENTS and
	DECL_RESULT.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@201251 138bc75d-0d04-0410-961f-82ee72b054a4
2013-07-25  Cameron McInally  <cameron.mcinally@nyu.edu>

	* doc/extend.texi: Fix return types for __builtin_ia32_cmp*s builtins.

2013-07-25  Cameron McInally  <cameron.mcinally@nyu.edu>

	PR target/38836
	* doc/extend.texi: Remove obsolete builtins. Fix
	typo for __builtin_ia32_loadss and __builtin_ia32_cmpnltss.



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

	* include/std/complex (pow(const complex<>&, int)): Enable in
	C++11 mode too.
	* testsuite/26_numerics/complex/dr844.cc: Adjust.
	* doc/xml/manual/intro.xml: Update.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@201253 138bc75d-0d04-0410-961f-82ee72b054a4
2013-07-25  Janus Weil  <janus@gcc.gnu.org>

	PR fortran/57966
	* resolve.c (resolve_typebound_function): Make sure the declared type,
	including its type-bound procedures, is resolved before resolving the
	actual type-bound call.

2013-07-25  Janus Weil  <janus@gcc.gnu.org>

	PR fortran/57966
	* gfortran.dg/typebound_call_25.f90: New.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@201254 138bc75d-0d04-0410-961f-82ee72b054a4
2013-07-25  Sterling Augustine  <saugustine@google.com>

	* dwarf2out.c (size_of_pubnames): Move code to...
	(include_pubname_in_output): ...here.  New.
	(want_pubnames): Rearrange.
	(output_pubnames): Call include_pubname_in_output.  Move assertion.




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