This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tree-optimization/33953] [4.3 regression] internal compiler error: vector VEC(tree,base) index domain error, in vectorizable_operation at tree-vect-transform.c:4017



------- Comment #6 from irar at il dot ibm dot com  2007-10-31 11:22 -------
(In reply to comment #2)
> Uh, the VEC_* stuff used there looks like a mess.  It's not clear who allocates
> and what the size should be. 

I'll take a look and fix if necessary.

> For example vect_get_vec_defs_for_stmt_copy
> doesn't allocate the VECs which is exactly what causes the problem here.

vect_get_vec_defs_for_stmt_copy is not called here, it is used to create vector
copies in case of multiple types in the loop. It should reuse the VEC used for
the first copy. I think, there is indeed a problem here. We should overwrite
the  existing entries and not push the new ones. I'll look into this. 

> 
> Reducing.
> 

Thanks,
Ira


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33953


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]