[Bug optimization/13067] [tree-ssa] ICE involving operator++

steven at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Wed Nov 26 00:29:00 GMT 2003


------- 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



More information about the Gcc-bugs mailing list