public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "markus at trippelsdorf dot de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/58373] New: [4.9 Regression] g++: internal compiler error: Segmentation fault (program cc1plus)
Date: Mon, 09 Sep 2013 18:09:00 -0000	[thread overview]
Message-ID: <bug-58373-4@http.gcc.gnu.org/bugzilla/> (raw)

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

            Bug ID: 58373
           Summary: [4.9 Regression] g++: internal compiler error:
                    Segmentation fault (program cc1plus)
           Product: gcc
           Version: 4.9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: markus at trippelsdorf dot de

Created attachment 30776
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30776&action=edit
reduced testcase

% gdb --args /var/tmp/gcc_test/usr/local/bin/g++ -c -Wall -Wextra -O3 test.ii
Reading symbols from /var/tmp/gcc_test/usr/local/bin/g++...done.
(gdb) run
Starting program: /var/tmp/gcc_test/usr/local/bin/g++ -c -Wall -Wextra -O3
test.ii
[New process 15370]
process 15370 is executing new program:
/var/tmp/gcc_test/usr/local/libexec/gcc/x86_64-unknown-linux-gnu/4.9.0/cc1plus

Program received signal SIGSEGV, Segmentation fault.
[Switching to process 15370]
0x00007ffff765c8fb in __GI___libc_malloc (bytes=200) at malloc.c:2855
2855      victim = _int_malloc(ar_ptr, bytes);
(gdb) bt
#0  0x00007ffff765c8fb in __GI___libc_malloc (bytes=200) at malloc.c:2855
#1  0x0000000000ff30c0 in xrealloc (oldmem=<optimized out>, size=200) at
../../gcc/libiberty/xmalloc.c:177
#2  0x0000000000bf62ad in reserve<vn_reference_op_struct> (exact=false,
reserve=<optimized out>, v=<synthetic pointer>) at ../../gcc/gcc/vec.h:300
#3  vec_safe_reserve<vn_reference_op_struct, va_heap> (exact=false,
nelems=<optimized out>, v=<synthetic pointer>) at ../../gcc/gcc/vec.h:668
#4  vec_alloc<vn_reference_op_struct, va_heap> (nelems=<optimized out>,
v=<synthetic pointer>) at ../../gcc/gcc/vec.h:689
#5  copy (this=0x1634de0) at ../../gcc/gcc/vec.h:917
#6  copy (this=<synthetic pointer>) at ../../gcc/gcc/vec.h:1460
#7  phi_translate_1 (expr=expr@entry=0x16aef80, set1=set1@entry=0x16b35d0,
set2=set2@entry=0x0, pred=pred@entry=0x7ffff70855b0,
phiblock=phiblock@entry=0x7ffff706fbc8) at ../../gcc/gcc/tree-ssa-pre.c:1589
#8  0x0000000000bf6adc in phi_translate (expr=0x16aef80, set1=0x16b35d0,
set2=0x0, pred=0x7ffff70855b0, phiblock=0x7ffff706fbc8) at
../../gcc/gcc/tree-ssa-pre.c:1774
#9  0x0000000000bf61c4 in phi_translate_1 (expr=expr@entry=0x169b550,
set1=set1@entry=0x16b35d0, set2=set2@entry=0x0, pred=pred@entry=0x7ffff70855b0,
phiblock=phiblock@entry=0x7ffff706fbc8) at ../../gcc/gcc/tree-ssa-pre.c:1463
#10 0x0000000000bf6adc in phi_translate (expr=0x169b550, set1=0x16b35d0,
set2=0x0, pred=0x7ffff70855b0, phiblock=0x7ffff706fbc8) at
../../gcc/gcc/tree-ssa-pre.c:1774
...


             reply	other threads:[~2013-09-09 18:09 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-09 18:09 markus at trippelsdorf dot de [this message]
2013-09-10  7:37 ` [Bug tree-optimization/58373] " markus at trippelsdorf dot de
2013-09-10  8:52 ` rguenth at gcc dot gnu.org
2013-09-10 12:45 ` markus at trippelsdorf dot de
2013-09-10 12:48 ` law at redhat dot com

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-58373-4@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).