r255731 - in /trunk/gcc: ChangeLog testsuite/Ch...

law@gcc.gnu.org law@gcc.gnu.org
Fri Dec 15 22:35:00 GMT 2017


Author: law
Date: Fri Dec 15 22:35:51 2017
New Revision: 255731

URL: https://gcc.gnu.org/viewcvs?rev=255731&root=gcc&view=rev
Log:
	PR tree-optimization/36550
	* tree-ssa-threadupdate.c (count_stmts_and_phis_in_block): New.
	(mark_threaded_blocks): Rewrite code to avoid block copying when
	optimizing for size.  Don't pessimize blocks which will be
	copied, but all the statements will be dead.

	PR tree-optimization/36550
	* gcc.dg/tree-ssa/pr36550.c: New test.

Added:
    trunk/gcc/testsuite/gcc.dg/tree-ssa/pr36550.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-ssa-threadupdate.c



More information about the Gcc-cvs mailing list