This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/49200] New: Segmentation fault in vect_is_slp_reduction
- From: "dcb314 at hotmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 27 May 2011 20:20:09 +0000
- Subject: [Bug c/49200] New: Segmentation fault in vect_is_slp_reduction
- Auto-submitted: auto-generated
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49200
Summary: Segmentation fault in vect_is_slp_reduction
Product: gcc
Version: 4.7.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: dcb314@hotmail.com
Created attachment 24379
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24379
C source code
I just tried to compile the package nesc-1.3.2 with the latest 4.7
snapshot 20110521 on a Fedora Linux x86_64 box.
The compiler said
charset.c: In function 'cpp_interpret_charconst':
charset.c:1517:1: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
In gdb, I get
Program received signal SIGSEGV, Segmentation fault.
vect_is_slp_reduction (first_stmt=0x7ffff1791108, phi=0x7ffff1d52a00,
loop_info=0x14bce40)
at ../../src/gcc-4.7-20110521/gcc/tree-vect-loop.c:1749
1749 if (!is_gimple_assign (use_stmt)
(gdb) p use_stmt
$1 = (union gimple_statement_d *) 0x0
(gdb)
Preprocessed source code attached. Flag -O3 required.
This bug might be related to #41881.