--- Comment #5 from pinskia at gcc dot gnu dot org 2007-06-18 02:18 ---
This has been working since "4.3.0 20070131" so closing.
--
pinskia at gcc dot gnu dot org changed:
What|Removed |Added
--- 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 t
--- Comment #3 from hubicka at gcc dot gnu dot org 2007-01-07 03:23 ---
Created an attachment (id=12868)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12868&action=view)
fix in testing
testing a fix.
--
hubicka at gcc dot gnu dot org changed:
What|Removed
--- Comment #2 from pinskia at gcc dot gnu dot org 2007-01-07 00:47 ---
Reduced testcase:
void jumpfunc(int copy, void *p)
{
__builtin_memcpy (p, &&dummy, 128);
dummy: ;
}
This code is undefined as the address of a label will never be 128bytes, it
will either be 4 or 8 byt
--
pinskia at gcc dot gnu dot org changed:
What|Removed |Added
CC||hubicka at gcc dot gnu dot
|