This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/24300] New: segfault in operand_equal_p with -ftree-vectorize
- From: "janis at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 10 Oct 2005 20:54:18 -0000
- Subject: [Bug tree-optimization/24300] New: segfault in operand_equal_p with -ftree-vectorize
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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