Re: [PATCH] Fix simd clone vectorization with EH (PR tree-optimization/63915)

2014-11-19 Thread Richard Biener
On Tue, 18 Nov 2014, Jakub Jelinek wrote: > Hi! > > Simd clone vectorization uses vect_finish_stmt_generation which > handles adding the new calls properly to EH tables, but afterwards > we replace the original call with a normal assignment, and if the original > call can throw, we need to remove

[PATCH] Fix simd clone vectorization with EH (PR tree-optimization/63915)

2014-11-18 Thread Jakub Jelinek
Hi! Simd clone vectorization uses vect_finish_stmt_generation which handles adding the new calls properly to EH tables, but afterwards we replace the original call with a normal assignment, and if the original call can throw, we need to remove it from the EH tables. Fixed thusly, bootstrapped/reg