public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/49200] New: Segmentation fault in vect_is_slp_reduction
@ 2011-05-27 20:20 dcb314 at hotmail dot com
  2011-05-28  8:11 ` [Bug c/49200] " irar at il dot ibm.com
  2011-05-28 13:01 ` rguenth at gcc dot gnu.org
  0 siblings, 2 replies; 3+ messages in thread
From: dcb314 at hotmail dot com @ 2011-05-27 20:20 UTC (permalink / raw)
  To: gcc-bugs

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.


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-05-28 13:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-05-27 20:20 [Bug c/49200] New: Segmentation fault in vect_is_slp_reduction dcb314 at hotmail dot com
2011-05-28  8:11 ` [Bug c/49200] " irar at il dot ibm.com
2011-05-28 13:01 ` rguenth at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).