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
This commit is contained in:
Jakub Jelinek 2016-11-07 23:35:43 +01:00 committed by Jakub Jelinek
parent 9b8dc9eadf
commit 4ab71abd26
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,9 @@
2016-11-07 Jakub Jelinek <jakub@redhat.com>
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 <bergner@vnet.ibm.com>
* config.gcc (powerpc*-*-*, rs6000*-*-*): Remove setting of

View File

@ -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;