public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/58373] New: [4.9 Regression] g++: internal compiler error: Segmentation fault (program cc1plus)
@ 2013-09-09 18:09 markus at trippelsdorf dot de
  2013-09-10  7:37 ` [Bug tree-optimization/58373] " markus at trippelsdorf dot de
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: markus at trippelsdorf dot de @ 2013-09-09 18:09 UTC (permalink / raw)
  To: gcc-bugs

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
...


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

* [Bug tree-optimization/58373] [4.9 Regression] g++: internal compiler error: Segmentation fault (program cc1plus)
  2013-09-09 18:09 [Bug tree-optimization/58373] New: [4.9 Regression] g++: internal compiler error: Segmentation fault (program cc1plus) markus at trippelsdorf dot de
@ 2013-09-10  7:37 ` markus at trippelsdorf dot de
  2013-09-10  8:52 ` rguenth at gcc dot gnu.org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: markus at trippelsdorf dot de @ 2013-09-10  7:37 UTC (permalink / raw)
  To: gcc-bugs

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

Markus Trippelsdorf <markus at trippelsdorf dot de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |law at gcc dot gnu.org

--- Comment #1 from Markus Trippelsdorf <markus at trippelsdorf dot de> ---
Started with rev202296.


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

* [Bug tree-optimization/58373] [4.9 Regression] g++: internal compiler error: Segmentation fault (program cc1plus)
  2013-09-09 18:09 [Bug tree-optimization/58373] New: [4.9 Regression] g++: internal compiler error: Segmentation fault (program cc1plus) markus at trippelsdorf dot de
  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
  3 siblings, 0 replies; 5+ messages in thread
From: rguenth at gcc dot gnu.org @ 2013-09-10  8:52 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.9.0

--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> ---
Looks like cc1plus being miscompiled - does it reproduce with stage1 cc1plus?


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

* [Bug tree-optimization/58373] [4.9 Regression] g++: internal compiler error: Segmentation fault (program cc1plus)
  2013-09-09 18:09 [Bug tree-optimization/58373] New: [4.9 Regression] g++: internal compiler error: Segmentation fault (program cc1plus) markus at trippelsdorf dot de
  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
  3 siblings, 0 replies; 5+ messages in thread
From: markus at trippelsdorf dot de @ 2013-09-10 12:45 UTC (permalink / raw)
  To: gcc-bugs

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

Markus Trippelsdorf <markus at trippelsdorf dot de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |DUPLICATE

--- Comment #4 from Markus Trippelsdorf <markus at trippelsdorf dot de> ---
dup of PR58373, fixed by rev202441 .

*** This bug has been marked as a duplicate of bug 58343 ***


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

* [Bug tree-optimization/58373] [4.9 Regression] g++: internal compiler error: Segmentation fault (program cc1plus)
  2013-09-09 18:09 [Bug tree-optimization/58373] New: [4.9 Regression] g++: internal compiler error: Segmentation fault (program cc1plus) markus at trippelsdorf dot de
                   ` (2 preceding siblings ...)
  2013-09-10 12:45 ` markus at trippelsdorf dot de
@ 2013-09-10 12:48 ` law at redhat dot com
  3 siblings, 0 replies; 5+ messages in thread
From: law at redhat dot com @ 2013-09-10 12:48 UTC (permalink / raw)
  To: gcc-bugs

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

Jeffrey A. Law <law at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |law at redhat dot com

--- Comment #5 from Jeffrey A. Law <law at redhat dot com> ---
Thanks Markus -- I was going to look at this once I figure out this IA64
mis-compilation issue.  One less thing to worry about now ;-)


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

end of thread, other threads:[~2013-09-10 12:48 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-09-09 18:09 [Bug tree-optimization/58373] New: [4.9 Regression] g++: internal compiler error: Segmentation fault (program cc1plus) markus at trippelsdorf dot de
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

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).