Commit c5ac1780 by Jan Hubicka Committed by Jan Hubicka

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
parent 374f5bf8
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
......
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment