r235903 - in /trunk/gcc: ChangeLog cfgcleanup.c

segher@gcc.gnu.org segher@gcc.gnu.org
Wed May 4 20:50:00 GMT 2016


Author: segher
Date: Wed May  4 20:50:12 2016
New Revision: 235903

URL: https://gcc.gnu.org/viewcvs?rev=235903&root=gcc&view=rev
Log:
cfgcleanup: Bugfix in try_simplify_condjump

If the jump_block here contains just a return, we will crash later
in invert_jump.  Don't allow that case.


	* cfgcleanup.c (try_simplify_condjump): Don't try to simplify a
	branch to a return.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/cfgcleanup.c



More information about the Gcc-cvs mailing list