This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/34371] [4.3 Regression] verify_stmts failed (incorrect sharing of tree nodes)
- From: "tbm at cyrius dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 7 Dec 2007 04:45:50 -0000
- Subject: [Bug tree-optimization/34371] [4.3 Regression] verify_stmts failed (incorrect sharing of tree nodes)
- References: <bug-34371-12387@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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