This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/33163] internal compiler error: in gen_rtx_SUBREG, at emit-rtl.c:700
- From: "fabio dot giovagnini at aurion-tech dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 23 Aug 2007 17:20:28 -0000
- Subject: [Bug c/33163] internal compiler error: in gen_rtx_SUBREG, at emit-rtl.c:700
- References: <bug-33163-11425@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from fabio dot giovagnini at aurion-tech dot com 2007-08-23 17:20 -------
const unsigned char Nib_to_Hex[16] =
{0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x41,0x42,0x43,0x44,0x45,0x46};
void ul_to_8_cifre(unsigned char vett[8],unsigned long a1)
{
/* LOCAL VARIABLES */
union _ul {
unsigned long ul;
unsigned char uc[4];
} t;
/* RETURN VALUE */
/* BODY FUNCTION */
t.ul = a1;
vett[0] = Nib_to_Hex[((t.uc[0] & 0xF0) >> 4)];
vett[1] = Nib_to_Hex[((t.uc[0] & 0x0F))];
vett[2] = Nib_to_Hex[((t.uc[1] & 0xF0) >> 4)];
vett[3] = Nib_to_Hex[((t.uc[1] & 0x0F))];
vett[4] = Nib_to_Hex[((t.uc[2] & 0xF0) >> 4)];
vett[5] = Nib_to_Hex[((t.uc[2] & 0x0F))];
vett[6] = Nib_to_Hex[((t.uc[3] & 0xF0) >> 4)];
vett[7] = Nib_to_Hex[((t.uc[3] & 0x0F))];
/* END BODY */
}
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33163