http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50133
--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-08-22 09:59:51 UTC --- Or, alternatively can't we use: gimple_set_location (vec_stmt, gimple_location (stmt)); instead (and remove all the si handling stuff)? It seems before PR37482 we were using the scalar stmt's location instead of the gsi, which makes much more sense to me. Ira, any reason why you've changed it? I mean the asserts obviously with the patch had to be removed, but I wonder about the gimple_set_location line...