From: Jan Hubicka Date: Mon, 18 Aug 2014 19:21:12 +0000 (+0200) Subject: gimple-fold.c (fold_gimple_assign): Do not intorudce referneces to BUILT_IN_UNREACHABLE. X-Git-Tag: releases/gcc-5.1.0~5408 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c5ac1780e4b4db5802689b4eee9becb5c3ad4a7e;p=thirdparty%2Fgcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 8674f949b4b2..9ffa188c69bc 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2014-08-18 Jan Hubicka + + * gimple-fold.c (fold_gimple_assign): Do not intorudce referneces + to BUILT_IN_UNREACHABLE. + 2014-08-18 Uros Bizjak PR target/62011 diff --git a/gcc/gimple-fold.c b/gcc/gimple-fold.c index f432baf07c24..9afaedf251d2 100644 --- a/gcc/gimple-fold.c +++ b/gcc/gimple-fold.c @@ -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);