GCC mainline for powerpc-linux segfaults compiling 175.vpr with
"-O2 -ftree-vectorize -maltivec"; this is 32-bit code generation.
The failure starts with this patch from rth on 2005-09-17:

  http://gcc.gnu.org/ml/gcc-cvs/2005-09/msg00635.html

The failure was hidden for awhile by another bug that caused a build
failure for 175.vpr with the same options.

The segfault is in operand_equal_p at fold_const.c:2413, with a NULL
value for TREE_TYPE (arg0).  I'll attach a minimized test case.


-- 
           Summary: segfault in operand_equal_p with -ftree-vectorize
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: tree-optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: janis at gcc dot gnu dot org


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

Reply via email to