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: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 24 Aug 2003 17:06:12 -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
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Keywords| |ice-on-valid-code
Last reconfirmed|0000-00-00 00:00:00 |2003-08-24 17:06:12
date| |
------- Additional Comments From pinskia at gcc dot gnu dot org 2003-08-24 17:06 -------
Here is the reduced sources:
char* g_strdup (const char *str);
char *convert_label_with_ampersand (const char * _label, int * accelerator_key, int * underbar_pos)
{
char *p;
char *label = g_strdup (_label);
for (p = label;; p++) {
if (!*p)
break;
if (!p[1])
break;
if (*p == '&') {
memcpy (p, p + 1, strlen (p));
if (*p == '&')
continue;
*underbar_pos = (unsigned long) p - (unsigned long) label;
*accelerator_key = *p;
return label;
}
}
return label;
}