------- Comment #3 from pinskia at gcc dot gnu dot org  2006-09-14 08:19 -------
(In reply to comment #2)
> Because double have to be aligned on 8 on sparc or bus error occurs.
> Note that first member of the structure is double. So now I'm not able to
> assign any value to D.a.
Wrong, wrong, wrong.  The compiler knows the alignment is not 8byte aligned so
it knows how to generate the code correctly.  If that fails then you have a bug
with that but the code you gave is currently correct with what GCC gives.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29078

Reply via email to