Re: GCC 4 Woes

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

 



On Thu, Apr 14, 2005 at 04:40:46PM -0400, Dan Williams wrote:
> >     n1  = *(((unsigned int *) src1)++);
> Split up (1) the assignment of *src1 -> n1, and (2) the increment of
> src1 into two distinct lines of code.  gcc 4 tightens handling of
> lvalues and rvalues, which this code is abusing.

It'll also be about 700 times more readable done that way.

-- 
Matthew Miller           mattdm@xxxxxxxxxx        <http://www.mattdm.org/>
Boston University Linux      ------>                <http://linux.bu.edu/>


[Index of Archives]     [Fedora Desktop]     [Fedora SELinux]     [Photo Sharing]     [Yosemite Forum]     [KDE Users]