This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug optimization/11741] internal compiler error at gcse.c:5318
- From: "dhazeghi at yahoo dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 24 Aug 2003 17:15:39 -0000
- Subject: [Bug optimization/11741] internal compiler error at gcse.c:5318
- References: <20030731091956.11741.rehsack@liwing.de>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11741
dhazeghi at yahoo dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
GCC build triplet|FreeBSD 5.1-CURRENT i386 |
GCC host triplet|FreeBSD 5.1-CURRENT i386 |
GCC target triplet|FreeBSD 5.1-CURRENT i386 |i?86-*-*
------- Additional Comments From dhazeghi at yahoo dot com 2003-08-24 17:15 -------
Slightly more reduced. Bug happens on Linux too, so expanding target summary.
char* g_strdup (const char *str);
void *memcpy(void * , const void * , unsigned int);
unsigned int strlen(const char *);
void convert_label_with_ampersand (const char * _label)
{
char *p;
char *label = g_strdup (_label);
for (p = label;; p++) {
if (*p == '&') {
memcpy (p, p + 1, strlen (p));
if (*p == '&')
continue;
}
}
}