[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: 2.2.11



Richard Henderson wrote:
> > 
> > If you add -DBUG to compilation flags and use **any** level of
> > optimization above -O0 then this printout will be
> > 
> > original = 0x11ffffb60
> > 00 00 00 00 00 00 00 00 60 00
> 
> With -DBUG you were using memcpy, so aliasing rules don't apply.

Exactly.  Another workaround is to use 'put_unaligned' instead after
casting target to accept all eight bytes.  But this is somewhat platform
and the situation specific. :-)

> Anyway, it seems to have been fixed since then (gcc-2.95 19990621).

Good to hear that.  So I guess I would not bother with writing
a formal bug report.

   Michal



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index] []