re PR target/78229 (ICE in redirect_eh_edge_1, at tree-eh.c:2305)
authorJakub Jelinek <jakub@redhat.com>
Mon, 7 Nov 2016 22:35:43 +0000 (23:35 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Mon, 7 Nov 2016 22:35:43 +0000 (23:35 +0100)
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

gcc/ChangeLog
gcc/config/i386/i386.c

index 33b05f0..ff8e061 100644 (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
index bbeff1e..70e5afe 100644 (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;