public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/16461] New: ICE: expected ssa_name, have integer_cst in independent_of_stmt_p, at tree-tailcall.c:210
@ 2004-07-09 21:01 falk at debian dot org
2004-07-09 21:21 ` [Bug tree-optimization/16461] " dnovillo at gcc dot gnu dot org
` (6 more replies)
0 siblings, 7 replies; 8+ messages in thread
From: falk at debian dot org @ 2004-07-09 21:01 UTC (permalink / raw)
To: gcc-bugs
gcc version 3.5.0 20040709 (experimental)
% cat dvd_reader.i
int DVDinput_read(int);
int DVDReadBlocksPath(int offset, int block_count) {
int ret = 0, ret2 = 0;
for (;;) {
if (offset)
ret = DVDinput_read(block_count);
else
ret2 = DVDinput_read(block_count);
break;
}
return ret + ret2;
}
% /tmp/bla/bin/gcc -c -O dvd_reader.i
dvd_reader.i: In function `DVDReadBlocksPath':
dvd_reader.i:2: internal compiler error: tree check: expected ssa_name, have
integer_cst in independent_of_stmt_p, at tree-tailcall.c:210
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
--
Summary: ICE: expected ssa_name, have integer_cst in
independent_of_stmt_p, at tree-tailcall.c:210
Product: gcc
Version: 3.5.0
Status: UNCONFIRMED
Keywords: ice-on-valid-code
Severity: normal
Priority: P2
Component: tree-optimization
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: falk at debian dot org
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: i686-pc-linux-gnu
GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16461
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug tree-optimization/16461] ICE: expected ssa_name, have integer_cst in independent_of_stmt_p, at tree-tailcall.c:210
2004-07-09 21:01 [Bug tree-optimization/16461] New: ICE: expected ssa_name, have integer_cst in independent_of_stmt_p, at tree-tailcall.c:210 falk at debian dot org
@ 2004-07-09 21:21 ` dnovillo at gcc dot gnu dot org
2004-07-09 22:15 ` [Bug tree-optimization/16461] [3.5 Regression] " pinskia at gcc dot gnu dot org
` (5 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: dnovillo at gcc dot gnu dot org @ 2004-07-09 21:21 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From dnovillo at gcc dot gnu dot org 2004-07-09 21:21 -------
Confirmed. The bug is in tree-tailcall.c:independent_of_stmt_p. The loop that
looks up PHI arguments, ought to handle gimple_min_invariants it finds in PHI
operands. It should not assume that they are all SSA_NAMEs.
Not quite sure what the right to do is here. We are analyzing
ret_1 in statement T.2_6 = ret_1 + ret2_2;
and abort as soon as we get to the first operand of
# ret_1 = PHI <0(2), ret_11(1)>;
Jeff, IIRC you implemented this.
--
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |law at gcc dot gnu dot org
|dot org |
Status|UNCONFIRMED |ASSIGNED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16461
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug tree-optimization/16461] [3.5 Regression] ICE: expected ssa_name, have integer_cst in independent_of_stmt_p, at tree-tailcall.c:210
2004-07-09 21:01 [Bug tree-optimization/16461] New: ICE: expected ssa_name, have integer_cst in independent_of_stmt_p, at tree-tailcall.c:210 falk at debian dot org
2004-07-09 21:21 ` [Bug tree-optimization/16461] " dnovillo at gcc dot gnu dot org
@ 2004-07-09 22:15 ` pinskia at gcc dot gnu dot org
2004-07-10 4:56 ` rakdver at gcc dot gnu dot org
` (4 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-07-09 22:15 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Severity|normal |critical
Summary|ICE: expected ssa_name, have|[3.5 Regression] ICE:
|integer_cst in |expected ssa_name, have
|independent_of_stmt_p, at |integer_cst in
|tree-tailcall.c:210 |independent_of_stmt_p, at
| |tree-tailcall.c:210
Target Milestone|--- |3.5.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16461
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug tree-optimization/16461] [3.5 Regression] ICE: expected ssa_name, have integer_cst in independent_of_stmt_p, at tree-tailcall.c:210
2004-07-09 21:01 [Bug tree-optimization/16461] New: ICE: expected ssa_name, have integer_cst in independent_of_stmt_p, at tree-tailcall.c:210 falk at debian dot org
2004-07-09 21:21 ` [Bug tree-optimization/16461] " dnovillo at gcc dot gnu dot org
2004-07-09 22:15 ` [Bug tree-optimization/16461] [3.5 Regression] " pinskia at gcc dot gnu dot org
@ 2004-07-10 4:56 ` rakdver at gcc dot gnu dot org
2004-07-11 20:02 ` rakdver at gcc dot gnu dot org
` (3 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: rakdver at gcc dot gnu dot org @ 2004-07-10 4:56 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From rakdver at gcc dot gnu dot org 2004-07-10 04:56 -------
No, I did.
--
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|law at gcc dot gnu dot org |rakdver at gcc dot gnu dot
| |org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16461
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug tree-optimization/16461] [3.5 Regression] ICE: expected ssa_name, have integer_cst in independent_of_stmt_p, at tree-tailcall.c:210
2004-07-09 21:01 [Bug tree-optimization/16461] New: ICE: expected ssa_name, have integer_cst in independent_of_stmt_p, at tree-tailcall.c:210 falk at debian dot org
` (2 preceding siblings ...)
2004-07-10 4:56 ` rakdver at gcc dot gnu dot org
@ 2004-07-11 20:02 ` rakdver at gcc dot gnu dot org
2004-07-13 1:03 ` cvs-commit at gcc dot gnu dot org
` (2 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: rakdver at gcc dot gnu dot org @ 2004-07-11 20:02 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From rakdver at gcc dot gnu dot org 2004-07-11 20:02 -------
Patch:
http://gcc.gnu.org/ml/gcc-patches/2004-07/msg01166.html
--
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |patch
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16461
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug tree-optimization/16461] [3.5 Regression] ICE: expected ssa_name, have integer_cst in independent_of_stmt_p, at tree-tailcall.c:210
2004-07-09 21:01 [Bug tree-optimization/16461] New: ICE: expected ssa_name, have integer_cst in independent_of_stmt_p, at tree-tailcall.c:210 falk at debian dot org
` (3 preceding siblings ...)
2004-07-11 20:02 ` rakdver at gcc dot gnu dot org
@ 2004-07-13 1:03 ` cvs-commit at gcc dot gnu dot org
2004-07-13 1:05 ` rakdver at gcc dot gnu dot org
2004-08-08 23:17 ` cvs-commit at gcc dot gnu dot org
6 siblings, 0 replies; 8+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-07-13 1:03 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2004-07-13 01:03 -------
Subject: Bug 16461
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: rakdver@gcc.gnu.org 2004-07-13 01:03:22
Modified files:
gcc : ChangeLog tree-tailcall.c
Log message:
PR tree-optimization/16461
* tree-tailcall.c (independent_of_stmt_p): Handle non-SSA name
arguments of phi nodes.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.4490&r2=2.4491
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree-tailcall.c.diff?cvsroot=gcc&r1=2.15&r2=2.16
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16461
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug tree-optimization/16461] [3.5 Regression] ICE: expected ssa_name, have integer_cst in independent_of_stmt_p, at tree-tailcall.c:210
2004-07-09 21:01 [Bug tree-optimization/16461] New: ICE: expected ssa_name, have integer_cst in independent_of_stmt_p, at tree-tailcall.c:210 falk at debian dot org
` (4 preceding siblings ...)
2004-07-13 1:03 ` cvs-commit at gcc dot gnu dot org
@ 2004-07-13 1:05 ` rakdver at gcc dot gnu dot org
2004-08-08 23:17 ` cvs-commit at gcc dot gnu dot org
6 siblings, 0 replies; 8+ messages in thread
From: rakdver at gcc dot gnu dot org @ 2004-07-13 1:05 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From rakdver at gcc dot gnu dot org 2004-07-13 01:05 -------
Fixed.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16461
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug tree-optimization/16461] [3.5 Regression] ICE: expected ssa_name, have integer_cst in independent_of_stmt_p, at tree-tailcall.c:210
2004-07-09 21:01 [Bug tree-optimization/16461] New: ICE: expected ssa_name, have integer_cst in independent_of_stmt_p, at tree-tailcall.c:210 falk at debian dot org
` (5 preceding siblings ...)
2004-07-13 1:05 ` rakdver at gcc dot gnu dot org
@ 2004-08-08 23:17 ` cvs-commit at gcc dot gnu dot org
6 siblings, 0 replies; 8+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-08-08 23:17 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2004-08-08 23:17 -------
Subject: Bug 16461
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: falk@gcc.gnu.org 2004-08-08 23:17:23
Modified files:
gcc/testsuite : ChangeLog
Added files:
gcc/testsuite/gcc.c-torture/compile: pr12517.c pr12578.c
pr12899.c pr14692.c
pr16461.c
Log message:
PR tree-optimization/12517
* gcc.c-torture/compile/pr12517.c: New test.
PR tree-optimization/12578
* gcc.c-torture/compile/pr12578.c: New test.
PR tree-optimization/12899
* gcc.c-torture/compile/pr12899.c: New test.
PR rtl-optimization/14692
* gcc.c-torture/compile/pr14692.c: New test.
PR tree-optimization/16461
* gcc.c-torture/compile/pr16461.c: New test.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.4108&r2=1.4109
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.c-torture/compile/pr12517.c.diff?cvsroot=gcc&r1=NONE&r2=1.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.c-torture/compile/pr12578.c.diff?cvsroot=gcc&r1=NONE&r2=1.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.c-torture/compile/pr12899.c.diff?cvsroot=gcc&r1=NONE&r2=1.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.c-torture/compile/pr14692.c.diff?cvsroot=gcc&r1=NONE&r2=1.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.c-torture/compile/pr16461.c.diff?cvsroot=gcc&r1=NONE&r2=1.1
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16461
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2004-08-08 23:17 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-07-09 21:01 [Bug tree-optimization/16461] New: ICE: expected ssa_name, have integer_cst in independent_of_stmt_p, at tree-tailcall.c:210 falk at debian dot org
2004-07-09 21:21 ` [Bug tree-optimization/16461] " dnovillo at gcc dot gnu dot org
2004-07-09 22:15 ` [Bug tree-optimization/16461] [3.5 Regression] " pinskia at gcc dot gnu dot org
2004-07-10 4:56 ` rakdver at gcc dot gnu dot org
2004-07-11 20:02 ` rakdver at gcc dot gnu dot org
2004-07-13 1:03 ` cvs-commit at gcc dot gnu dot org
2004-07-13 1:05 ` rakdver at gcc dot gnu dot org
2004-08-08 23:17 ` cvs-commit at gcc dot gnu dot 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).