r255954 - in /trunk/gcc: ChangeLog bb-reorder.c...

jakub@gcc.gnu.org jakub@gcc.gnu.org
Thu Dec 21 19:28:00 GMT 2017


Author: jakub
Date: Thu Dec 21 19:28:10 2017
New Revision: 255954

URL: https://gcc.gnu.org/viewcvs?rev=255954&root=gcc&view=rev
Log:
	PR rtl-optimization/80747
	PR rtl-optimization/83512
	* cfgrtl.c (force_nonfallthru_and_redirect): When splitting
	succ edge from ENTRY, copy partition from e->dest to the newly
	created bb.
	* bb-reorder.c (reorder_basic_blocks_simple): If last_tail is
	ENTRY, use BB_PARTITION of its successor block as current_partition.
	Don't copy partition when splitting succ edge from ENTRY.

	* gcc.dg/pr80747.c: New test.
	* gcc.dg/pr83512.c: New test.

Added:
    trunk/gcc/testsuite/gcc.dg/pr80747.c
    trunk/gcc/testsuite/gcc.dg/pr83512.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/bb-reorder.c
    trunk/gcc/cfgrtl.c
    trunk/gcc/testsuite/ChangeLog



More information about the Gcc-cvs mailing list