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 tree-optimization/23777] Does not remove all references to var


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


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