diff options
author | Richard Guenther <rguenther@suse.de> | 2009-03-02 11:52:15 +0000 |
---|---|---|
committer | Ira Rosen <irar@gcc.gnu.org> | 2009-03-02 11:52:15 +0000 |
commit | 6dfb529ce2820d176b3f4c637a23544998377e39 (patch) | |
tree | 1e9f60d4ee1b8a71ee3949aebf2a305e9f557b62 /gcc/tree-vect-transform.c | |
parent | cbf92fc258302dc21b6720f01a0c1ae40b68fd5d (diff) | |
download | gcc-6dfb529ce2820d176b3f4c637a23544998377e39.zip gcc-6dfb529ce2820d176b3f4c637a23544998377e39.tar.gz gcc-6dfb529ce2820d176b3f4c637a23544998377e39.tar.bz2 |
re PR middle-end/39318 (internal compiler error: verify_stmts failed)
2009-03-02 Richard Guenther <rguenther@suse.de>
Ira Rosen <irar@il.ibm.com>
PR tree-optimization/39318
* tree-vect-transform.c (vectorizable_call): Transfer the EH region
information to the vectorized statement.
Co-Authored-By: Ira Rosen <irar@il.ibm.com>
From-SVN: r144541
Diffstat (limited to 'gcc/tree-vect-transform.c')
-rw-r--r-- | gcc/tree-vect-transform.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/tree-vect-transform.c b/gcc/tree-vect-transform.c index abb33e25..5f9884f 100644 --- a/gcc/tree-vect-transform.c +++ b/gcc/tree-vect-transform.c @@ -3450,6 +3450,10 @@ vectorizable_call (gimple stmt, gimple_stmt_iterator *gsi, gimple *vec_stmt) VEC_free (tree, heap, vargs); + /* Update the exception handling table with the vector stmt if necessary. */ + if (maybe_clean_or_replace_eh_stmt (stmt, *vec_stmt)) + gimple_purge_dead_eh_edges (gimple_bb (stmt)); + /* The call in STMT might prevent it from being removed in dce. We however cannot remove it here, due to the way the ssa name it defines is mapped to the new definition. So just replace |