[Bug optimization/11741] internal compiler error at gcse.c:5318
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Sun Aug 24 17:06:00 GMT 2003
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;
}
More information about the Gcc-bugs
mailing list