Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#39828 - [gcc] internal compiler error
Attached to Project:
Arch Linux
Opened by Nicolas (nsvir) - Saturday, 12 April 2014, 11:15 GMT
Last edited by Allan McRae (Allan) - Thursday, 01 May 2014, 08:05 GMT
Opened by Nicolas (nsvir) - Saturday, 12 April 2014, 11:15 GMT
Last edited by Allan McRae (Allan) - Thursday, 01 May 2014, 08:05 GMT
|
DetailsDescription:
I get an issue on gcc's compilation. I used mistakenly memcpy with memset's prototype. compilation's line: gcc -I ./include -I ../commun_/include -g -O0 -c -o source/client/client_send.o source/client/client_send.c error message: source/client/client_send.c:21:9: internal compiler error: in ix86_copy_addr_to_reg, at config/i386/i386.c:21722 memcpy(&buff, 0, sizeof(buff)); ^ code: int client_send(t_client *self) { t_buff buff; memcpy(&buff, 0, sizeof(buff)); if (write(self->fd, &buff, sizeof(buff)) == -1) return (int_perror("write")); return (SUCCESS); } Additional info: gcc (GCC) 4.8.2 20140206 (prerelease) default config |
This task depends upon
Comment by Allan McRae (Allan) -
Tuesday, 15 April 2014, 06:07 GMT
Please provide a minimal example that I can compile to see the ICE.
Comment by Allan McRae (Allan) -
Thursday, 01 May 2014, 08:05 GMT
Reopen if you can provide a standalone example.