This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/50133] [4.7 Regression] ICE: SIGSEGV in vect_finish_stmt_generation (gimple.h:4821) with -ftree-vectorize -fno-tree-loop-im
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 22 Aug 2011 09:59:51 +0000
- Subject: [Bug tree-optimization/50133] [4.7 Regression] ICE: SIGSEGV in vect_finish_stmt_generation (gimple.h:4821) with -ftree-vectorize -fno-tree-loop-im
- Auto-submitted: auto-generated
- References: <bug-50133-4@http.gcc.gnu.org/bugzilla/>
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...