This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/30383] [4.3 Regression] ice for legal code on x86_64 in ix86_expand_movmem
- From: "bonzini at gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 8 Jan 2007 13:32:52 -0000
- Subject: [Bug target/30383] [4.3 Regression] ice for legal code on x86_64 in ix86_expand_movmem
- References: <bug-30383-9596@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #4 from bonzini at gnu dot org 2007-01-08 13:32 -------
> This code is undefined as the address of a label will never be 128bytes, it
> will either be 4 or 8 bytes.
No, that would be
void *p = &&dummy;
memcpy (foo, &p, sizeof (p));
Here, it's copying code from the address of the label.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30383