Re: [current tinderbox] failure on ia64/ia64

From: Ruslan Ermilov <ru_at_FreeBSD.org>
Date: Wed, 17 Mar 2004 23:30:14 +0200
On Wed, Mar 17, 2004 at 12:51:04PM -0800, Marcel Moolenaar wrote:
> On Wed, Mar 17, 2004 at 10:03:07PM +0200, Ruslan Ermilov wrote:
> > > > 
> > > >         for(i = 0; i < SOUND_MIXER_NRDEVICES; i++) {
> > > >                 if ((1 << i) & mask) {
> > > >                         v |= mt[i].iselect;
> > > >                 }
> > > >         }
> > > > 
> > > 
> > Actually, this is easily reproduceable by compiling the corresponding
> > module on pluto1 with CFLAGS="-O2 -pipe" set in environment.  There's
> > clearly a bug in gcc(1), as:
> 
> What happens if you replace the for-loop with an equivalent while-loop?
> 
Doesn't make any difference.  sparc64 and amd64 do not exhibit this problem.
(Yes, I tested this on amd64 as well, skipping the final ld(1) step of the
module's build.)


Cheers,
-- 
Ruslan Ermilov
FreeBSD committer
ru_at_FreeBSD.org

Received on Wed Mar 17 2004 - 12:32:32 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:47 UTC