r255969 - in /branches/gcc-7-branch/gcc: Change...

jakub@gcc.gnu.org jakub@gcc.gnu.org
Fri Dec 22 08:51:00 GMT 2017


Author: jakub
Date: Fri Dec 22 08:51:26 2017
New Revision: 255969

URL: https://gcc.gnu.org/viewcvs?rev=255969&root=gcc&view=rev
Log:
	Backported from mainline
	2017-12-21  Jakub Jelinek  <jakub@redhat.com>

	PR tree-optimization/83521
	* tree-ssa-phiopt.c (factor_out_conditional_conversion): Use
	gimple_build_assign without code on result of
	fold_build1 (VIEW_CONVERT_EXPR, ...), as it might not create
	a VIEW_CONVERT_EXPR.

	* gcc.dg/pr83521.c: New test.

Added:
    branches/gcc-7-branch/gcc/testsuite/gcc.dg/pr83521.c
Modified:
    branches/gcc-7-branch/gcc/ChangeLog
    branches/gcc-7-branch/gcc/testsuite/ChangeLog
    branches/gcc-7-branch/gcc/tree-ssa-phiopt.c



More information about the Gcc-cvs mailing list