r237355 - in /trunk/gcc: ChangeLog fold-const.c...

rguenth@gcc.gnu.org rguenth@gcc.gnu.org
Mon Jun 13 07:34:00 GMT 2016


Author: rguenth
Date: Mon Jun 13 07:34:45 2016
New Revision: 237355

URL: https://gcc.gnu.org/viewcvs?rev=237355&root=gcc&view=rev
Log:
2016-06-13  Richard Biener  <rguenther@suse.de>

	PR middle-end/64516
	* fold-const.c (fold_unary_loc): Preserve alignment when
	folding a VIEW_CONVERT_EXPR into a MEM_REF.

	* gcc.dg/align-3.c: New testcase.

Added:
    trunk/gcc/testsuite/gcc.dg/align-3.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/fold-const.c
    trunk/gcc/testsuite/ChangeLog



More information about the Gcc-cvs mailing list