r255550 - in /trunk/gcc: ChangeLog ifcvt.c test...

segher@gcc.gnu.org segher@gcc.gnu.org
Mon Dec 11 21:23:00 GMT 2017


Author: segher
Date: Mon Dec 11 21:23:08 2017
New Revision: 255550

URL: https://gcc.gnu.org/viewcvs?rev=255550&root=gcc&view=rev
Log:
ifcvt: Call fixup_partitions (PR83361)

After converting a conditional branch to an unconditional trap to a
conditional trap, if the original trap is still reachable from another
path, it may be that it is in a hot basic block  and only reachable from
cold blocks.  Fix that up.


	PR rtl-optimization/83361
	* ifcvt.c (if_convert): Call fixup_partitions.

gcc/testsuite/
	PR rtl-optimization/83361
	* gcc.dg/pr83361.c: New testcase.

Added:
    trunk/gcc/testsuite/gcc.dg/pr83361.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/ifcvt.c
    trunk/gcc/testsuite/ChangeLog



More information about the Gcc-cvs mailing list