gimple-fold.c (fold_gimple_assign): Do not intorudce referneces to BUILT_IN_UNREACHABLE.

* gimple-fold.c (fold_gimple_assign): Do not intorudce referneces
	to BUILT_IN_UNREACHABLE.

From-SVN: r214114
This commit is contained in:
Jan Hubicka 2014-08-18 21:21:12 +02:00 committed by Jan Hubicka
parent 374f5bf801
commit c5ac1780e4
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2014-08-18 Jan Hubicka <hubicka@ucw.cz>
* gimple-fold.c (fold_gimple_assign): Do not intorudce referneces
to BUILT_IN_UNREACHABLE.
2014-08-18 Uros Bizjak <ubizjak@gmail.com>
PR target/62011

View File

@ -324,7 +324,9 @@ fold_gimple_assign (gimple_stmt_iterator *si)
if (targets.length () == 1)
fndecl = targets[0]->decl;
else
fndecl = builtin_decl_implicit (BUILT_IN_UNREACHABLE);
/* We can not use __builtin_unreachable here because it
can not have address taken. */
fndecl = integer_zero_node;
if (dump_enabled_p ())
{
location_t loc = gimple_location_safe (stmt);