This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]