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/34371] [4.3 Regression] verify_stmts failed (incorrect sharing of tree nodes)



------- Comment #1 from tbm at cyrius dot com  2007-12-07 04:45 -------
/* Testcase by Martin Michlmayr <tbm@cyrius.com> */

void centerln (int width, int ch, char *s)
{
  unsigned int sidebar;
  int i;
  char linet1[1000];
  char linet2[100];
  sidebar = (width - __builtin_strlen (s)) / 2;
  for (i = 0; i < sidebar; i++)
    linet2[i] = ch;
  __builtin_strcpy (linet1, linet2);
}


-- 


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


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