2014-07-09  Dominique d'Humieres <dominiq@lps.ens.fr>

	PR testsuite/61453
	* gfortran.dg/gfortran.dg/bind_c_array_params_2.f90:
	Adjust regexp for more targets.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@212387 138bc75d-0d04-0410-961f-82ee72b054a4
Avoid using create_tmp_var for static decls.

	* trans-array.c (gfc_build_constant_array_constructor): Build a
	static decl manually.
	* trans-decl.c (create_main_function): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@212388 138bc75d-0d04-0410-961f-82ee72b054a4
java: Use build_qualified_type instead of build_type_variant.

gcc/java/ChangeLog

	* builtins.c (putVolatile_builtin): Use build_qualified_type
	instead of build_type_variant.
	(getVolatile_builtin): Likewise.
	(build_classdollar_field): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@212389 138bc75d-0d04-0410-961f-82ee72b054a4
Merge remote-tracking branch 'parent/master' into ipa-ref-symtab-node
libcpp/

2014-07-09  Edward Smith-Rowland  <3dw4rd@verizon.net>

	PR c++/58155 - -Wliteral-suffix warns about tokens which are skipped
	by preprocessor
	* lex.c (lex_raw_string ()): Do not warn about invalid suffix
	if skipping. (lex_string ()): Ditto.


gcc/testsuite/

2014-07-09  Edward Smith-Rowland  <3dw4rd@verizon.net>

	PR c++/58155 - -Wliteral-suffix warns about tokens which are skipped
	g++.dg/cpp0x/pr58155.C: New.




git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@212392 138bc75d-0d04-0410-961f-82ee72b054a4
	* rs6000/rs6000-protos.h (rs6000_xcoff_declare_object_name): Declare.
	* rs6000/rs6000.c: Inline output of .set instruction.
	(declare_alias_data): New struct.
	(rs6000_declare_alias): New function.
	(rs6000_xcoff_declare_function_name): Use it.
	(rs6000_xcoff_declare_object_name): New function.
	* config/rs6000/xcoff.h: Define ASM_DECLARE_OBJECT_NAME.
	(ASM_OUTPUT_DEF): Turn to empty definition.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@212394 138bc75d-0d04-0410-961f-82ee72b054a4
	* ipa-cp.c (devirtualization_time_bonus): Walk through aliases.
	* ipa-inline-analysis.c (estimate_edge_devirt_benefit): Likewise.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@212395 138bc75d-0d04-0410-961f-82ee72b054a4
	* ipa-visibility.c (function_and_variable_visibility): Remove
	temporary hack disabling local aliases on AIX.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@212396 138bc75d-0d04-0410-961f-82ee72b054a4
	Revert:
	* stor-layout.c (finish_builtin_struct): Copy fields into the variants.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@212397 138bc75d-0d04-0410-961f-82ee72b054a4
	* lib/target-supports.exp
	(check_effective_target_logical_op_short_circuit): Add powerpc*-*-*.



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

	PR c-family/61741
	* c-gimplify.c (c_gimplify_expr): Gimplify self-modify expressions
	using unsigned arithmetic if overflow does not wrap instead of
	if overflow is undefined.

	* c-c++-common/torture/pr61741.c: New testcase.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@212400 138bc75d-0d04-0410-961f-82ee72b054a4
	* lto-streamer-out.c (hash_scc): Avoid quadratic hashing loop.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@212404 138bc75d-0d04-0410-961f-82ee72b054a4
	* ipa-devirt.c (record_node): Walk through aliases.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@212406 138bc75d-0d04-0410-961f-82ee72b054a4
	* libgfortran.h (support_fpu_underflow_control,
        get_fpu_underflow_mode, set_fpu_underflow_mode): New prototypes.
	* config/fpu-*.h (support_fpu_underflow_control,
	get_fpu_underflow_mode, set_fpu_underflow_mode):
	New functions.
	* ieee/ieee_arithmetic.F90: Support underflow control.

	* gfortran.dg/ieee/underflow_1.f90: New file.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@212407 138bc75d-0d04-0410-961f-82ee72b054a4
Enable fuse-caller-save on self-recursive functions

2014-06-26  Tom de Vries  <tom@codesourcery.com>

	* final.c (get_call_fndecl): Declare.
	(self_recursive_call_p): New function.
	(collect_fn_hard_reg_usage): Handle self-recursive function calls.

	* gcc.target/i386/fuse-caller-save-rec.c: New test.

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

	DR 1584
	PR c++/57466
	* pt.c (check_cv_quals_for_unify): Implement resolution, disregard
	cv-qualifiers of function types.

/testsuite
2014-07-09  Paolo Carlini  <paolo.carlini@oracle.com>

	DR 1584
	PR c++/57466
	* g++.dg/template/pr57466.C: New.
	* g++.dg/cpp0x/pr57466.C: Likewise.
	* g++.dg/template/unify6.C: Update.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@212410 138bc75d-0d04-0410-961f-82ee72b054a4
	PR libstdc++/61728
	* libsupc++/cxxabi.h: Define __pbase_type_info::__pointer_catch here.
	* libsupc++/tinfo.h: Not here.

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

	PR c++/60686
	* decl.c (grokdeclarator): Adjust error messages about 'explicit'
	outside class declaration, in friend declaration, and neither on
	constructor nor conversion operator.

/testsuite
2014-07-09  Paolo Carlini  <paolo.carlini@oracle.com>

	PR c++/60686
	* g++.dg/cpp0x/explicit8.C: New.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@212415 138bc75d-0d04-0410-961f-82ee72b054a4
Add missing ChangeLog entries

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

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