https://gcc.gnu.org/bugzilla/show_bug.cgi?id=36550

--- Comment #17 from Jeffrey A. Law <law at gcc dot gnu.org> ---
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

Reply via email to