2014-12-15  Richard Biener  <rguenther@suse.de>

	PR tree-optimization/64312
	* tree-ssa-sccvn.c (vn_reference_lookup_pieces): Use
	vuse_ssa_val as callback to walk_non_aliased_vuses.
	(vn_reference_lookup): Likewise.

	* g++.dg/torture/pr64312.C: New testcase.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@218756 138bc75d-0d04-0410-961f-82ee72b054a4
	PR fortran/61669
	* gfortran.h (struct gfc_namespace): Add OLD_DATA field.
	* decl.c (gfc_reject_data): New function.
	* parse.c *use_modules): Record roll-back point.
	(next_statement): Likewise.
	(reject_statement): Roll back to last accepted DATA.

	* gfortran.dg/pr61669.f90: New test.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@218757 138bc75d-0d04-0410-961f-82ee72b054a4
	PR rtl-optimization/63804
	* gcc.dg/pr63804.c: New test.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@218758 138bc75d-0d04-0410-961f-82ee72b054a4
	PR libgcc/63832
	* crtstuff.c (__do_global_dtors_aux) [HIDDEN_DTOR_LIST_END]: Use
	func_ptr *dtor_list temporary variable to avoid "array subscript
	is above array bounds" warnings.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@218759 138bc75d-0d04-0410-961f-82ee72b054a4
2014-12-15  Vladimir Makarov  <vmakarov@redhat.com>

	* ira-int.h (ira_prohibited_class_mode_regs): Remove.
	(struct target_ira_int): Move x_ira_prohibited_class_mode_regs to
	...
	* ira.h (struct target_ira_int): ... here.
	(ira_prohibited_class_mode_regs): Define.
	* lra-constraints.c (process_alt_operands): Add one more condition
	to refuse alternative when reload pseudo of given class can not
	hold value of given mode.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@218760 138bc75d-0d04-0410-961f-82ee72b054a4
2014-12-15  Vladimir Makarov  <vmakarov@redhat.com>

	PR target/62642
	* ira.c (rtx_moveable_p): Prevent UNSPEC_VOLATILE moves.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@218761 138bc75d-0d04-0410-961f-82ee72b054a4
	PR rtl-optimization/64316
	* simplify-rtx.c (simplify_relational_operation_1): For
	(eq/ne (and x y) x) and (eq/ne (and x y) y) optimizations use
	CONST0_RTX instead of const0_rtx.

	* gcc.dg/pr64316.c: New test.


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