--- Comment #4 from rguenth at gcc dot gnu dot org 2006-03-06 11:58 ---
I have a patch.
--
rguenth at gcc dot gnu dot org changed:
What|Removed |Added
AssignedTo|
--- Comment #3 from rguenth at gcc dot gnu dot org 2006-03-06 10:58 ---
We indeed lose alignment information of outdata->tv. We start expanding
memcpy (&outdataD.1529->tvD.1528, tpD.1530, 4) [tail call]
with
(gdb) print dest_align
$1 = 32
so, builtins.c:get_pointer_alignment return
--- Comment #2 from falk at debian dot org 2006-03-05 14:40 ---
(In reply to comment #1)
> Hmm:
> &outdata->tv
>
> isn't that semi wrong as the pointer just lost the alignment information?
I'm not sure what you mean.
> A workaround is to do:
> memcpy((void*)&outdata->tv, tp, sizeo
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-03-05 14:22 ---
Hmm:
&outdata->tv
isn't that semi wrong as the pointer just lost the alignment information?
A workaround is to do:
memcpy((void*)&outdata->tv, tp, sizeof outdata->tv);
--
http://gcc.gnu.org/bugzilla/show_bu