[Bug target/32893] zlib segfault in inflate_table() compiled w/ -O -msse2 ftree-vectorize

dorit at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Wed Jul 25 20:43:00 GMT 2007



------- Comment #1 from dorit at gcc dot gnu dot org  2007-07-25 20:43 -------
thanks a lot for checking both patches!

> With this patch zlib appears to compile successfully.  The loop is
> vectorized with an "alignment of access forced using peeling" note and linked
> apps no longer segfault.

I'd like to try to verify if the problem is indeed related to the
STACK_BOUNDARY, or whether this has to do with some weird interplay with the
compilation of some other function, possibly after inlining (i.e. something
like what we had in PR27770). I'm not sure how to suggest to check that...

> I also tested using Andrew's patch from bug #16660 and always returning true in
> vect_can_force_dr_alignment_p but it does not fix this error.

Andrew, makes sense to you?

> Let me know if I can provide any other info that would be useful to you.

thanks, I'll think about it...


-- 


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



More information about the Gcc-bugs mailing list