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

rguenth@gcc.gnu.org rguenth@gcc.gnu.org
Tue Mar 21 11:43:00 GMT 2017


Author: rguenth
Date: Tue Mar 21 11:43:45 2017
New Revision: 246314

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

	PR tree-optimization/80032
	* gimplify.c (gimple_push_cleanup): Add force_uncond parameter,
	if set force the cleanup to happen unconditionally.
	(gimplify_target_expr): Push inserted clobbers with force_uncond
	to avoid them being removed by control-dependent DCE.

	* g++.dg/opt/pr80032.C: New testcase.

Added:
    trunk/gcc/testsuite/g++.dg/opt/pr80032.C
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/gimplify.c
    trunk/gcc/testsuite/ChangeLog



More information about the Gcc-cvs mailing list