This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug optimization/13067] [tree-ssa] ICE involving operator++
- From: "steven at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 26 Nov 2003 00:29:10 -0000
- Subject: [Bug optimization/13067] [tree-ssa] ICE involving operator++
- References: <20031116061208.13067.bryner@brianryner.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From steven at gcc dot gnu dot org 2003-11-26 00:29 -------
I cannot reproduce this with:
GNU C++ version 3.5-tree-ssa 20031125 (merged 20031123) (i686-pc-linux-gnu)
compiled by GNU C version 3.5-tree-ssa 20031125 (merged 20031123)
However, this code in cfg_remove_useless_stmts_bb seems pretty silly to me:
for (bsi = bsi_start (bb); !bsi_end_p (bsi);)
{
stmt = bsi_stmt (bsi);
if (!var)
{
bsi_next (&bsi);
continue;
}
which I interpret as
"if (var == NULL) { walk all statements in this basic block, but do nothing }"
That's probably not related to this bug if it still exists, though ;-)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13067