public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/21921] New: internal compiler error: in tsi_link_before, at tree-iterator.c:113
@ 2005-06-05 14:21 p dot van-hoof at qub dot ac dot uk
2005-06-05 14:22 ` [Bug c/21921] " p dot van-hoof at qub dot ac dot uk
` (7 more replies)
0 siblings, 8 replies; 9+ messages in thread
From: p dot van-hoof at qub dot ac dot uk @ 2005-06-05 14:21 UTC (permalink / raw)
To: gcc-bugs
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1244 bytes --]
When the attached code is compiled as follows, an ICE will result:
dogbert> gcc -O1 -funsafe-math-optimizations -c h.c
h.c: In function Q:
h.c:10: internal compiler error: in tsi_link_before, at tree-iterator.c:113
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
dogbert> gcc -v
Using built-in specs.
Target: i686-pc-linux-gnu
Configured with: ../gcc/configure --prefix=/usr/local/gcc410
--enable-languages=c,c++,f95
Thread model: posix
gcc version 4.1.0 20050605 (experimental)
This bug only appears on the mainline, but not in any of the release branches.
--
Summary: internal compiler error: in tsi_link_before, at tree-
iterator.c:113
Product: gcc
Version: 4.1.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: p dot van-hoof at qub dot ac dot uk
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=21921
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c/21921] internal compiler error: in tsi_link_before, at tree-iterator.c:113
2005-06-05 14:21 [Bug c/21921] New: internal compiler error: in tsi_link_before, at tree-iterator.c:113 p dot van-hoof at qub dot ac dot uk
@ 2005-06-05 14:22 ` p dot van-hoof at qub dot ac dot uk
2005-06-05 15:33 ` [Bug middle-end/21921] " pinskia at gcc dot gnu dot org
` (6 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: p dot van-hoof at qub dot ac dot uk @ 2005-06-05 14:22 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From p dot van-hoof at qub dot ac dot uk 2005-06-05 14:22 -------
Created an attachment (id=9032)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=9032&action=view)
code that triggers the ICE
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21921
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug middle-end/21921] internal compiler error: in tsi_link_before, at tree-iterator.c:113
2005-06-05 14:21 [Bug c/21921] New: internal compiler error: in tsi_link_before, at tree-iterator.c:113 p dot van-hoof at qub dot ac dot uk
2005-06-05 14:22 ` [Bug c/21921] " p dot van-hoof at qub dot ac dot uk
@ 2005-06-05 15:33 ` pinskia at gcc dot gnu dot org
2005-06-05 15:39 ` [Bug middle-end/21921] [4.1 Regression] " pinskia at gcc dot gnu dot org
` (5 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-06-05 15:33 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Component|c |middle-end
Keywords| |ice-on-valid-code
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21921
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug middle-end/21921] [4.1 Regression] internal compiler error: in tsi_link_before, at tree-iterator.c:113
2005-06-05 14:21 [Bug c/21921] New: internal compiler error: in tsi_link_before, at tree-iterator.c:113 p dot van-hoof at qub dot ac dot uk
2005-06-05 14:22 ` [Bug c/21921] " p dot van-hoof at qub dot ac dot uk
2005-06-05 15:33 ` [Bug middle-end/21921] " pinskia at gcc dot gnu dot org
@ 2005-06-05 15:39 ` pinskia at gcc dot gnu dot org
2005-06-06 7:03 ` [Bug tree-optimization/21921] " bonzini at gcc dot gnu dot org
` (4 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-06-05 15:39 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-06-05 15:39 -------
Confirmed.
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |bonzini at gcc dot gnu dot
| |org
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
GCC build triplet|i686-pc-linux-gnu |
GCC host triplet|i686-pc-linux-gnu |
Last reconfirmed|0000-00-00 00:00:00 |2005-06-05 15:39:26
date| |
Summary|internal compiler error: in |[4.1 Regression] internal
|tsi_link_before, at tree- |compiler error: in
|iterator.c:113 |tsi_link_before, at tree-
| |iterator.c:113
Target Milestone|--- |4.1.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21921
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug tree-optimization/21921] [4.1 Regression] internal compiler error: in tsi_link_before, at tree-iterator.c:113
2005-06-05 14:21 [Bug c/21921] New: internal compiler error: in tsi_link_before, at tree-iterator.c:113 p dot van-hoof at qub dot ac dot uk
` (2 preceding siblings ...)
2005-06-05 15:39 ` [Bug middle-end/21921] [4.1 Regression] " pinskia at gcc dot gnu dot org
@ 2005-06-06 7:03 ` bonzini at gcc dot gnu dot org
2005-06-06 9:10 ` bonzini at gcc dot gnu dot org
` (3 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: bonzini at gcc dot gnu dot org @ 2005-06-06 7:03 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |bonzini at gcc dot gnu dot
|dot org |org
Status|NEW |ASSIGNED
Last reconfirmed|2005-06-05 15:39:26 |2005-06-06 07:03:52
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21921
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug tree-optimization/21921] [4.1 Regression] internal compiler error: in tsi_link_before, at tree-iterator.c:113
2005-06-05 14:21 [Bug c/21921] New: internal compiler error: in tsi_link_before, at tree-iterator.c:113 p dot van-hoof at qub dot ac dot uk
` (3 preceding siblings ...)
2005-06-06 7:03 ` [Bug tree-optimization/21921] " bonzini at gcc dot gnu dot org
@ 2005-06-06 9:10 ` bonzini at gcc dot gnu dot org
2005-06-06 15:08 ` bonzini at gcc dot gnu dot org
` (2 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: bonzini at gcc dot gnu dot org @ 2005-06-06 9:10 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From bonzini at gcc dot gnu dot org 2005-06-06 09:10 -------
http://gcc.gnu.org/ml/gcc-patches/2005-06/msg00446.html
--
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |patch
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21921
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug tree-optimization/21921] [4.1 Regression] internal compiler error: in tsi_link_before, at tree-iterator.c:113
2005-06-05 14:21 [Bug c/21921] New: internal compiler error: in tsi_link_before, at tree-iterator.c:113 p dot van-hoof at qub dot ac dot uk
` (4 preceding siblings ...)
2005-06-06 9:10 ` bonzini at gcc dot gnu dot org
@ 2005-06-06 15:08 ` bonzini at gcc dot gnu dot org
2005-07-13 14:46 ` cvs-commit at gcc dot gnu dot org
2005-07-13 15:18 ` bonzini at gcc dot gnu dot org
7 siblings, 0 replies; 9+ messages in thread
From: bonzini at gcc dot gnu dot org @ 2005-06-06 15:08 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From bonzini at gcc dot gnu dot org 2005-06-06 15:08 -------
The patch fixes the bug because in the poster's test case we have to insert a
reciprocal computation in an empty basic block.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21921
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug tree-optimization/21921] [4.1 Regression] internal compiler error: in tsi_link_before, at tree-iterator.c:113
2005-06-05 14:21 [Bug c/21921] New: internal compiler error: in tsi_link_before, at tree-iterator.c:113 p dot van-hoof at qub dot ac dot uk
` (5 preceding siblings ...)
2005-06-06 15:08 ` bonzini at gcc dot gnu dot org
@ 2005-07-13 14:46 ` cvs-commit at gcc dot gnu dot org
2005-07-13 15:18 ` bonzini at gcc dot gnu dot org
7 siblings, 0 replies; 9+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-07-13 14:46 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-07-13 14:42 -------
Subject: Bug 21921
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: bonzini@gcc.gnu.org 2005-07-13 14:42:26
Modified files:
gcc : ChangeLog tree-iterator.c
gcc/testsuite : ChangeLog
Added files:
gcc/testsuite/gcc.dg: pr21921.c
Log message:
ChangeLog:
2005-07-13 Paolo Bonzini <bonzini@gnu.org>
PR tree-optimization/21921
* tree-iterator.c (tsi_link_before): Support the case when
tsi_end_p (tsi) == true.
testsuite/ChangeLog:
2005-07-13 Paolo Bonzini <bonzini@gnu.org>
PR tree-optimization/21921
* gcc.dg/tree-ssa/pr21921.c: New.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.dg/pr21921.c.diff?cvsroot=gcc&r1=NONE&r2=1.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.9428&r2=2.9429
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree-iterator.c.diff?cvsroot=gcc&r1=2.5&r2=2.6
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.5760&r2=1.5761
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21921
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug tree-optimization/21921] [4.1 Regression] internal compiler error: in tsi_link_before, at tree-iterator.c:113
2005-06-05 14:21 [Bug c/21921] New: internal compiler error: in tsi_link_before, at tree-iterator.c:113 p dot van-hoof at qub dot ac dot uk
` (6 preceding siblings ...)
2005-07-13 14:46 ` cvs-commit at gcc dot gnu dot org
@ 2005-07-13 15:18 ` bonzini at gcc dot gnu dot org
7 siblings, 0 replies; 9+ messages in thread
From: bonzini at gcc dot gnu dot org @ 2005-07-13 15:18 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From bonzini at gcc dot gnu dot org 2005-07-13 14:45 -------
Fixed by the patch above.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21921
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2005-07-13 14:46 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-06-05 14:21 [Bug c/21921] New: internal compiler error: in tsi_link_before, at tree-iterator.c:113 p dot van-hoof at qub dot ac dot uk
2005-06-05 14:22 ` [Bug c/21921] " p dot van-hoof at qub dot ac dot uk
2005-06-05 15:33 ` [Bug middle-end/21921] " pinskia at gcc dot gnu dot org
2005-06-05 15:39 ` [Bug middle-end/21921] [4.1 Regression] " pinskia at gcc dot gnu dot org
2005-06-06 7:03 ` [Bug tree-optimization/21921] " bonzini at gcc dot gnu dot org
2005-06-06 9:10 ` bonzini at gcc dot gnu dot org
2005-06-06 15:08 ` bonzini at gcc dot gnu dot org
2005-07-13 14:46 ` cvs-commit at gcc dot gnu dot org
2005-07-13 15:18 ` bonzini 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).