* [Bug tree-optimization/36991] internal compiler error: in remove_useless_stmts_1, at tree-cfg.c:1882
2008-07-31 18:38 [Bug tree-optimization/36991] New: internal compiler error: in remove_useless_stmts_1, at tree-cfg.c:1882 eagle at cs dot ucla dot edu
@ 2008-07-31 18:39 ` eagle at cs dot ucla dot edu
2008-07-31 18:40 ` eagle at cs dot ucla dot edu
` (8 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: eagle at cs dot ucla dot edu @ 2008-07-31 18:39 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from eagle at cs dot ucla dot edu 2008-07-31 18:38 -------
Created an attachment (id=15986)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15986&action=view)
preprocessed source
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36991
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug tree-optimization/36991] internal compiler error: in remove_useless_stmts_1, at tree-cfg.c:1882
2008-07-31 18:38 [Bug tree-optimization/36991] New: internal compiler error: in remove_useless_stmts_1, at tree-cfg.c:1882 eagle at cs dot ucla dot edu
2008-07-31 18:39 ` [Bug tree-optimization/36991] " eagle at cs dot ucla dot edu
@ 2008-07-31 18:40 ` eagle at cs dot ucla dot edu
2008-08-01 11:16 ` [Bug tree-optimization/36991] [4.3/4.4 Regression] ICE " rguenth at gcc dot gnu dot org
` (7 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: eagle at cs dot ucla dot edu @ 2008-07-31 18:40 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from eagle at cs dot ucla dot edu 2008-07-31 18:38 -------
command line:
gcc -std=gnu99 temp.i
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36991
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug tree-optimization/36991] [4.3/4.4 Regression] ICE in remove_useless_stmts_1, at tree-cfg.c:1882
2008-07-31 18:38 [Bug tree-optimization/36991] New: internal compiler error: in remove_useless_stmts_1, at tree-cfg.c:1882 eagle at cs dot ucla dot edu
2008-07-31 18:39 ` [Bug tree-optimization/36991] " eagle at cs dot ucla dot edu
2008-07-31 18:40 ` eagle at cs dot ucla dot edu
@ 2008-08-01 11:16 ` rguenth at gcc dot gnu dot org
2008-08-01 11:22 ` rguenth at gcc dot gnu dot org
` (6 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2008-08-01 11:16 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from rguenth at gcc dot gnu dot org 2008-08-01 11:15 -------
Confirmed. Reduced testcase:
typedef float v4sf __attribute__ ((vector_size(16)));
typedef v4sf v4;
typedef union {
v4sf v[4][4];
} m4v4;
void skew3(const v4 _v, m4v4 *dV2_dv)
{
float *v = ((float *) &_v);
if (dV2_dv)
dV2_dv->v[1][0] = dV2_dv->v[0][1] = (v4){ v[1], v[0], 0., 0};
}
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Keywords| |ice-on-valid-code
Known to fail| |4.3.1 4.4.0
Known to work| |4.2.4
Last reconfirmed|0000-00-00 00:00:00 |2008-08-01 11:15:10
date| |
Summary|internal compiler error: in |[4.3/4.4 Regression] ICE in
|remove_useless_stmts_1, at |remove_useless_stmts_1, at
|tree-cfg.c:1882 |tree-cfg.c:1882
Target Milestone|--- |4.3.2
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36991
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug tree-optimization/36991] [4.3/4.4 Regression] ICE in remove_useless_stmts_1, at tree-cfg.c:1882
2008-07-31 18:38 [Bug tree-optimization/36991] New: internal compiler error: in remove_useless_stmts_1, at tree-cfg.c:1882 eagle at cs dot ucla dot edu
` (2 preceding siblings ...)
2008-08-01 11:16 ` [Bug tree-optimization/36991] [4.3/4.4 Regression] ICE " rguenth at gcc dot gnu dot org
@ 2008-08-01 11:22 ` rguenth at gcc dot gnu dot org
2008-08-01 11:37 ` [Bug tree-optimization/36991] [4.3 " rguenth at gcc dot gnu dot org
` (5 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2008-08-01 11:22 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from rguenth at gcc dot gnu dot org 2008-08-01 11:21 -------
After gimplification we have
D.1560 = {D.1558, D.1559, 0.0, 0.0};
dV2_dv->v[0][1] = D.1560;
D.1561 = dV2_dv->v[0][1];
dV2_dv->v[1][0] = D.1561;
but
dV2_dv->v[0][1] = D.1560
seems to be still a MODIFY_EXPR.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36991
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug tree-optimization/36991] [4.3 Regression] ICE in remove_useless_stmts_1, at tree-cfg.c:1882
2008-07-31 18:38 [Bug tree-optimization/36991] New: internal compiler error: in remove_useless_stmts_1, at tree-cfg.c:1882 eagle at cs dot ucla dot edu
` (3 preceding siblings ...)
2008-08-01 11:22 ` rguenth at gcc dot gnu dot org
@ 2008-08-01 11:37 ` rguenth at gcc dot gnu dot org
2008-08-01 13:09 ` jakub at gcc dot gnu dot org
` (4 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2008-08-01 11:37 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from rguenth at gcc dot gnu dot org 2008-08-01 11:36 -------
Actually the 4.4 ICE is different.
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Known to fail|4.3.1 4.4.0 |4.3.1
Known to work|4.2.4 |4.2.4 4.4.0
Summary|[4.3/4.4 Regression] ICE in |[4.3 Regression] ICE in
|remove_useless_stmts_1, at |remove_useless_stmts_1, at
|tree-cfg.c:1882 |tree-cfg.c:1882
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36991
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug tree-optimization/36991] [4.3 Regression] ICE in remove_useless_stmts_1, at tree-cfg.c:1882
2008-07-31 18:38 [Bug tree-optimization/36991] New: internal compiler error: in remove_useless_stmts_1, at tree-cfg.c:1882 eagle at cs dot ucla dot edu
` (4 preceding siblings ...)
2008-08-01 11:37 ` [Bug tree-optimization/36991] [4.3 " rguenth at gcc dot gnu dot org
@ 2008-08-01 13:09 ` jakub at gcc dot gnu dot org
2008-08-01 13:57 ` jakub at gcc dot gnu dot org
` (3 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: jakub at gcc dot gnu dot org @ 2008-08-01 13:09 UTC (permalink / raw)
To: gcc-bugs
------- Comment #6 from jakub at gcc dot gnu dot org 2008-08-01 13:08 -------
Looking into this.
--
jakub at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |jakub at gcc dot gnu dot org
|dot org |
Status|NEW |ASSIGNED
Last reconfirmed|2008-08-01 11:15:10 |2008-08-01 13:08:15
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36991
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug tree-optimization/36991] [4.3 Regression] ICE in remove_useless_stmts_1, at tree-cfg.c:1882
2008-07-31 18:38 [Bug tree-optimization/36991] New: internal compiler error: in remove_useless_stmts_1, at tree-cfg.c:1882 eagle at cs dot ucla dot edu
` (5 preceding siblings ...)
2008-08-01 13:09 ` jakub at gcc dot gnu dot org
@ 2008-08-01 13:57 ` jakub at gcc dot gnu dot org
2008-08-01 19:01 ` jakub at gcc dot gnu dot org
` (2 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: jakub at gcc dot gnu dot org @ 2008-08-01 13:57 UTC (permalink / raw)
To: gcc-bugs
------- Comment #7 from jakub at gcc dot gnu dot org 2008-08-01 13:55 -------
Missing tree_to_gimple_tuple call in gimplify_init_constructor when want_value.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36991
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug tree-optimization/36991] [4.3 Regression] ICE in remove_useless_stmts_1, at tree-cfg.c:1882
2008-07-31 18:38 [Bug tree-optimization/36991] New: internal compiler error: in remove_useless_stmts_1, at tree-cfg.c:1882 eagle at cs dot ucla dot edu
` (6 preceding siblings ...)
2008-08-01 13:57 ` jakub at gcc dot gnu dot org
@ 2008-08-01 19:01 ` jakub at gcc dot gnu dot org
2008-08-01 19:03 ` jakub at gcc dot gnu dot org
2008-08-01 19:04 ` jakub at gcc dot gnu dot org
9 siblings, 0 replies; 11+ messages in thread
From: jakub at gcc dot gnu dot org @ 2008-08-01 19:01 UTC (permalink / raw)
To: gcc-bugs
------- Comment #8 from jakub at gcc dot gnu dot org 2008-08-01 18:59 -------
Subject: Bug 36991
Author: jakub
Date: Fri Aug 1 18:58:24 2008
New Revision: 138529
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=138529
Log:
PR tree-optimization/36991
* gimplify.c (gimplify_init_constructor): Call tree_to_gimple_tuple
on expr_p before appending it to pre_p.
* gcc.dg/pr36991.c: New test.
Added:
branches/gcc-4_3-branch/gcc/testsuite/gcc.dg/pr36991.c
Modified:
branches/gcc-4_3-branch/gcc/ChangeLog
branches/gcc-4_3-branch/gcc/gimplify.c
branches/gcc-4_3-branch/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36991
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug tree-optimization/36991] [4.3 Regression] ICE in remove_useless_stmts_1, at tree-cfg.c:1882
2008-07-31 18:38 [Bug tree-optimization/36991] New: internal compiler error: in remove_useless_stmts_1, at tree-cfg.c:1882 eagle at cs dot ucla dot edu
` (7 preceding siblings ...)
2008-08-01 19:01 ` jakub at gcc dot gnu dot org
@ 2008-08-01 19:03 ` jakub at gcc dot gnu dot org
2008-08-01 19:04 ` jakub at gcc dot gnu dot org
9 siblings, 0 replies; 11+ messages in thread
From: jakub at gcc dot gnu dot org @ 2008-08-01 19:03 UTC (permalink / raw)
To: gcc-bugs
------- Comment #9 from jakub at gcc dot gnu dot org 2008-08-01 19:02 -------
Fixed.
--
jakub at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36991
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug tree-optimization/36991] [4.3 Regression] ICE in remove_useless_stmts_1, at tree-cfg.c:1882
2008-07-31 18:38 [Bug tree-optimization/36991] New: internal compiler error: in remove_useless_stmts_1, at tree-cfg.c:1882 eagle at cs dot ucla dot edu
` (8 preceding siblings ...)
2008-08-01 19:03 ` jakub at gcc dot gnu dot org
@ 2008-08-01 19:04 ` jakub at gcc dot gnu dot org
9 siblings, 0 replies; 11+ messages in thread
From: jakub at gcc dot gnu dot org @ 2008-08-01 19:04 UTC (permalink / raw)
To: gcc-bugs
------- Comment #10 from jakub at gcc dot gnu dot org 2008-08-01 19:02 -------
Subject: Bug 36991
Author: jakub
Date: Fri Aug 1 19:01:33 2008
New Revision: 138530
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=138530
Log:
2008-08-01 Jakub Jelinek <jakub@redhat.com>
PR tree-optimization/36991
* gcc.dg/pr36991.c: New test.
Added:
trunk/gcc/testsuite/gcc.dg/pr36991.c
Modified:
trunk/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36991
^ permalink raw reply [flat|nested] 11+ messages in thread