2013-09-20  Richard Biener  <rguenther@suse.de>

	PR tree-optimization/58453
	* tree-loop-distribution.c (distribute_loop): Apply the cost
	model for -ftree-loop-distribute-patterns, too.

	* gcc.dg/tree-ssa/ldist-23.c: New testcase.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@202775 138bc75d-0d04-0410-961f-82ee72b054a4
2013-09-20  Marek Polacek  <polacek@redhat.com>

	PR sanitizer/58413
	* ubsan.c (get_ubsan_type_info_for_type): Use TYPE_SIZE instead of
	TYPE_PRECISION.  Add asserts.

testsuite/
	* c-c++-common/ubsan/shift-4.c: New test.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@202776 138bc75d-0d04-0410-961f-82ee72b054a4
2013-09-20  Bernd Edlinger  <bernd.edlinger@hotmail.de>

        PR middle-end/57748
        * expr.c (expand_assignment): Remove misalignp code path.

testsuite/

        PR middle-end/57748
        * gcc.dg/torture/pr57748-1.c: New test.
        * gcc.dg/torture/pr57748-2.c: New test.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@202778 138bc75d-0d04-0410-961f-82ee72b054a4
[AArch64] Use plus_constant.

2013-09-20  Renlin Li  <renlin.li@arm.com>

	* config/aarch64/aarch64.c (aarch64_expand_prologue): Use plus_constant.
	(aarch64_expand_epilogue): Likewise.
	(aarch64_legitimize_reload_address): Likewise.




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