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

irar at il dot ibm dot com gcc-bugzilla@gcc.gnu.org
Thu Dec 6 07:50:00 GMT 2007



------- Comment #5 from irar at il dot ibm dot com  2007-12-06 07:49 -------
It also fails with -O2 and -O1 (and not only with -O3).

The offending loop is reload.c:2352 (in function find_reloads):
      for (i = 0; i < noperands; i++)
        {
          constraints[i] = constraints1[i]
            = insn_operand_constraint[insn_code_number][i];
          operand_mode[i] = insn_operand_mode[insn_code_number][i];
        }
If I force this loop not to be vectorized, no failure occurs.

Vectorizer dumps for this loop are identical with and without
-fno-strict-aliasing, as well as the 'optimized' dumps. 

Ira


-- 


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



More information about the Gcc-bugs mailing list