[Bug tree-optimization/34038] 176.gcc segfaults when compiled with -O2 -ftree-vectorize -maltivec

janis at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Wed Dec 12 23:35:00 GMT 2007



------- Comment #8 from janis at gcc dot gnu dot org  2007-12-12 23:34 -------
Ira, it seems I've wasted your time; it's a well-known problem (except to me)
that -maltivec without -mabi=altivec doesn't work in the general case because
vector registers are not saved and restored.  That explains why this test
passes with either reload.c or reload1.c is compiled without vectorization. 
Meanwhile there are discussions happening about how to fix this so that someone
using "-O3 -mcpu=970" won't run into failures when they don't even realize
they're using vector registers.


-- 


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



More information about the Gcc-bugs mailing list