This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/9636] [3.4 regression] ICE when building newlib for v850-elf
- From: "dhazeghi at yahoo dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 27 Jul 2003 17:12:39 -0000
- Subject: [Bug middle-end/9636] [3.4 regression] ICE when building newlib for v850-elf
- References: <20030209155600.9636.cato@df.lth.se>
- 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=9636
dhazeghi at yahoo dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|normal |critical
GCC target triplet| |v850-elf
Last reconfirmed|2003-05-27 13:27:43 |2003-07-27 17:12:38
date| |
------- Additional Comments From dhazeghi at yahoo dot com 2003-07-27 17:12 -------
Okay, here's the slightly reduced testcase:
long
a64l(const char *input)
{
char *ptr;
char ch;
int i, digit;
unsigned long result = 0;
ptr = input;
if (*ptr)
++ptr;
while (ptr > input)
{
ch = *(--ptr);
if (ch >= 'a')
digit = (ch - 'a') + 38;
else if (ch == '/')
digit = 1;
else
digit = 0;
result = (result << 6) + digit;
}
return result;
}