[Bug tree-optimization/23445] [4.1 Regression] ICE with -O1 -ftree-vrp -fdelete-null-pointer-checks

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Wed Aug 17 18:02:00 GMT 2005


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-08-17 17:58 -------
Confirmed, reduced testcase:
 struct buffer_head {
   char *b_data;
 };
   void asfs_deletebnode( struct buffer_head *bhsec)  {
     if (bhsec == 0)   {
     void *bnc2 = (void *) bhsec->b_data;
     if (bnc2)       return;
     if (bhsec)       __brelse(bhsec);
   }
 }



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |phython at gcc dot gnu dot
                   |                            |org, dnovillo at gcc dot gnu
                   |                            |dot org
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
 GCC target triplet|i686-pc-linux-gnu           |
   Last reconfirmed|0000-00-00 00:00:00         |2005-08-17 17:58:50
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23445



More information about the Gcc-bugs mailing list