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

rguenth@gcc.gnu.org rguenth@gcc.gnu.org
Tue Mar 28 10:10:00 GMT 2017


Author: rguenth
Date: Tue Mar 28 10:10:01 2017
New Revision: 246527

URL: https://gcc.gnu.org/viewcvs?rev=246527&root=gcc&view=rev
Log:
2017-03-28  Richard Biener  <rguenther@suse.de>

	PR middle-end/80222
	* gimple-fold.c (gimple_fold_indirect_ref): Do not touch
	TYPE_REF_CAN_ALIAS_ALL references.
	* fold-const.c (fold_indirect_ref_1): Likewise.

	* g++.dg/pr80222.C: New testcase.

Added:
    trunk/gcc/testsuite/g++.dg/pr80222.C
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/fold-const.c
    trunk/gcc/gimple-fold.c
    trunk/gcc/testsuite/ChangeLog



More information about the Gcc-cvs mailing list