r244507 - in /trunk/gcc: ChangeLog gimplify.c t...

jakub@gcc.gnu.org jakub@gcc.gnu.org
Mon Jan 16 21:35:00 GMT 2017


Author: jakub
Date: Mon Jan 16 21:35:30 2017
New Revision: 244507

URL: https://gcc.gnu.org/viewcvs?rev=244507&root=gcc&view=rev
Log:
	PR c/79089
	* gimplify.c (gimplify_init_constructor): If want_value and
	object == lhs, unshare lhs to avoid invalid tree sharing.  Formatting
	fix.

	* gcc.c-torture/compile/pr79089.c: New test.

Added:
    trunk/gcc/testsuite/gcc.c-torture/compile/pr79089.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/gimplify.c
    trunk/gcc/testsuite/ChangeLog



More information about the Gcc-cvs mailing list