tree-ssa-ccp.c (optimize_unreachable): New function.
authorTom de Vries <tom@codesourcery.com>
Mon, 9 Jul 2012 13:28:51 +0000 (13:28 +0000)
committerTom de Vries <vries@gcc.gnu.org>
Mon, 9 Jul 2012 13:28:51 +0000 (13:28 +0000)
commitc61e5cc19a30f5e8cb6ea3bd2a23b643f0dfbadf
tree1b9cd1549e86b0e1d14b1a7cfacbb928e0d5e245
parent44a9d0eac23440d76f06ef9b3d429d5c3d286ded
tree-ssa-ccp.c (optimize_unreachable): New function.

2012-07-09  Tom de Vries  <tom@codesourcery.com>
    Richard Guenther  <rguenther@suse.de>

* tree-ssa-ccp.c (optimize_unreachable): New function.
(execute_fold_all_builtins): Use optimize_unreachable to optimize
BUILT_IN_UNREACHABLE.  Don't optimize after BUILT_IN_UNREACHABLE.

Co-Authored-By: Richard Guenther <rguenther@suse.de>
From-SVN: r189383
gcc/ChangeLog
gcc/tree-ssa-ccp.c