public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/54920] New: [4.8 Regression] segfault in tree-ssa-pre.c during Firefox build
@ 2012-10-13 13:50 markus at trippelsdorf dot de
2012-10-14 8:27 ` [Bug tree-optimization/54920] " glisse at gcc dot gnu.org
` (4 more replies)
0 siblings, 5 replies; 6+ messages in thread
From: markus at trippelsdorf dot de @ 2012-10-13 13:50 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54920
Bug #: 54920
Summary: [4.8 Regression] segfault in tree-ssa-pre.c during
Firefox build
Classification: Unclassified
Product: gcc
Version: 4.8.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: tree-optimization
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: markus@trippelsdorf.de
insert_into_preds_of_block (block=0x7ffff2dba1f8, block@entry=0x7ffff6665dd0,
exprnum=<optimized out>, avail=0x7ffff2dba1f8)
at /home/markus/gcc/gcc/tree-ssa-pre.c:3085
3085 FOR_EACH_EDGE (pred, ei, block->preds)
(gdb) bt
#0 insert_into_preds_of_block (block=0x7ffff2dba1f8,
block@entry=0x7ffff6665dd0, exprnum=<optimized out>, avail=0x7ffff2dba1f8)
at /home/markus/gcc/gcc/tree-ssa-pre.c:3085
#1 0x00000000009a760e in do_regular_insertion (block=<optimized out>,
dom=<optimized out>) at /home/markus/gcc/gcc/tree-ssa-pre.c:3385
#2 insert_aux (block=block@entry=0x7ffff6665dd0) at
/home/markus/gcc/gcc/tree-ssa-pre.c:3599
#3 0x00000000009a7008 in insert_aux (block=block@entry=0x7ffff516bb60) at
/home/markus/gcc/gcc/tree-ssa-pre.c:3609
#4 0x00000000009a7008 in insert_aux (block=block@entry=0x7ffff66884e0) at
/home/markus/gcc/gcc/tree-ssa-pre.c:3609
#5 0x00000000009a7008 in insert_aux (block=block@entry=0x7ffff6665750) at
/home/markus/gcc/gcc/tree-ssa-pre.c:3609
#6 0x00000000009a7008 in insert_aux (block=block@entry=0x7ffff66654e0) at
/home/markus/gcc/gcc/tree-ssa-pre.c:3609
#7 0x00000000009a7008 in insert_aux (block=<optimized out>) at
/home/markus/gcc/gcc/tree-ssa-pre.c:3609
#8 0x00000000009a8b9b in insert () at /home/markus/gcc/gcc/tree-ssa-pre.c:3632
#9 do_pre () at /home/markus/gcc/gcc/tree-ssa-pre.c:4707
#10 do_pre () at /home/markus/gcc/gcc/tree-ssa-pre.c:4660
#11 0x00000000007e927a in execute_one_pass (pass=pass@entry=0x112cdc0) at
/home/markus/gcc/gcc/passes.c:2320
markus@x4 src % cat test.i
typedef short __v8hi __attribute__ ((__vector_size__ (16)));
typedef long long __m128i __attribute__ ((__vector_size__ (16)));
int a;
__m128i b;
void
fn1 ()
{
while (1)
b = (__m128i) (__v8hi)
{
a, 0, 0, 0, 0, 0
};
}
markus@x4 src % gcc -c -O2 test.i
test.i: In function ‘fn1’:
test.i:7:1: internal compiler error: Segmentation fault
fn1 ()
^
linux-vdso.so.1: No such file or directory
0x88d3ef crash_signal
/home/markus/gcc/gcc/toplev.c:335
inconsistent DWARF line number info
0x9a3ee7 insert_into_preds_of_block
/home/markus/gcc/gcc/tree-ssa-pre.c:3092
0x9a760d do_regular_insertion
/home/markus/gcc/gcc/tree-ssa-pre.c:3385
0x9a760d insert_aux
/home/markus/gcc/gcc/tree-ssa-pre.c:3599
0x9a7007 insert_aux
/home/markus/gcc/gcc/tree-ssa-pre.c:3609
0x9a7007 insert_aux
/home/markus/gcc/gcc/tree-ssa-pre.c:3609
0x9a8b9a insert
/home/markus/gcc/gcc/tree-ssa-pre.c:3632
0x9a8b9a do_pre
/home/markus/gcc/gcc/tree-ssa-pre.c:4707
0x9a8b9a do_pre
/home/markus/gcc/gcc/tree-ssa-pre.c:4660
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug tree-optimization/54920] [4.8 Regression] segfault in tree-ssa-pre.c during Firefox build
2012-10-13 13:50 [Bug tree-optimization/54920] New: [4.8 Regression] segfault in tree-ssa-pre.c during Firefox build markus at trippelsdorf dot de
@ 2012-10-14 8:27 ` glisse at gcc dot gnu.org
2012-10-15 9:47 ` rguenth at gcc dot gnu.org
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: glisse at gcc dot gnu.org @ 2012-10-14 8:27 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54920
Marc Glisse <glisse at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |glisse at gcc dot gnu.org
--- Comment #1 from Marc Glisse <glisse at gcc dot gnu.org> 2012-10-14 08:26:54 UTC ---
In create_expression_by_pieces, I see this:
case NARY:
{
vn_nary_op_t nary = PRE_EXPR_NARY (expr);
tree genop[4];
unsigned i;
for (i = 0; i < nary->length; ++i)
{
genop[i] = find_or_generate_expression (block, nary->op[i], stmts);
Does that mean 4 is an upper bound on the size of an nary?
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug tree-optimization/54920] [4.8 Regression] segfault in tree-ssa-pre.c during Firefox build
2012-10-13 13:50 [Bug tree-optimization/54920] New: [4.8 Regression] segfault in tree-ssa-pre.c during Firefox build markus at trippelsdorf dot de
2012-10-14 8:27 ` [Bug tree-optimization/54920] " glisse at gcc dot gnu.org
@ 2012-10-15 9:47 ` rguenth at gcc dot gnu.org
2012-10-15 11:23 ` rguenth at gcc dot gnu.org
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: rguenth at gcc dot gnu.org @ 2012-10-15 9:47 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54920
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |ASSIGNED
Last reconfirmed| |2012-10-15
AssignedTo|unassigned at gcc dot |rguenth at gcc dot gnu.org
|gnu.org |
Target Milestone|--- |4.8.0
Ever Confirmed|0 |1
--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> 2012-10-15 09:47:10 UTC ---
Ouch ;)
Mine.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug tree-optimization/54920] [4.8 Regression] segfault in tree-ssa-pre.c during Firefox build
2012-10-13 13:50 [Bug tree-optimization/54920] New: [4.8 Regression] segfault in tree-ssa-pre.c during Firefox build markus at trippelsdorf dot de
2012-10-14 8:27 ` [Bug tree-optimization/54920] " glisse at gcc dot gnu.org
2012-10-15 9:47 ` rguenth at gcc dot gnu.org
@ 2012-10-15 11:23 ` rguenth at gcc dot gnu.org
2012-10-15 11:28 ` rguenth at gcc dot gnu.org
2012-10-15 11:28 ` rguenth at gcc dot gnu.org
4 siblings, 0 replies; 6+ messages in thread
From: rguenth at gcc dot gnu.org @ 2012-10-15 11:23 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54920
--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> 2012-10-15 11:22:54 UTC ---
Author: rguenth
Date: Mon Oct 15 11:22:49 2012
New Revision: 192454
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=192454
Log:
2012-10-15 Richard Guenther <rguenther@suse.de>
PR tree-optimization/54920
* tree-ssa-pre.c (create_expression_by_pieces): Properly
allocate temporary storage for all NARY elements.
* gcc.dg/torture/pr54920.c: New testcase.
Added:
trunk/gcc/testsuite/gcc.dg/torture/pr54920.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/testsuite/ChangeLog
trunk/gcc/tree-ssa-pre.c
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug tree-optimization/54920] [4.8 Regression] segfault in tree-ssa-pre.c during Firefox build
2012-10-13 13:50 [Bug tree-optimization/54920] New: [4.8 Regression] segfault in tree-ssa-pre.c during Firefox build markus at trippelsdorf dot de
` (3 preceding siblings ...)
2012-10-15 11:28 ` rguenth at gcc dot gnu.org
@ 2012-10-15 11:28 ` rguenth at gcc dot gnu.org
4 siblings, 0 replies; 6+ messages in thread
From: rguenth at gcc dot gnu.org @ 2012-10-15 11:28 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54920
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
--- Comment #5 from Richard Biener <rguenth at gcc dot gnu.org> 2012-10-15 11:28:36 UTC ---
Fixed.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug tree-optimization/54920] [4.8 Regression] segfault in tree-ssa-pre.c during Firefox build
2012-10-13 13:50 [Bug tree-optimization/54920] New: [4.8 Regression] segfault in tree-ssa-pre.c during Firefox build markus at trippelsdorf dot de
` (2 preceding siblings ...)
2012-10-15 11:23 ` rguenth at gcc dot gnu.org
@ 2012-10-15 11:28 ` rguenth at gcc dot gnu.org
2012-10-15 11:28 ` rguenth at gcc dot gnu.org
4 siblings, 0 replies; 6+ messages in thread
From: rguenth at gcc dot gnu.org @ 2012-10-15 11:28 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54920
--- Comment #4 from Richard Biener <rguenth at gcc dot gnu.org> 2012-10-15 11:28:20 UTC ---
Author: rguenth
Date: Mon Oct 15 11:28:15 2012
New Revision: 192455
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=192455
Log:
2012-10-15 Richard Guenther <rguenther@suse.de>
PR tree-optimization/54920
* tree-ssa-pre.c (create_expression_by_pieces): Properly
allocate temporary storage for all NARY elements.
* gcc.dg/torture/pr54920.c: New testcase.
Added:
branches/gcc-4_7-branch/gcc/testsuite/gcc.dg/torture/pr54920.c
Modified:
branches/gcc-4_7-branch/gcc/ChangeLog
branches/gcc-4_7-branch/gcc/testsuite/ChangeLog
branches/gcc-4_7-branch/gcc/tree-ssa-pre.c
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2012-10-15 11:28 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-10-13 13:50 [Bug tree-optimization/54920] New: [4.8 Regression] segfault in tree-ssa-pre.c during Firefox build markus at trippelsdorf dot de
2012-10-14 8:27 ` [Bug tree-optimization/54920] " glisse at gcc dot gnu.org
2012-10-15 9:47 ` rguenth at gcc dot gnu.org
2012-10-15 11:23 ` rguenth at gcc dot gnu.org
2012-10-15 11:28 ` rguenth at gcc dot gnu.org
2012-10-15 11:28 ` 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).