[Bug tree-optimization/23777] Does not remove all references to var

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Thu Sep 8 12:06:00 GMT 2005


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-09-08 12:04 -------
Reduced testcase:
static const char *const multilib_exclusions_raw[] = {0};
struct obstack {
  char *next_free;
};
static struct obstack multilib_obstack;
int main (int argc, const char **argv)
{
  const char *p;
  const char *const *q;
  f();
  q = multilib_exclusions_raw;
  while ((p = *q++) != (char *) 0)
  {   
    int __len = (__builtin_strlen (p));
    __builtin_memcpy ((multilib_obstack.next_free), 0, (__len));    
  }
}

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2005-09-08 12:04:06
               date|                            |


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



More information about the Gcc-bugs mailing list