From: Jakub Jelinek Date: Mon, 7 Nov 2016 22:35:43 +0000 (+0100) Subject: re PR target/78229 (ICE in redirect_eh_edge_1, at tree-eh.c:2305) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4ab71abd2650621b8de283e326fda9cad2669787;p=gcc.git re PR target/78229 (ICE in redirect_eh_edge_1, at tree-eh.c:2305) PR target/78229 * config/i386/i386.c (ix86_gimple_fold_builtin): Do not adjust EH info even for bzhi and pdep/pext. From-SVN: r241942 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 33b05f08876..ff8e061b1e6 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2016-11-07 Jakub Jelinek + + PR target/78229 + * config/i386/i386.c (ix86_gimple_fold_builtin): Do not adjust + EH info even for bzhi and pdep/pext. + 2016-11-07 Peter Bergner * config.gcc (powerpc*-*-*, rs6000*-*-*): Remove setting of diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c index bbeff1ec94b..70e5afec226 100644 --- a/gcc/config/i386/i386.c +++ b/gcc/config/i386/i386.c @@ -33537,7 +33537,7 @@ ix86_gimple_fold_builtin (gimple_stmt_iterator *gsi) location_t loc = gimple_location (stmt); gimple *g = gimple_build_assign (gimple_call_lhs (stmt), arg0); gimple_set_location (g, loc); - gsi_replace (gsi, g, true); + gsi_replace (gsi, g, false); return true; } break; @@ -33554,7 +33554,7 @@ ix86_gimple_fold_builtin (gimple_stmt_iterator *gsi) arg0 = gimple_call_arg (stmt, 0); gimple *g = gimple_build_assign (gimple_call_lhs (stmt), arg0); gimple_set_location (g, loc); - gsi_replace (gsi, g, true); + gsi_replace (gsi, g, false); return true; } break;