[Bug c/60693] New: ICE on funny memcpy
luto at mit dot edu
gcc-bugzilla@gcc.gnu.org
Fri Mar 28 07:56:00 GMT 2014
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60693
Bug ID: 60693
Summary: ICE on funny memcpy
Product: gcc
Version: 4.8.2
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: luto at mit dot edu
This little program:
int main()
{
char buf[4096];
memcpy(buf, (void *)0xffffffffff600000, 4096);
return 0;
}
does this:
$ gcc ice.c
ice.c: In function ‘main’:
ice.c:4:3: warning: incompatible implicit declaration of built-in function
‘memcpy’ [enabled by default]
memcpy(buf, (void *)0xffffffffff600000, 4096);
^
ice.c:4:9: internal compiler error: in ix86_copy_addr_to_reg, at
config/i386/i386.c:21886
memcpy(buf, (void *)0xffffffffff600000, 4096);
^
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://bugzilla.redhat.com/bugzilla> for instructions.
Preprocessed source stored into /tmp/ccJqACry.out file, please attach this to
your bugreport.
This is gcc (GCC) 4.8.2 20131212 (Red Hat 4.8.2-7).
More information about the Gcc-bugs
mailing list