This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/30383] [4.3 Regression] ice for legal code on x86_64 in ix86_expand_movmem



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]